public void Dispose() { if (_disposed) { return; } _disposed = true; ControllerSupport.UnsubscribeCustomInputs(ProcessEvents); ViewModel.Dispose(); }
public void Dispose() { if (_disposed) { return; } _disposed = true; ControllerSupport.UnsubscribeCustomInputs(OnProcessCustomInputs); ViewModel?.Dispose(); GC.SuppressFinalize(this); }
public void Dispose() { _owner !.KeyDown -= TrySwitchPage; ControllerSupport.UnsubscribeCustomInputs(ProcessCustomInputs); GC.SuppressFinalize(this); }