Catel.MVVM.ViewModelBase.OnClosingAsync C# (CSharp) Method

OnClosingAsync() protected method

Called when the view model is about to be closed. This method also raises the Closing event.
protected OnClosingAsync ( ) : Task
return Task
        protected virtual Task OnClosingAsync()
        {
            Closing.SafeInvoke(this);
            return ClosingAsync.SafeInvokeAsync(this);
        }