/// <summary> /// Constructor /// </summary> /// <param name="configFile">XML configuration file to initialise from</param> public PropertyResolvingWindsorContainer(string configFile) : base(new XmlInterpreter(configFile)) { Interpreter = new PropertiesInterpreter(configFile); Kernel.AddSubSystem(PropertiesSubSystem.SubSystemKey, new PropertiesSubSystem(Interpreter)); }
/// <summary> /// Constructor /// </summary> /// <param name="interpreter">A properties interpreter</param> public PropertiesSubSystem(IPropertiesInterpreter interpreter) { m_interpreter = interpreter; }
/// <summary> /// Constructor (initialises the <see cref="IWindsorContainer" /> from the app.config/web.config /// file) /// </summary> public PropertyResolvingWindsorContainer() { Interpreter = new PropertiesInterpreter(); Kernel.AddSubSystem(PropertiesSubSystem.SubSystemKey, new PropertiesSubSystem(Interpreter)); }