Created
September 25, 2009 14:09
-
-
Save davetheninja/193558 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Castle.Windsor; | |
using Castle.Windsor.Configuration; | |
using Castle.Windsor.Configuration.Interpreters; | |
using Core.Castle.Installers; | |
namespace Core.Castle | |
{ | |
public class IoCContainer : WindsorContainer | |
{ | |
public IoCContainer() : this(new XmlInterpreter("windsor.config.xml")) { } | |
IoCContainer(IConfigurationInterpreter interpreter) : base(interpreter) | |
{ | |
Install(new EnumerableResolverInstaller()); | |
Install(new BootStrapperInstaller()); | |
Install(new RepositoriesInstaller()); | |
Install(new ControllersInstaller()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment