Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Looping
asyncDo Class
asyncDo Methods
AsyncDo Method
AsyncDo(T) Method (IEnumerable(T), Action(T))
AsyncDo(T) Method (IEnumerable(T), Action(T, Int64))
AsyncDo(T) Method (IEnumerable(T), Action(T, ParallelLoopState))
AsyncDo(T) Method (IEnumerable(T), Action(T, ParallelLoopState, Int64))
AsyncDo(T) Method (IList(T), Action(T))
AsyncDo(T) Method (IList(T), Action(T, Int64))
AsyncDo(T) Method (IList(T), Action(T, ParallelLoopState))
AsyncDo(T) Method (IList(T), Action(T, ParallelLoopState, Int64))
AsyncDo(T) Method (IEnumerable(T), Action(T), Int32)
AsyncDo(T) Method (IEnumerable(T), Action(T), ParallelOptions)
AsyncDo(T) Method (IEnumerable(T), Action(T, Int64), Int32)
AsyncDo(T) Method (IEnumerable(T), Action(T, Int64), ParallelOptions)
AsyncDo(T) Method (IEnumerable(T), Action(T, ParallelLoopState), Int32)
AsyncDo(T) Method (IEnumerable(T), Action(T, ParallelLoopState), ParallelOptions)
AsyncDo(T) Method (IEnumerable(T), Action(T, ParallelLoopState, Int64), Int32)
AsyncDo(T) Method (IEnumerable(T), Action(T, ParallelLoopState, Int64), ParallelOptions)
AsyncDo(T) Method (IList(T), Action(T), Int32)
AsyncDo(T) Method (IList(T), Action(T), ParallelOptions)
AsyncDo(T) Method (IList(T), Action(T, Int64), Int32)
AsyncDo(T) Method (IList(T), Action(T, Int64), ParallelOptions)
AsyncDo(T) Method (IList(T), Action(T, ParallelLoopState), Int32)
AsyncDo(T) Method (IList(T), Action(T, ParallelLoopState), ParallelOptions)
AsyncDo(T) Method (IList(T), Action(T, ParallelLoopState, Int64), Int32)
AsyncDo(T) Method (IList(T), Action(T, ParallelLoopState, Int64), ParallelOptions)
asyncDo
AsyncDo
T
Method (IEnumerable
T
, Action
T
)
Enumerates and applies
action
on an
IEnumerable
T
in parallel.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
ParallelLoopResult
AsyncDo
<T>(
this
IEnumerable
<T>
this
,
Action
<T>
action
)
Parameters
this
Type:
System.Collections.Generic
IEnumerable
T
The
IEnumerable
T
to enumerate.
action
Type:
System
Action
T
The action to apply to each element of
this
Type Parameters
T
The type of the
IEnumerable
T
.
Return Value
Type:
ParallelLoopResult
The result of the parallel loop
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)
.
Remarks
This simply decorates
ForEach
TSource
(IEnumerable
TSource
, Action
TSource, ParallelLoopState, Int64
)
.
See Also
Reference
asyncDo Class
AsyncDo Overload
WhetStone.Looping Namespace
Parallel
ForEach
TSource
(IEnumerable
TSource
, Action
TSource, ParallelLoopState, Int64
)