Datapoint.Mediator.DependencyInjection
4.0.0-beta.6
dotnet add package Datapoint.Mediator.DependencyInjection --version 4.0.0-beta.6
NuGet\Install-Package Datapoint.Mediator.DependencyInjection -Version 4.0.0-beta.6
<PackageReference Include="Datapoint.Mediator.DependencyInjection" Version="4.0.0-beta.6" />
<PackageVersion Include="Datapoint.Mediator.DependencyInjection" Version="4.0.0-beta.6" />
<PackageReference Include="Datapoint.Mediator.DependencyInjection" />
paket add Datapoint.Mediator.DependencyInjection --version 4.0.0-beta.6
#r "nuget: Datapoint.Mediator.DependencyInjection, 4.0.0-beta.6"
#:package Datapoint.Mediator.DependencyInjection@4.0.0-beta.6
#addin nuget:?package=Datapoint.Mediator.DependencyInjection&version=4.0.0-beta.6&prerelease
#tool nuget:?package=Datapoint.Mediator.DependencyInjection&version=4.0.0-beta.6&prerelease
Datapoint.Mediator.DependencyInjection
Registers Datapoint.Mediator, your handlers and behaviours with Microsoft.Extensions.DependencyInjection.
services.AddMediator(o => o
.AddHandlersFromAssemblyContaining<CreateInvoiceHandler>()
.AddBehavior<LoggingBehavior>());
IMediator, handlers and behaviours are scoped by default. A second handler for the same command or query, or an invalid action name, throws when AddMediator runs.
Documentation: Dependency injection · Manual
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Datapoint.Mediator (>= 4.0.0-beta.6)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Datapoint.Mediator.DependencyInjection:
| Package | Downloads |
|---|---|
|
Datapoint.Mediator.FluentValidation.DependencyInjection
Registers the Datapoint.Mediator FluentValidation behaviour with AddValidationBehavior(). |
|
|
Datapoint.Mediator.EntityFrameworkCore.DependencyInjection
Registers the Datapoint.Mediator Entity Framework Core transaction behaviour with AddTransactionBehavior<TDbContext>(). |
|
|
Datapoint.Mediator.Authorization.DependencyInjection
Registers the Datapoint.Mediator authorization behaviour and authorizers with Microsoft.Extensions.DependencyInjection. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.0-beta.6 | 0 | 11/3/2026 |
| 4.0.0-beta.5 | 0 | 11/3/2026 |
| 4.0.0-beta.4 | 5 | 11/3/2026 |
| 4.0.0-beta.3 | 142 | 11/2/2026 |
| 4.0.0-beta.2 | 68 | 11/1/2026 |
| 4.0.0-beta.1 | 54 | 11/1/2026 |
| 4.0.0-alpha.1 | 61 | 10/31/2026 |