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

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

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