示例#1
0
 public static Recorded <INotification <T> > OnError <T>(long ticks, Exception error)
 {
     return(new Recorded <INotification <T> >(ticks, ObserverNotification.CreateOnError <T>(error)));
 }
示例#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)));
 }
示例#3
0
 public void OnError(Exception error)
 {
     _messageRouter.Publish(_topic, ObserverNotification.CreateOnError <byte[]>(error));
 }