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

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

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

Definition at line 907 of file Parallel.cs.

908 {
909 if (source == null)
910 {
911 throw new ArgumentNullException("source");
912 }
913 if (body == null)
914 {
915 throw new ArgumentNullException("body");
916 }
917 if (localInit == null)
918 {
919 throw new ArgumentNullException("localInit");
920 }
921 if (localFinally == null)
922 {
923 throw new ArgumentNullException("localFinally");
924 }
925 if (parallelOptions == null)
926 {
927 throw new ArgumentNullException("parallelOptions");
928 }
929 return ForEachWorker(source, parallelOptions, null, null, null, null, body, localInit, localFinally);
930 }

References System.source.