public void Leave() { log.DebugFormat("Leaving edit mode state {0}", this.GetType().Name); Cleanup(); this.EditMode = null; }
public void Enter(AlwaysEditMode editMode) { log.DebugFormat("Entering edit mode state {0}", this.GetType().Name); this.EditMode = editMode; Setup(); }