Skip to content

Commit b1de915

Browse files
committed
update README.md
1 parent 507bd1b commit b1de915

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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)
@@ -33,6 +33,15 @@
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>();
369378
2. Manual registration allows for custom pipeline or notification ordering
370379
3. 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.

0 commit comments

Comments
 (0)