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

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

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

Definition at line 861 of file Parallel.cs.

862 {
863 if (source == null)
864 {
865 throw new ArgumentNullException("source");
866 }
867 if (body == null)
868 {
869 throw new ArgumentNullException("body");
870 }
871 if (localInit == null)
872 {
873 throw new ArgumentNullException("localInit");
874 }
875 if (localFinally == null)
876 {
877 throw new ArgumentNullException("localFinally");
878 }
879 if (parallelOptions == null)
880 {
881 throw new ArgumentNullException("parallelOptions");
882 }
883 return ForEachWorker(source, parallelOptions, null, null, null, body, null, localInit, localFinally);
884 }

References System.source.