protected override AbstractConfigurationRunner InstallInto(IWindsorContainer container) { var system = (IResourceSubSystem)container.Kernel.GetSubSystem(SubSystemConstants.ResourceKey); var resource = system.CreateResource(uri); var Uri = new CustomUri(uri); return(BooReader.Read(container, Uri, GenerationOptions, GetName(), EnvironmentName)); }
static void AddSecondPassRegistration(string key, IHandler handler) { Component component; if (false == BooReader.TryGetComponentByName(key, out component)) { BooReader.NeedSecondPassRegistrations.Add(new Component(key, handler.Service, handler.ComponentModel.Implementation)); } }
protected void Run(IWindsorContainer container, Action registrations) { if (localContainer == null) { BooReader.Execute(container, registrations); } else { registrations(); } }
public void SetUp(IWindsorContainer container, IConfigurationStore store) { string name = null; name = env != null?env.GetEnvironmentName() : "ResourceWindsor"; if (uri != null) { BooReader.Read(container, uri, name); } else { BooReader.Read(container, fileName, name); } }
protected override AbstractConfigurationRunner InstallInto(IWindsorContainer container) { BooReader.Execute(container, runner); return(runner); }
public Extend(string name, params IComponentExtension[] extensions) { component = BooReader.GetComponentByName(name); BooReader.NeedSecondPassRegistrations.Add(this); component.RegisterExtensions(extensions); }
protected override AbstractConfigurationRunner InstallInto(IWindsorContainer container) { return(BooReader.Read(container, stream, GenerationOptions, GetName(), EnvironmentName)); }
protected override AbstractConfigurationRunner InstallInto(IWindsorContainer container) { return(BooReader.Read(container, fileName, EnvironmentName, GenerationOptions, ImportedNamespaces)); }