RequestLifetimeScopeProviderGetLifetimeScopeCore Method |
Gets a lifetime scope for the current HTTP request. This method can be overridden
to alter the way that the life time scope is constructed.
Namespace:
Autofac.Integration.Mvc
Assembly:
Autofac.Integration.Mvc (in Autofac.Integration.Mvc.dll) Version: 6.0.0+106fe194fc419c09f32d39119967f68798cc6895
Syntax protected virtual ILifetimeScope GetLifetimeScopeCore(
Action<ContainerBuilder> configurationAction
)
Protected Overridable Function GetLifetimeScopeCore (
configurationAction As Action(Of ContainerBuilder)
) As ILifetimeScope
Parameters
- configurationAction
- Type: SystemActionContainerBuilder
A configuration action that will execute during lifetime scope creation.
Return Value
Type:
ILifetimeScopeA new lifetime scope for the current HTTP request.
See Also