private void Changed(object sender, StateChange <StateType> e) { if (RevertOnExit && e.Old != null && !States.Contains(e.Old.Value)) { RevertState = e.Old.Value; } if (ActiveManager != null) { ActiveManager.Check(); } }
private void _OnState(object sender, StateChange <T> e) { _Refresh(); }