Table of Contents

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

services IServiceProvider

Where 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

services IServiceProvider

Where handlers and behaviours come from.

publisher INotificationPublisher

How the handlers of one notification are run.