/// <summary> /// Executes the actions in the rollback stack and does the same for the progenitor state /// </summary> public void Rollback() { foreach (Action rbAction in RollbackActions) { rbAction(); } if (Progenitor != null) { Progenitor.Rollback(); } }
internal void Rollback() { _currentState.Rollback(); }