IRegistrationBuilderTLimit, TActivatorData, TRegistrationStyleOnActivating Method (ActionIActivatingEventArgsTLimit) |
Add a handler for the Activating event.
Namespace:
Autofac.Builder
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax IRegistrationBuilder<TLimit, TActivatorData, TRegistrationStyle> OnActivating(
Action<IActivatingEventArgs<TLimit>> handler
)
Function OnActivating (
handler As Action(Of IActivatingEventArgs(Of TLimit))
) As IRegistrationBuilder(Of TLimit, TActivatorData, TRegistrationStyle)
Parameters
- handler
- Type: SystemActionIActivatingEventArgsTLimit
The event handler.
Return Value
Type:
IRegistrationBuilderTLimit,
TActivatorData,
TRegistrationStyleA registration builder allowing further configuration of the component.
See Also