Class IocEventHandlerFactory
Inheritance
object
IocEventHandlerFactory
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.EventBus
Assembly: Volo.Abp.EventBus.dll
Syntax
public class IocEventHandlerFactory : IEventHandlerFactory, IDisposable
Constructors
IocEventHandlerFactory(IServiceScopeFactory, Type)
Declaration
public IocEventHandlerFactory(IServiceScopeFactory scopeFactory, Type handlerType)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceScopeFactory | scopeFactory | |
| System.Type | handlerType |
Properties
HandlerType
Declaration
public Type HandlerType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type |
ScopeFactory
Declaration
protected IServiceScopeFactory ScopeFactory { get; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceScopeFactory |
Methods
Dispose()
Declaration
public void Dispose()
GetHandler()
Declaration
public IEventHandlerDisposeWrapper GetHandler()
Returns
| Type | Description |
|---|---|
| IEventHandlerDisposeWrapper |
IsInFactories(List<IEventHandlerFactory>)
Declaration
public bool IsInFactories(List<IEventHandlerFactory> handlerFactories)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<T><IEventHandlerFactory> | handlerFactories |
Returns
| Type | Description |
|---|---|
| bool |
Implements
System.IDisposable