public void Initialize() { Container = new WindsorContainer("Config/Windsor.xml"); var defaultInstallers = new IWindsorInstaller[] { new InfrastructureInstaller() }; var installers = defaultInstallers.Concat(GetInstallers()).ToArray(); Container.Install(installers); }
public void Initialize() { var root = WhereAmI(GetType().Assembly); var configPath = Path.Combine(root, "Configuration/Windsor.xml"); Container = new WindsorContainer(configPath); var defaultInstallers = new IWindsorInstaller[] { new InfrastructureInstaller(LogFileName), }; var installers = defaultInstallers.Concat(GetInstallers()).ToArray(); Container.Install(installers); }