Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AngrySKL committed Jun 2, 2024
2 parents 4d76bd2 + 090ca02 commit aaa0af8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ A lightweight in-process messenger.
## Add ReactiveMessenger into DI container
`services.AddReactiveMessenger()`

## Use ReactiveMessenger will load all denoted message into reactive messenger
## UseReactiveMessenger will load all denoted message into reactive messenger
`app.UseReactiveMesenger()`


### Or you can register by your own
`messenger.RegisterSyncMessage<FakeSyncMessage>()`

## Inject `IMessenger` anywhere you want and then

### Send
`messenger.SendSyncMessage<FakeSyncMessage>(new())`

Expand Down

0 comments on commit aaa0af8

Please sign in to comment.