@@ -24,7 +24,7 @@ namespace Autofac.Core.Lifetime;
24
24
public class LifetimeScope : Disposable , ISharingLifetimeScope , IServiceProvider
25
25
{
26
26
/// <summary>
27
- /// Protects shared instances from concurrent access. Other members and the base class are threadsafe .
27
+ /// Protects shared instances from concurrent access. Other members and the base class are thread-safe .
28
28
/// </summary>
29
29
private readonly object _synchRoot = new ( ) ;
30
30
private readonly ConcurrentDictionary < Guid , object > _sharedInstances = new ( ) ;
@@ -235,7 +235,7 @@ public ILifetimeScope BeginLoadContextLifetimeScope(object tag, AssemblyLoadCont
235
235
}
236
236
#endif
237
237
238
- private ILifetimeScope InternalBeginLifetimeScope ( object tag , Action < ContainerBuilder > configurationAction , bool isolatedScope )
238
+ private LifetimeScope InternalBeginLifetimeScope ( object tag , Action < ContainerBuilder > configurationAction , bool isolatedScope )
239
239
{
240
240
if ( configurationAction == null )
241
241
{
@@ -278,7 +278,7 @@ private ILifetimeScope InternalBeginLifetimeScope(object tag, Action<ContainerBu
278
278
/// <remarks>It is the responsibility of the caller to make sure that the registry is properly
279
279
/// disposed of. This is generally done by adding the registry to the <see cref="Disposer"/>
280
280
/// property of the child scope.</remarks>
281
- private IComponentRegistryBuilder CreateScopeRestrictedRegistry ( object tag , Action < ContainerBuilder > configurationAction , bool isolatedScope )
281
+ private ComponentRegistryBuilder CreateScopeRestrictedRegistry ( object tag , Action < ContainerBuilder > configurationAction , bool isolatedScope )
282
282
{
283
283
var restrictedRootScopeLifetime = new MatchingScopeLifetime ( tag ) ;
284
284
var tracker = new ScopeRestrictedRegisteredServicesTracker ( restrictedRootScopeLifetime ) ;
0 commit comments