Simple, unambitious mediator implementation in .NET
C# PowerShell
Clone or download
jbogard Merge pull request #292 from jbogard/remove-when-all
Making all enumerable tasks foreach; fixes #288
Latest commit 8907530 Jul 17, 2018


Build Status NuGet NuGet

Simple mediator implementation in .NET

In-process messaging with no dependencies.

Supports request/response, commands, queries, notifications and events, synchronous and async with intelligent dispatching via C# generic variance.

Examples in the wiki.

Installing MediatR

You should install MediatR with NuGet:

Install-Package MediatR

Or via the .NET Core command line interface:

dotnet add package MediatR

Either commands, from Package Manager Console or .NET Core CLI, will download and install MediatR and all required dependencies.