private NSubContainer(NSubContainer parentContainer)
        {
            _parentContainer = parentContainer;

            // Use the same synchronization object in descendant containers.
            // It's required to e.g. ensure that singleton dependencies are resolved only once.
            _syncRoot = parentContainer._syncRoot;
        }
 public ScopeCacheBoundResolver(NSubContainer container, ScopeCache scopeCache)
 {
     _container  = container;
     _scopeCache = scopeCache;
 }
Exemple #3
0
 public Scope(NSubContainer mostNestedContainer)
 {
     _mostNestedContainer = mostNestedContainer;
 }