Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ForEach< TSource, TLocal >() [2/8]

static ParallelLoopResult System.Threading.Tasks.Parallel.ForEach< TSource, TLocal > ( IEnumerable< TSource > source,
Func< TLocal > localInit,
Func< TSource, ParallelLoopState, TLocal, TLocal > body,
Action< TLocal > localFinally )
inlinestatic

Definition at line 840 of file Parallel.cs.

841 {
842 if (source == null)
843 {
844 throw new ArgumentNullException("source");
845 }
846 if (body == null)
847 {
848 throw new ArgumentNullException("body");
849 }
850 if (localInit == null)
851 {
852 throw new ArgumentNullException("localInit");
853 }
854 if (localFinally == null)
855 {
856 throw new ArgumentNullException("localFinally");
857 }
858 return ForEachWorker(source, s_defaultParallelOptions, null, null, null, body, null, localInit, localFinally);
859 }
static readonly ParallelOptions s_defaultParallelOptions
Definition Parallel.cs:148

References System.Threading.Tasks.Parallel.s_defaultParallelOptions, and System.source.