C# Class Castle.Windsor.Configuration.Interpreters.XmlInterpreter

Reads the configuration from a XmlFile. Sample structure: <configuration> <facilities> <facility id="myfacility"> </facility> </facilities> <components> <component id="component1"> </component> </components> </configuration>
Inheritance: AbstractInterpreter
Show file Open project: 7digital/Castle.Windsor Class Usage Examples

Public Methods

Method Description
ProcessResource ( IResource source, IConfigurationStore store ) : void
XmlInterpreter ( ) : System

Initializes a new instance of the XmlInterpreter class.

XmlInterpreter ( Castle source ) : System

Initializes a new instance of the XmlInterpreter class.

XmlInterpreter ( String filename ) : System

Initializes a new instance of the XmlInterpreter class.

Protected Methods

Method Description
Deserialize ( XmlNode section, IConfigurationStore store ) : void

Private Methods

Method Description
AssertNodeName ( XmlNode node, IEquatable expectedName ) : void
DeserializeBootstrapComponent ( XmlNode node, IConfigurationStore store ) : void
DeserializeBootstrapComponents ( XmlNodeList nodes, IConfigurationStore store ) : void
DeserializeComponent ( XmlNode node, IConfigurationStore store ) : void
DeserializeComponents ( XmlNodeList nodes, IConfigurationStore store ) : void
DeserializeContainer ( XmlNode node, IConfigurationStore store ) : void
DeserializeContainers ( XmlNodeList nodes, IConfigurationStore store ) : void
DeserializeElement ( XmlNode node, IConfigurationStore store ) : void
DeserializeFacilities ( XmlNodeList nodes, IConfigurationStore store ) : void
DeserializeFacility ( XmlNode node, IConfigurationStore store ) : void
DeserializeInstaller ( XmlNode node, IConfigurationStore store ) : void
DeserializeInstallers ( XmlNodeList nodes, IConfigurationStore store ) : void
GetRequiredAttributeValue ( IConfiguration configuration, string attributeName ) : string

Method Details

Deserialize() protected static method

protected static Deserialize ( XmlNode section, IConfigurationStore store ) : void
section System.Xml.XmlNode
store IConfigurationStore
return void

ProcessResource() public method

public ProcessResource ( IResource source, IConfigurationStore store ) : void
source IResource
store IConfigurationStore
return void

XmlInterpreter() public method

Initializes a new instance of the XmlInterpreter class.
public XmlInterpreter ( ) : System
return System

XmlInterpreter() public method

Initializes a new instance of the XmlInterpreter class.
public XmlInterpreter ( Castle source ) : System
source Castle The source.
return System

XmlInterpreter() public method

Initializes a new instance of the XmlInterpreter class.
public XmlInterpreter ( String filename ) : System
filename String The filename.
return System