Constructor Mediator
- Namespace
- Mediarion
- Assembly
- Mediarion.dll
Mediator(IServiceProvider)
Creates a mediator that resolves its handlers from the given provider.
public Mediator(IServiceProvider services)
Parameters
servicesIServiceProviderWhere handlers and behaviours come from.
Mediator(IServiceProvider, INotificationPublisher)
Creates a mediator with a publishing strategy of its own.
public Mediator(IServiceProvider services, INotificationPublisher publisher)
Parameters
servicesIServiceProviderWhere handlers and behaviours come from.
publisherINotificationPublisherHow the handlers of one notification are run.