You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ services.AddMediator();
33
33
34
34
## 🧩 Simple Handler Example
35
35
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.
0 commit comments