/// <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());
        }
Beispiel #2
0
 /// <summary>
 /// Cancel request button command.
 /// </summary>
 private void CancelRequest()
 {
     CancellationTokenSource?.Cancel();
     EventsReporterWrapper.ReportEvent(LogsViewerCancelRequestEvent.Create());
 }