Click or drag to resize

SegmentedStackTEnterSegment Method

Enter a new segment. When this method returns Count will be zero, and the stack will appear empty.

Namespace:  Autofac.Core.Resolving
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public IDisposable EnterSegment()

Return Value

Type: IDisposable
An IDisposable that will return the stack to the previously active segment when disposed.
See Also