From fc70729d5423e887c2fd43372ffd7d4f2a7851f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Wed, 15 Sep 2021 13:12:57 +0300 Subject: [PATCH] Rename local variable: rawPublisher to supportsEventBoxes. --- .../Abp/EventBus/Boxes/AbpDistributedEventBusExtensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/src/Volo.Abp.EventBus.Boxes/Volo/Abp/EventBus/Boxes/AbpDistributedEventBusExtensions.cs b/framework/src/Volo.Abp.EventBus.Boxes/Volo/Abp/EventBus/Boxes/AbpDistributedEventBusExtensions.cs index ed652f677f..a943f6faa7 100644 --- a/framework/src/Volo.Abp.EventBus.Boxes/Volo/Abp/EventBus/Boxes/AbpDistributedEventBusExtensions.cs +++ b/framework/src/Volo.Abp.EventBus.Boxes/Volo/Abp/EventBus/Boxes/AbpDistributedEventBusExtensions.cs @@ -6,13 +6,13 @@ namespace Volo.Abp.EventBus.Boxes { public static ISupportsEventBoxes AsSupportsEventBoxes(this IDistributedEventBus eventBus) { - var rawPublisher = eventBus as ISupportsEventBoxes; - if (rawPublisher == null) + var supportsEventBoxes = eventBus as ISupportsEventBoxes; + if (supportsEventBoxes == null) { throw new AbpException($"Given type ({eventBus.GetType().AssemblyQualifiedName}) should implement {nameof(ISupportsEventBoxes)}!"); } - return rawPublisher; + return supportsEventBoxes; } } } \ No newline at end of file