From 3392ff1ea8a2ae8070b44496d03ac17ba0bb3871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Tue, 26 Apr 2022 17:47:49 +0300 Subject: [PATCH] Move event handler interfaces to the abstraction package. --- .../Volo/Abp/EventBus/Distributed/IDistributedEventHandler.cs | 0 .../Volo/Abp/EventBus/IEventHandler.cs | 2 +- .../Volo/Abp/EventBus/Local/ILocalEventHandler.cs | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename framework/src/{Volo.Abp.EventBus => Volo.Abp.EventBus.Abstractions}/Volo/Abp/EventBus/Distributed/IDistributedEventHandler.cs (100%) rename framework/src/{Volo.Abp.EventBus => Volo.Abp.EventBus.Abstractions}/Volo/Abp/EventBus/IEventHandler.cs (83%) rename framework/src/{Volo.Abp.EventBus => Volo.Abp.EventBus.Abstractions}/Volo/Abp/EventBus/Local/ILocalEventHandler.cs (81%) diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IDistributedEventHandler.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IDistributedEventHandler.cs similarity index 100% rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IDistributedEventHandler.cs rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IDistributedEventHandler.cs diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventHandler.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventHandler.cs similarity index 83% rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventHandler.cs rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventHandler.cs index bbb35b8124..e313545b81 100644 --- a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventHandler.cs +++ b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventHandler.cs @@ -3,7 +3,7 @@ using Volo.Abp.EventBus.Distributed; namespace Volo.Abp.EventBus; /// -/// Undirect base interface for all event handlers. +/// Indirect base interface for all event handlers. /// Implement or instead of this one. /// public interface IEventHandler diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Local/ILocalEventHandler.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Local/ILocalEventHandler.cs similarity index 81% rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Local/ILocalEventHandler.cs rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Local/ILocalEventHandler.cs index 94ebb31188..76f2053411 100644 --- a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Local/ILocalEventHandler.cs +++ b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Local/ILocalEventHandler.cs @@ -1,8 +1,8 @@ using System.Threading.Tasks; +// ReSharper disable once CheckNamespace (Keeping for backward compability) namespace Volo.Abp.EventBus; -//TODO: Move to the right namespace in v3.0 public interface ILocalEventHandler : IEventHandler { ///