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

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

            ThenExecute = new ExecutionType(_executionContext);
        }
Esempio n. 3
0
 public ParallelExecution(IExecutionContext executionContext)
 {
     _executionContext = new ParallelExecutionContext(executionContext);
 }