public DomainEventsInMemoryMediator( IServiceProvider serviceProvider, IDomainEventSubscriptionsManager domainEventSubscriptionsManager) { _serviceProvider = serviceProvider; _domainEventSubscriptionsManager = domainEventSubscriptionsManager; }
public DomainEventsHangfireMediator( IServiceProvider serviceProvider, IBackgroundJobClient backgroundJobClient, IDomainEventSubscriptionsManager domainEventSubscriptionsManager, ServerSettings serverSettings) : base(serviceProvider, domainEventSubscriptionsManager) { _backgroundJobClient = backgroundJobClient; _serverSettings = serverSettings; }