public AndParallelExecution(ParallelExecutionContext executionContext)
        {
            _executionContext = executionContext;
            _executionContext.ExecutionCompleted += delegate
                {
                    if (ExecutionCompleted != null)
                        ExecutionCompleted();
                };

            ThenExecute = new ExecutionType(_executionContext);
        }
Beispiel #2
0
        public AndParallelExecution(ParallelExecutionContext executionContext)
        {
            _executionContext = executionContext;
            _executionContext.ExecutionCompleted += delegate
            {
                if (ExecutionCompleted != null)
                {
                    ExecutionCompleted();
                }
            };

            ThenExecute = new ExecutionType(_executionContext);
        }
Beispiel #3
0
 public ParallelExecution(IExecutionContext executionContext)
 {
     _executionContext = new ParallelExecutionContext(executionContext);
 }