Example #1
0
 internal void Start(CommandChainExecutor executor)
 {
     this.executor = executor;
     Execute();
     if (autoSucceed)
     {
         Done();
     }
 }
Example #2
0
        public ICommandChainExecutor CommandChain()
        {
            var result = new CommandChainExecutor(this._context, _serviceScope, this);

            _executors.Push(result);
            return(result);

            //using (CommandChainExecutor result = new CommandChainExecutor(this._context, _services))
            //{
            //	return result;
            //}
        }
Example #3
0
 virtual public void Reset()
 {
     executor    = null;
     autoSucceed = true;
 }