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