internal void Start(CommandChainExecutor executor) { this.executor = executor; Execute(); if (autoSucceed) { Done(); } }
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; //} }
virtual public void Reset() { executor = null; autoSucceed = true; }