Class ActionEventHandler<TEvent>
Inheritance
ActionEventHandler<TEvent>
Assembly: Volo.Abp.EventBus.dll
Syntax
public class ActionEventHandler<TEvent> : ILocalEventHandler<TEvent>, IEventHandler, ITransientDependency
Type Parameters
Constructors
ActionEventHandler(Func<TEvent, Task>)
Declaration
public ActionEventHandler(Func<TEvent, Task> handler)
Parameters
Type |
Name |
Description |
Func<TEvent, Task> |
handler |
|
Properties
Action
Declaration
public Func<TEvent, Task> Action { get; }
Property Value
Methods
HandleEventAsync(TEvent)
Declaration
public Task HandleEventAsync(TEvent eventData)
Parameters
Type |
Name |
Description |
TEvent |
eventData |
|
Returns
Implements
Extension Methods