Ejemplo n.º 1
0
        private void ONVMStateChanged(VMBase closedVM, EVMState curState)
        {
            if (!curState.Equals(EVMState.Deactive))
            {
                return;
            }

            StartCloseVM(null);
        }
 private void OnVMStateChanged(EVMState state)
 {
     if (state.Equals(EVMState.Active))
     {
         OnIntroTriggered?.Invoke();
     }
     else
     {
         OnOutroTriggered?.Invoke();
     }
 }