internal CatContainer(CatContainer parent) { _root = parent._root; _registries = _root._registries; //_services = new ConcurrentDictionary<Key, object>(); _disposables = new ConcurrentBag <IDisposable>(); }
public CatContainer() { _registries = new ConcurrentDictionary <Type, ServiceRegistry>(); _root = this; //_services = new ConcurrentDictionary<Key, object>(); _disposables = new ConcurrentBag <IDisposable>(); }