Hexapp Documentation
Hexapp Documentation
Hexapp API
Reference
MicaSystems.Utils
Utils_Linq Class
Utils_Linq Methods
Add Method
AddConcat Method
AddFormat Method
AddIfNotNull(T) Method
AddRange Method
CastToList Method
Compare(T) Method
Concat Method
Contains Method
Convert Method
CreateList(T) Method
CreateReadOnlyCollection(T) Method
DistinctBy(T, TIdentity) Method
ForEach(T) Method
GetRandomItem(T) Method
GetRange(T) Method
GetString Method
IContains Method
IsEmpty(T) Method
IsGenericList Method
IsNotEmpty(T) Method
IsNullOrEmpty(T) Method
ListToDataTable(T) Method
MaxOrZero Method
Move Method
NotNull(T) Method
Pop(T) Method
PopFirst(T) Method
Remove Method
RemoveRange Method
ToDictionary(K, V) Method
UpdateListFromList(T1, T2) Method
Where(K, V) Method
Utils_Linq
ForEach
T
Method
Performs the specified action on each element of the System.Collections.Generic.IEnumerable/T/.
Namespace:
MicaSystems.Utils
Assembly:
MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
Copy
public
static
void
ForEach
<T>(
this
IEnumerable
<T>
list
,
Action
<T>
action
)
Parameters
list
Type:
System.Collections.Generic
IEnumerable
T
action
Type:
System
Action
T
Type Parameters
T
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
Utils_Linq Class
MicaSystems.Utils Namespace
www.hexapp.com
×
Close feedback form
Send us
comments or requests about documentation