private TinyDIContainer(TinyDIContainer 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 Scope(TinyDIContainer mostNestedContainer) { _mostNestedContainer = mostNestedContainer; }