public CreateMembershipCustomerRegisteredEventHandler( SimpleEventStoreDbContext eventStoreDbContext, IEventBusService eventBusService) { _eventStoreDbContext = eventStoreDbContext; _eventBusService = eventBusService; }
public CustomerDomainService( ReadModelDbContext readModelDbContext, SimpleEventStoreDbContext eventStoreDbContext, IEventBusService eventBusService) { _readModelDbContext = readModelDbContext; _eventStoreDbContext = eventStoreDbContext; _eventBusService = eventBusService; }
public RewardsEventHandlers( ReadModelDbContext readModelDbContext, SimpleEventStoreDbContext simpleEventStoreDbContext, IEventBusService eventBusService) { _readModelDbContext = readModelDbContext; _simpleEventStoreDbContext = simpleEventStoreDbContext; _eventBusService = eventBusService; }
public GetApplicationEventTypeRequestHandler(SimpleEventStoreDbContext eventStoreDbContext) { _eventStoreDbContext = eventStoreDbContext; _eventTypeMap = new Dictionary <string, List <string> >() { { "customer", new List <string>() { "CustomerRegisteredEvent", "CustomerNameChangedEvent" } }, { "membership", new List <string>() { "MembershipCreatedEvent", "MembershipLevelDowngradedEvent", "MembershipLevelUpgradedEvent", "MembershipPointsEarnedEvent" } } }; }
public SimpleEventStoreDatabaseHealthcheck(SimpleEventStoreDbContext context) { _context = context; }
public MembershipDomainService(IEventBusService eventBusService, SimpleEventStoreDbContext simpleEventStoreDbContext) { _eventBusService = eventBusService; _simpleEventStoreDbContext = simpleEventStoreDbContext; }
public GetAllApplicationEventRequestHandler(SimpleEventStoreDbContext eventStoreDbContext) { _eventStoreDbContext = eventStoreDbContext; }