Show / Hide Table of Contents

Class TransientEventHandlerFactory<THandler>

This IEventHandlerFactory implementation is used to handle events by a transient instance object.

Inheritance
System.Object
TransientEventHandlerFactory
TransientEventHandlerFactory<THandler>
Implements
IEventHandlerFactory
Inherited Members
TransientEventHandlerFactory.HandlerType
TransientEventHandlerFactory.GetHandler()
TransientEventHandlerFactory.IsInFactories(List<IEventHandlerFactory>)
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
Overrides
TransientEventHandlerFactory.CreateHandler()

Implements

IEventHandlerFactory

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft