diff Implab/ICancellable.cs @ 138:f75cfa58e3d4 v2

added ICancellable.Cancel(Exception) to allow specify the reason of cancellation
author cin
date Tue, 17 Feb 2015 18:16:26 +0300
parents c761fc982e1d
children 0fa293bb1351
line wrap: on
line diff
--- a/Implab/ICancellable.cs	Mon Feb 16 17:48:39 2015 +0300
+++ b/Implab/ICancellable.cs	Tue Feb 17 18:16:26 2015 +0300
@@ -6,5 +6,6 @@
 namespace Implab {
     public interface ICancellable {
         void Cancel();
+        void Cancel(Exception reason);
     }
 }