Repository navigation
Commit 59e2cd7
committed
Refactor EasyMediator with DI and full feature support
Enhanced the `EasyMediator` class with the following updates:
- Added dependency injection support via `IServiceProvider`.
- Implemented `CreateStream`, `Publish`, and `Send` methods.
- Introduced pre- and post-processing for requests.
- Added exception handling with support for handlers and actions.
- Created utility methods for async enumerable adaptation and task results.
- Replaced `NotImplementedException` stubs with full implementations.
- Improved XML documentation for better clarity and usage guidance.
- Enhanced reflection usage for dynamic handler resolution.1 parent 96a815a commit 59e2cd7
1 file changed
Lines changed: 406 additions & 13 deletions
0 commit comments