public static IWindsorContainer GetContainer()
 {
     var locator = new ExtendedContainer();
     var container = locator.Resolve<IWindsorContainer>();
     // todo install registries
     container.Install(new EndpointRegistry());
     return container;
 }
Ejemplo n.º 2
0
		public ExtendedContainer()
		{
			Instance = this;
			InjectGod();
			AddListResolver();
			SetTransientAsDefaultLifestyle();
			SetReleasePolicy();
			RegisterCommonServiceLocator();
		}
Ejemplo n.º 3
0
		public virtual void Reset()
		{
			Instance = new ExtendedContainer();
		}