Пример #1
0
 public void Cancel()
 {
     if (_cancellationTokenSource != null)
     {
         _cancellationTokenSource.Cancel();
     }
 }
Пример #2
0
 public void Cancel()
 {
     _cancellationTokenSource.Cancel();
 }