Exemplo n.º 1
0
 public MyContainer()
 {
     _container             = new List <RegisteredObject>();
     _objectResolver        = new ObjectResolver(_container);
     _registerObjectFactory = new RegisteredObjectFactory(_objectResolver);
     _containerRegistry     = new ContainerRegistery(_container, _registerObjectFactory);
 }
Exemplo n.º 2
0
 public ContainerRegistery(List <RegisteredObject> container, RegisteredObjectFactory factory)
 {
     _container             = container;
     _registerObjectFactory = factory;
 }