Project Name File Name Usage Source Code Link
DynamicScript ScriptActionBase.cs Parallel.For(0, Math.Min(Parameters.Count, Arguments.Count), Analyze) Link To Source File
DynamicScript ParallelEqualityComparer.cs Parallel.For(0, List1.Count, AreEqual) Link To Source File
DynamicScript ParallelEqualityComparer.cs Parallel.For(0, Math.Min(List1.Count, List2.Count), AreEqual) Link To Source File
snippets DataParallelism.cs // Store all values below a specified threshold. Parallel.For(0, source.Length, (i, loopState) => { double d = Math.Sqrt(source[i]); results.Push(d); if (d > 4) { // Might be called more than once! loopState.Break(); Console.WriteLine("Break called at iteration {0}. d = {1} ", i, d); //Thread.Sleep(1000); } }) Link To Source File