File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # DispatchR 🚀
1+ # < img src = " ./icon-mini.png " width = " 25 " >ispatchR 🚀
22
33![ CI] ( https://github.com/hasanxdev/DispatchR/workflows/Release/badge.svg )
44[ ![ codecov] ( https://codecov.io/github/hasanxdev/dispatchr/graph/badge.svg?token=1FUG5DPUOE )] ( https://codecov.io/github/hasanxdev/dispatchr )
3333 2 . ` INotificationHandler<TRequestEvent> `
3434> :bulb : ** Tip:** * If you're looking for a mediator with the raw performance of hand-written code, DispatchR is built for you.*
3535
36+ ## ✨ How to install?
37+ ```
38+ dotnet add package DispatchR.Mediator
39+ ```
40+ You can also separately add only the abstractions, which include the interfaces, in another layer:
41+ ```
42+ dotnet add package DispatchR.Mediator.Abstractions
43+ ```
44+
3645# Syntax Comparison: DispatchR vs MediatR
3746
3847###### In the following, you will see the key differences and implementation details between MediatR and DispatchR.
@@ -369,11 +378,6 @@ builder.Services.AddScoped<INotificationHandler<Event>, EventHandler>();
3693782 . Manual registration allows for custom pipeline or notification ordering
3703793 . You can implement custom reflection if needed
371380
372- ## ✨ How to install?
373- ```
374- dotnet add package DispatchR.Mediator
375- ```
376-
377381# 🧪 Bechmark Result:
378382> [ !IMPORTANT]
379383> This benchmark was conducted using MediatR version 12.5.0 and the stable release of Mediator Source Generator, version 2.1.7.
You can’t perform that action at this time.
0 commit comments