Leadtools.Dicom.AddIn Namespace > Extensions Class : ForEach<T> Method |
[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 )