Click or drag to resize

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
)

Parameters

mostNestedVisibleScope
Type: Autofac.CoreISharingLifetimeScope
The most nested visible scope.

Return Value

Type: ISharingLifetimeScope
The scope for the component.
See Also