Class EventHandlerServiceExtensions
- Namespace
- JJMasterData.Core.Configuration
- Assembly
- JJMasterData.Core.dll
[PublicAPI]
public static class EventHandlerServiceExtensions
- Inheritance
-
EventHandlerServiceExtensions
- Inherited Members
Methods
AddFormEventHandler<TEventHandler>(IServiceCollection, string, ServiceLifetime)
public static IServiceCollection AddFormEventHandler<TEventHandler>(this IServiceCollection services, string elementName, ServiceLifetime lifetime = ServiceLifetime.Transient) where TEventHandler : class, IFormEventHandler
Parameters
services
IServiceCollectionelementName
stringlifetime
ServiceLifetime
Returns
Type Parameters
TEventHandler
AddGridEventHandler<TEventHandler>(IServiceCollection, string, ServiceLifetime)
public static IServiceCollection AddGridEventHandler<TEventHandler>(this IServiceCollection services, string elementName, ServiceLifetime lifetime = ServiceLifetime.Transient) where TEventHandler : class, IGridEventHandler
Parameters
services
IServiceCollectionelementName
stringlifetime
ServiceLifetime
Returns
Type Parameters
TEventHandler