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