예제 #1
0
 public MessagingEventStoreDecorator(IEventStore innerEventStore, IMessageBusPublisher messageBusPublisher, MessagingTopicResolver messagingTopicResolver)
 {
     _innerEventStore        = innerEventStore;
     _messageBusPublisher    = messageBusPublisher;
     _messagingTopicResolver = messagingTopicResolver;
 }
예제 #2
0
 public MessagingEventStoreSubscriber(IMessageBusSubscriber <IEvent> messageBusSubscriber, MessagingTopicResolver messagingTopicResolver, MessagingSubscriberOptions subscriberOptions)
 {
     _messageBusSubscriber   = messageBusSubscriber;
     _messagingTopicResolver = messagingTopicResolver;
     _subscriberOptions      = subscriberOptions;
 }