Skip to content

Commit a403939

Browse files
committed
Another tweak
1 parent 39fae93 commit a403939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ services.AddMediator();
3333

3434
## 🧩 Simple Handler Example
3535

36-
Just add a class ending with `Handler` or `Consumer`. Methods must be named `Handle(Async)` or `Consume(Async)`. Classes and methods can be static if they are stateless. Supports multiple handler methods in a single class—for example, a `UserHandler` containing Create, Read, Update, Delete methods.
36+
Just add a class ending with `Handler` or `Consumer` static or instance. Methods must be named `Handle(Async)` or `Consume(Async)`. Supports multiple handler methods in a single class—for example, a `UserHandler` containing all CRUD methods.
3737

3838
```csharp
3939
public record Ping(string Text);

0 commit comments

Comments
 (0)