Simple, unambitious mediator implementation in .NET
C# PowerShell
Clone or download
jbogard Merge pull request #300 from bartosz6/master
Weakly typed publish overload
Latest commit ff4f387 Aug 7, 2018

README.md

MediatR

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.