ExtensionMethods.Foreach<T> Method

Scanjour Workflow4 Reference Manual

[Missing <summary> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.Foreach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})"]

Namespace:  WorkZone.Dispatcher.Base.Messages
Assembly:  WorkZone.Dispatcher.Base_23.1.0.0 (in WorkZone.Dispatcher.Base_23.1.0.0.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public static void Foreach<T>(
	this IEnumerable<T> enumerable,
	Action<T> action
)

Parameters

enumerable
Type: System.Collections.Generic.IEnumerable<T>

[Missing <param name="enumerable"/> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.Foreach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})"]

action
Type: System.Action<T>

[Missing <param name="action"/> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.Foreach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.Foreach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<T>. 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