public IDependencyResolverScope CreateChildScope() { var childScope = new DependencyResolverScope(_componentTypes, new ReadOnlyDictionary <Type, object>(_scopedInstances)); Track(childScope); return(childScope); }
public IDependencyResolverScope CreateChildScope() { var childScope = new DependencyResolverScope(_resolvableTypes.Value, _emptyScopedInstances); Track(childScope); return(childScope); }