ExtensionMethodsForeachT 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.2.0.0 (in WorkZone.Dispatcher.Base_23.2.0.0.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax

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

Parameters

enumerable
Type: System.Collections.GenericIEnumerableT

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

action
Type: SystemActionT

[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 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