Пример #1
0
 public void Init(
     IMessageBroker messageBroker,
     IAsyncMessageBroker asyncMessageBroker
     )
 {
     _messageBroker      = messageBroker;
     _asyncMessageBroker = asyncMessageBroker;
 }
Пример #2
0
 public AsyncSignalSubscription(IAsyncMessageBroker messageBroker, Func <TSignal, IObservable <Unit> > doOnSignal)
 {
     _asyncMessageBroker = messageBroker;
     _doOnSignalObservableFactoryMethod = doOnSignal;
 }