Ejemplo n.º 1
0
 internal ContainerScope(IScopeContext scopeContext, IContainerBackend backend, ContainerRuntime runtime)
 {
     _scopeContext = scopeContext ?? throw new ArgumentNullException(nameof(scopeContext));
     _backend      = backend ?? throw new ArgumentNullException(nameof(backend));
     _runtime      = runtime ?? throw new ArgumentNullException(nameof(runtime));
 }
 public ServiceVisitor(ContainerRuntime runtime, ContainerScope scope)
 {
     _runtime = runtime ?? throw new ArgumentNullException(nameof(runtime));
     _scope   = scope ?? throw new ArgumentNullException(nameof(scope));
 }