///<inheritdoc cref="ICommand"/>
        public bool Commit()
        {
            bool beforeCommandResult = _beforeTraverseCommand.Commit();
            bool afterCommandResult  = _afterTraverseCommand.Commit();

            return(beforeCommandResult && afterCommandResult);
        }
Esempio n. 2
0
 ///<inheritdoc cref="IQuestCommand"/>
 public bool Commit()
 {
     return(_ifCommand.Commit() || _elseCommand.Commit());
 }
Esempio n. 3
0
 public bool Commit()
 {
     return(_inner.Commit());
 }
Esempio n. 4
0
 public bool Commit()
 {
     return(_innerCommand.Commit());
 }
Esempio n. 5
0
 ///<inheritdoc cref="ICommand"/>
 public virtual bool Commit()
 {
     return(QuestCommand.Commit());
 }
Esempio n. 6
0
 ///<inheritdoc cref="ICommand"/>
 public bool Commit()
 {
     return(_command.Commit());
 }