Class TransientEventHandlerFactory<THandler>
This IEventHandlerFactory implementation is used to handle events by a transient instance object.
Implements
Inherited Members
Namespace: Volo.Abp.EventBus
Assembly: Volo.Abp.EventBus.dll
Syntax
public class TransientEventHandlerFactory<THandler> : TransientEventHandlerFactory, IEventHandlerFactory where THandler : IEventHandler, new()
Type Parameters
Name | Description |
---|---|
THandler |
Remarks
This class always creates a new transient instance of the handler type.
Constructors
TransientEventHandlerFactory()
Declaration
public TransientEventHandlerFactory()
Methods
CreateHandler()
Declaration
protected override IEventHandler CreateHandler()
Returns
Type | Description |
---|---|
IEventHandler |