/// <summary> /// Cancel request button command. /// </summary> private void CancelRequest() { Debug.WriteLine("Cancel command is called"); RequestStatusText = Resources.LogViewerRequestCancellingMessage; ShowCancelRequestButton = false; _cancellationTokenSource?.Cancel(); EventsReporterWrapper.ReportEvent(LogsViewerCancelRequestEvent.Create()); }
/// <summary> /// Cancel request button command. /// </summary> private void CancelRequest() { CancellationTokenSource?.Cancel(); EventsReporterWrapper.ReportEvent(LogsViewerCancelRequestEvent.Create()); }