EnumerableFnsForEachT Method (IEnumerableT, ActionT, Int32) Breeze.sharp
Enumerate an indexed collection in cache performing the specified action on each item.

Namespace: Breeze.Sharp.Core
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public static void ForEach<T>(
	this IEnumerable<T> items,
	Action<T, int> action
)

Parameters

items
Type: System.Collections.GenericIEnumerableT
action
Type: SystemActionT, Int32
Delegate taking a T and an index value

Type Parameters

T

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

Reference