コード例 #1
0
 public DomainEventsInMemoryMediator(
     IServiceProvider serviceProvider,
     IDomainEventSubscriptionsManager domainEventSubscriptionsManager)
 {
     _serviceProvider = serviceProvider;
     _domainEventSubscriptionsManager = domainEventSubscriptionsManager;
 }
コード例 #2
0
 public DomainEventsHangfireMediator(
     IServiceProvider serviceProvider,
     IBackgroundJobClient backgroundJobClient,
     IDomainEventSubscriptionsManager domainEventSubscriptionsManager,
     ServerSettings serverSettings)
     : base(serviceProvider, domainEventSubscriptionsManager)
 {
     _backgroundJobClient = backgroundJobClient;
     _serverSettings      = serverSettings;
 }