Applies an action to each item of the given enumeration.

Namespace: Keystone.Polaris
Assembly: Keystone (in Keystone.dll)

public static void ForEach<TItem>( 
this IEnumerable<TItem> itemIn
Action<TItem> @do 
)
This language is not supported or no code example is available.

Type Parameters

TItem

The type of the enumeration items.

Parameters

itemIn

Type: IEnumerable<TItem>

The enumeration to be processed.

@do

Type: Action<TItem>

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono