Esempio n. 1
0
 public static Recorded <INotification <T> > OnError <T>(long ticks, Exception error)
 {
     return(new Recorded <INotification <T> >(ticks, ObserverNotification.CreateOnError <T>(error)));
 }
Esempio n. 2
0
 public static Recorded <INotification <T> > OnError <T>(long ticks, Func <Exception, bool> predicate)
 {
     return(new Recorded <INotification <T> >(ticks, ObserverNotification.CreateOnError <T>(predicate)));
 }
Esempio n. 3
0
 public void OnError(Exception error)
 {
     _messageRouter.Publish(_topic, ObserverNotification.CreateOnError <byte[]>(error));
 }