LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly)

ForEach<T> Method

Show in webframe





The IEnumerable object to iterate over.
The source enumeration
The action to perform.
Extension method provides a foreach like wrapper for IEnumerable.
Syntax
[ExtensionAttribute()]
public static void ForEach<T>( 
   IEnumerable<T> source,
   Action<T> action
)
'Declaration
 
<ExtensionAttribute()>
Public Shared Sub ForEach(Of T)( _
   ByVal source As IEnumerable(Of T), _
   ByVal action As Action(Of T) _
) 
'Usage
 
Dim source As IEnumerable(Of T)
Dim action As Action(Of T)
 
Extensions.ForEach(Of T)(source, action)

            

            
[ExtensionAttribute()]
public:
static void ForEachgeneric<typename T>
( 
   IEnumerable<T^>^ source,
   Action<T^>^ action
) 

Parameters

source
The source enumeration
action
The action to perform.

Type Parameters

T
The IEnumerable object to iterate over.
Requirements

Target Platforms

See Also

Reference

Extensions Class
Extensions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features