Creates a delegate that upon invocation return the current Scope for this
lifestyle and the given container, or null when the delegate is executed outside
the context of such scope.
Namespace: SimpleInjector.Lifestyles
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
Parameters
- container
- Type: SimpleInjectorContainer
The container for which the delegate gets created.
Return Value
Type: FuncScopeA FuncTResult delegate. This method never returns null.
See Also