Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #120 from christianfosli/docs-lifetimes
Browse files Browse the repository at this point in the history
docs: Update README with lifetimes of IPublisher and ISender
  • Loading branch information
jbogard authored Mar 30, 2022
2 parents f474a4a + fe05ad7 commit 62f3ba0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ services.AddMediatR(typeof(Startup).GetTypeInfo().Assembly);
This registers:

- `IMediator` as transient
- `ISender` as transient
- `IPublisher` as transient
- `IRequestHandler<>` concrete implementations as transient
- `INotificationHandler<>` concrete implementations as transient
- `IStreamRequestHandler<>` concrete implementations as transient
Expand Down

0 comments on commit 62f3ba0

Please sign in to comment.