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