Пример #1
0
 public void Inform(Exception error, ISupervised supervised)
 {
     InformedCount.IncrementAndGet();
     for (var idx = 1; idx <= times; ++idx)
     {
         failureControl.AfterFailureCount(idx);
     }
     supervised.Resume();
     UntilInformed.Happened();
 }
 public void Inform(Exception error, ISupervised supervised)
 {
     InformedCount.IncrementAndGet();
     supervised.Stop(SupervisionStrategy.Scope);
 }