Ejemplo n.º 1
0
 public void Abort()
 {
     if (ExecutingPipeline != null)
     {
         ExecutingPipeline.StopAsync();
     }
     ComplexCommand.Clear();
 }
Ejemplo n.º 2
0
 public void Abort()
 {
     ExecutingPipeline?.StopAsync();
     ComplexCommand.Clear();
     try
     {
         _tokenSource?.Cancel();
     }
     catch (ObjectDisposedException)
     {
         // ObjectDisposedException is expected here, since at clear console command, tokenSource
         // would have already been disposed.
     }
 }
Ejemplo n.º 3
0
 public void Abort()
 {
     ExecutingPipeline?.StopAsync();
     ComplexCommand.Clear();
 }