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.Integration.Web
Assembly: SimpleInjector.Integration.Web (in SimpleInjector.Integration.Web.dll) Version: 4.10.2
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