- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
M_CodeJam_Threading_ParallelExtensions_RunInParallel_1
        Andrew Koryavchenko edited this page Jun 17, 2018 
        ·
        7 revisions
      
    Runs in parallel provided source of actions.
Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static void RunInParallel(
	this IEnumerable<Action> source,
	string processName = "ParallelProcess"
)VB
<ExtensionAttribute>
Public Shared Sub RunInParallel ( 
	source As IEnumerable(Of Action),
	Optional processName As String = "ParallelProcess"
)F#
[<ExtensionAttribute>]
static member RunInParallel : 
        source : IEnumerable<Action> * 
        ?processName : string 
(* Defaults:
        let _processName = defaultArg processName "ParallelProcess"
*)
-> unit 
- source
- Type: System.Collections.Generic.IEnumerable(Action)
 Actions to run.
- processName (Optional)
- Type: System.String
 Process name pattern.
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable(Action). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
ParallelExtensions Class
RunInParallel Overload
CodeJam.Threading Namespace