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()
Public Function EnterSegment As IDisposable
Return Value
Type:
IDisposableAn
IDisposable that will return the stack to the previously active segment when disposed.
See Also