Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public ScopeCacheBoundResolver(NSubContainer container, ScopeCache scopeCache)
 {
     _container  = container;
     _scopeCache = scopeCache;
 }
Ejemplo n.º 3
0
 public Scope(NSubContainer mostNestedContainer)
 {
     _mostNestedContainer = mostNestedContainer;
 }