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 ForEach<T>( Windows.Foundation.Collections.IIterable //In WinRT the IEnumerableinterface is replaced by IIterable <T> source, Action<T> action )
ExtensionAttribute() function Leadtools.Dicom.AddIn.Extensions.ForEach( source , action )
[ExtensionAttribute()] public: static void ForEachgeneric<typename T> ( IEnumerable<T^>^ source, Action<T^>^ action )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2