From 418ace5e119eb5ef453008d3e36742db0e3c8795 Mon Sep 17 00:00:00 2001 From: maliming Date: Thu, 2 Apr 2026 15:53:37 +0800 Subject: [PATCH] docs: add missing eventBus resolution in mixed handlers snippet --- .../Community-Articles/2026-03-23-Dynamic-Events-in-ABP/POST.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/Community-Articles/2026-03-23-Dynamic-Events-in-ABP/POST.md b/docs/en/Community-Articles/2026-03-23-Dynamic-Events-in-ABP/POST.md index 631dff6b7f..b69d14e1a8 100644 --- a/docs/en/Community-Articles/2026-03-23-Dynamic-Events-in-ABP/POST.md +++ b/docs/en/Community-Articles/2026-03-23-Dynamic-Events-in-ABP/POST.md @@ -127,6 +127,7 @@ public class PartnerOrderHandler : IDistributedEventHandler Typed and dynamic handlers coexist naturally. When both are registered for the same event name, **both are triggered** — the framework automatically converts the data to the appropriate format for each handler. ```csharp +var eventBus = context.ServiceProvider.GetRequiredService(); var scopeFactory = context.ServiceProvider.GetRequiredService(); // Typed handler — receives OrderPlacedEto