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

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

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

Definition at line 1152 of file Parallel.cs.

1153 {
1154 if (source == null)
1155 {
1156 throw new ArgumentNullException("source");
1157 }
1158 if (body == null)
1159 {
1160 throw new ArgumentNullException("body");
1161 }
1162 if (localInit == null)
1163 {
1164 throw new ArgumentNullException("localInit");
1165 }
1166 if (localFinally == null)
1167 {
1168 throw new ArgumentNullException("localFinally");
1169 }
1170 if (parallelOptions == null)
1171 {
1172 throw new ArgumentNullException("parallelOptions");
1173 }
1174 return PartitionerForEachWorker(source, parallelOptions, null, null, null, body, null, localInit, localFinally);
1175 }

References System.source.