<PackageReference Include="Castle.Windsor" Version="4.1.0" />

Castle.MicroKernel.SubSystems.Configuration.DefaultConfigurationStore

This implementation of IConfigurationStore does not try to obtain an external configuration by any means. Its only purpose is to serve as a base class for subclasses that might obtain the configuration node from anywhere.

public void AddChildContainerConfiguration(string key, IConfiguration config)

Adds the child container configuration.

public void AddComponentConfiguration(string key, IConfiguration config)

Associates a configuration node with a component key

public void AddFacilityConfiguration(string key, IConfiguration config)

Associates a configuration node with a facility key

public void AddInstallerConfiguration(IConfiguration config)

public IConfiguration GetChildContainerConfiguration(string key)

Returns the configuration node associated with the specified child container key. Should return null if no association exists.

public IConfiguration GetComponentConfiguration(string key)

Returns the configuration node associated with the specified component key. Should return null if no association exists.

public IConfiguration[] GetComponents()

Returns all configuration nodes for components

public IConfiguration[] GetConfigurationForChildContainers()

Returns all configuration nodes for child containers

public IConfiguration[] GetFacilities()

Returns all configuration nodes for facilities

public IConfiguration GetFacilityConfiguration(string key)

Returns the configuration node associated with the specified facility key. Should return null if no association exists.

public IConfiguration[] GetInstallers()

public IResource GetResource(string resourceUri, IResource resource)