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