public ThenSequentialExecution(SequentialExecutionContext sequentialExecutionContext)
        {
            _sequentialExecutionContext = sequentialExecutionContext;
            _sequentialExecutionContext.ExecutionCompleted += delegate
            {
                if (ExecutionCompleted != null)
                {
                    ExecutionCompleted();
                }
            };



            ThenExecute = new ExecutionType(_sequentialExecutionContext);
        }
Пример #2
0
 public SequentialExecution(IExecutionContext executionContext)
 {
     _sequentialExecutionContext = new SequentialExecutionContext(executionContext);
 }