Simple mediator implementation in .NET
In-process messaging built on top of Common Service Locator.
Supports request/response, commands, queries, notifications and events, synchronous and async with intelligent dispatching via C# generic variance.
Examples in the wiki.
You should install MediatR with NuGet:
Install-Package MediatR
This command from Package Manager Console will download and install MediatR and all required dependencies.