Executes a foreach loop in which iterations
may run in parallel
Declaration Syntax
C# |
public static void ForEach<T>( int threadCount, IEnumerable<T> enumerable, Action<T> body )
Generic Template
Parameters
- T
- Object type that the collection wraps
Parameters
- threadCount ( Int32)
- The number of concurrent execution threads to run
- enumerable ( IEnumerable < (Of < ( <' T > ) > ) > )
- An enumerable collection to iterate over
- body ( Action < (Of < ( <' T > ) > ) > )
- Method body to run for each object in the collection
Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)