public ServiceProviderHandler(IServiceScope serviceScope, bool ownsServiceScope = default)
     : this(serviceScope : serviceScope.Arg(nameof(serviceScope)), ownsServiceScope : ownsServiceScope)
 {
 }
Пример #2
0
 public DependencyScope(IServiceScope outerServiceScope, bool ownsOuterServiceScope = default)
     : this(outerServiceScope : outerServiceScope.Arg(nameof(outerServiceScope)), ownsOuterServiceScope : ownsOuterServiceScope)
 {
 }