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

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

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

Definition at line 1177 of file Parallel.cs.

1178 {
1179 if (source == null)
1180 {
1181 throw new ArgumentNullException("source");
1182 }
1183 if (body == null)
1184 {
1185 throw new ArgumentNullException("body");
1186 }
1187 if (localInit == null)
1188 {
1189 throw new ArgumentNullException("localInit");
1190 }
1191 if (localFinally == null)
1192 {
1193 throw new ArgumentNullException("localFinally");
1194 }
1195 if (parallelOptions == null)
1196 {
1197 throw new ArgumentNullException("parallelOptions");
1198 }
1199 if (!source.KeysNormalized)
1200 {
1202 }
1203 return PartitionerForEachWorker(source, parallelOptions, null, null, null, null, body, localInit, localFinally);
1204 }
static string Parallel_ForEach_OrderedPartitionerKeysNotNormalized
Definition SR.cs:16
Definition SR.cs:7

References System.SR.Parallel_ForEach_OrderedPartitionerKeysNotNormalized, and System.source.