Exemple #1
0
 public IPromise CancellationRequested(CancellationRequestedPromiseHandler handler)
 {
     _cancellationRequestedHandlers.Add(handler);
     return(this);
 }
Exemple #2
0
 public IPromise <TResult> CancellationRequested(CancellationRequestedPromiseHandler <TResult> handler)
 {
     _cancellationRequestedHandlers.Add(handler);
     return(this);
 }