diff --git a/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IAsyncEventHandlerOfTEventData.cs b/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IAsyncEventHandler.cs
similarity index 100%
rename from src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IAsyncEventHandlerOfTEventData.cs
rename to src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IAsyncEventHandler.cs
diff --git a/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IEventHandler.cs b/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IEventHandler.cs
index 2e38fc7ac3..dcd3f17224 100644
--- a/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IEventHandler.cs
+++ b/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IEventHandler.cs
@@ -8,4 +8,17 @@ namespace Volo.Abp.EventBus.Handlers
{
}
+
+ ///
+ /// Defines an interface of a class that handles events of type .
+ ///
+ /// Event type to handle
+ public interface IEventHandler : IEventHandler
+ {
+ ///
+ /// Handler handles the event by implementing this method.
+ ///
+ /// Event data
+ void HandleEvent(TEventData eventData);
+ }
}
\ No newline at end of file
diff --git a/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IEventHandlerOfTEventData.cs b/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IEventHandlerOfTEventData.cs
deleted file mode 100644
index 38ec4eff7a..0000000000
--- a/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/IEventHandlerOfTEventData.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-namespace Volo.Abp.EventBus.Handlers
-{
- ///
- /// Defines an interface of a class that handles events of type .
- ///
- /// Event type to handle
- public interface IEventHandler : IEventHandler
- {
- ///
- /// Handler handles the event by implementing this method.
- ///
- /// Event data
- void HandleEvent(TEventData eventData);
- }
-}
diff --git a/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/Internals/AsyncActionEventHandler.cs b/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/Internals/AsyncActionEventHandler.cs
index 9183c41a05..912748e4ae 100644
--- a/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/Internals/AsyncActionEventHandler.cs
+++ b/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Handlers/Internals/AsyncActionEventHandler.cs
@@ -15,7 +15,7 @@ namespace Volo.Abp.EventBus.Handlers.Internals
///
/// Function to handle the event.
///
- public Func Action { get; private set; }
+ public Func Action { get; }
///
/// Creates a new instance of .