public void CancelOperation() { Debug.WriteLine("The user cancelled the operation."); ViewModel.RefreshCode = null; Close(); }
private void OnCloseCommand() { ExtensionAnalytics.ReportCommand(CommandName.OAuthFlowCancel, CommandInvocationSource.Button); _owner.CancelOperation(); }