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)); }
public static ParallelLoopResult For(int from, int to, ParallelOptions options, Action <int> action) { return(For(from, to, options, (index, state) => action(index))); }