Skip to content

EwoutdBoer/MediatR.Extensions.Microsoft.DependencyInjection

 
 

Repository files navigation

MediatR extensions for Microsoft.Extensions.DependencyInjection

Scans assemblies and adds handlers implementations to the container. To use, with an IServiceCollection instance:

services.AddMediatR(typeof(MyHander));

or with an assembly:

services.AddMediatR(typeof(Startup).GetTypeInfo().Assembly);

Supports generic variance of handlers.

About

MediatR extensions for Microsoft.Extensions.DependencyInjection

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 92.9%
  • PowerShell 7.1%