Click or drag to resize

ResolveRequestContextChangeScope Method

Use this method to change the ISharingLifetimeScope that is used in this request. Changing this scope will also change the IComponentRegistry available in this context.

Namespace:  Autofac.Core.Resolving.Pipeline
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public abstract void ChangeScope(
	ISharingLifetimeScope newScope
)

Parameters

newScope
Type: Autofac.CoreISharingLifetimeScope
The new lifetime scope.
See Also