src/Autofac/Core/Lifetime/LifetimeScope.cs
/// <summary>
/// Begin a new tagged sub-scope. Instances created via the sub-scope
/// will be disposed along with it.
/// </summary>
/// <param name="tag">The tag applied to the <see cref="ILifetimeScope"/>.</param>
/// <returns>A new lifetime scope.</returns>
Begin a new tagged sub-scope. Instances created via the sub-scope
will be disposed along with it.
Begin a new tagged sub - scope . Instances created via the sub - scope will be disposed along with it .
public ILifetimeScope BeginLifetimeScope(object tag)
        {
            CheckNotDisposed();
            CheckTagIsUnique(tag);
            var scope = new LifetimeScope(ComponentRegistry, this, tag);
            RaiseBeginning(scope);
            return scope;
        }
public ILifetimeScope BeginLifetimeScope ( object tag ) { CheckNotDisposed ( ) ; CheckTagIsUnique ( tag ) ; var scope = new LifetimeScope ( ComponentRegistry , this , tag ) ; RaiseBeginning ( scope ) ; return scope ; }
Begin a new tagged sub-scope.
Begin a new tagged sub - scope .
A new lifetime scope.
A new lifetime scope .
tag
object
The tag applied to the .
The tag applied to the .