public void Install(IWindsorContainer container, IConfigurationStore store)
{
container.Register(
Component.For<IWindowManager>().ImplementedBy<WindowManager>().LifeStyle.Is(LifestyleType.Singleton));
container.Register(
Component.For<IEventAggregator>().ImplementedBy<EventAggregator>().LifeStyle.Is(LifestyleType.Singleton));
container.Register(AllTypes.FromThisAssembly().Pick());
}