public AndParallelExecution(ParallelExecutionContext executionContext) { _executionContext = executionContext; _executionContext.ExecutionCompleted += delegate { if (ExecutionCompleted != null) ExecutionCompleted(); }; ThenExecute = new ExecutionType(_executionContext); }
public AndParallelExecution(ParallelExecutionContext executionContext) { _executionContext = executionContext; _executionContext.ExecutionCompleted += delegate { if (ExecutionCompleted != null) { ExecutionCompleted(); } }; ThenExecute = new ExecutionType(_executionContext); }
public ParallelExecution(IExecutionContext executionContext) { _executionContext = new ParallelExecutionContext(executionContext); }