Exemplo n.º 1
0
    protected virtual void OnDestroy()
    {
        ScreenDestroyed?.Invoke(this);

        OpeningTransitionFinished = null;
        ClosingTransitionFinished = null;
        CloseRequest    = null;
        ScreenDestroyed = null;
        RemoveListeners();
    }
Exemplo n.º 2
0
 internal void NotifyScreenDestroyed()
 {
     OnDestroyScreen();
     ScreenDestroyed?.Invoke(this, EventArgs.Empty);
 }