IComponentLifetimeFindScope Method |
Given the most nested scope visible within the resolve operation, find
the scope for the component.
Namespace:
Autofac.Core
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax ISharingLifetimeScope FindScope(
ISharingLifetimeScope mostNestedVisibleScope
)
Function FindScope (
mostNestedVisibleScope As ISharingLifetimeScope
) As ISharingLifetimeScope
Parameters
- mostNestedVisibleScope
- Type: Autofac.CoreISharingLifetimeScope
The most nested visible scope.
Return Value
Type:
ISharingLifetimeScopeThe scope for the component.
See Also