Click or drag to resize
Akka.NETExtensionsForEachT Method
Applies a delegate action to all elements of this enumerable.

Namespace:  Akka.Util.Internal
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static void ForEach<T>(
	this IEnumerable<T> source,
	Action<T> action
)

Parameters

source
Type: System.Collections.GenericIEnumerableT
An IEnumerableT to iterate.
action
Type: SystemActionT
The function that is applied for its side-effect to every element. The result of function action is discarded.

Type Parameters

T
The type of the elements of source.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also