示例#1
0
 public void Initialize()
 {
     _internalSubscription = _asyncMessageBroker.Subscribe <TSignal>(_doOnSignalObservableFactoryMethod);
 }
 public IDisposable Subscribe <TSignal>(Func <TSignal, IObservable <Unit> > asyncMessageReceiver)
     where TSignal : IAsyncSignal
 {
     return(_asyncMessageBroker.Subscribe(asyncMessageReceiver));
 }