Exemple #1
0
 public static ParallelLoopResult For(int from, int to, ParallelOptions options, Action <int, ParallelLoopState> action)
 {
     return(For <object> (from, to, options, null, (i, s, l) => { action(i, s); return null; }, null));
 }
Exemple #2
0
 public static ParallelLoopResult For(int from, int to, ParallelOptions options, Action <int> action)
 {
     return(For(from, to, options, (index, state) => action(index)));
 }