Method | Description | |
---|---|---|
FromFile ( string fileName ) : IConfigurationSource |
Creates a new IConfigurationSource instance from the file specified.
|
|
ToString ( ) : string |
Returns a T:System.String that represents the current T:System.Object.
|
|
ToXml ( IConfigurationSection section ) : System.Xml.Linq.XElement |
Converts the given IConfigurationSection to an XML representation.
|
|
ToXml ( IEnumerable |
Converts the given IConfigurationSections to an XML representation.
|
|
XmlConfigurationSource ( ) : System |
Initializes a new instance of the XmlConfigurationSource class.
|
|
XmlConfigurationSource ( string xml ) : System |
Initializes a new instance of the XmlConfigurationSource class.
|
Method | Description | |
---|---|---|
Load ( string fileName ) : void |
Loads the current instance from the given file.
|
|
Parse ( string xml ) : void |
Parses the specified XML.
|
|
Process ( System.Xml.Linq.XDocument document ) : void |
Processes the specified document.
|
public static FromFile ( string fileName ) : IConfigurationSource | ||
fileName | string | /// The file to load. /// |
return | IConfigurationSource |
protected Load ( string fileName ) : void | ||
fileName | string | The name of the file to load into this instance. |
return | void |
protected Process ( System.Xml.Linq.XDocument document ) : void | ||
document | System.Xml.Linq.XDocument | The document. |
return | void |
public static ToXml ( IConfigurationSection section ) : System.Xml.Linq.XElement | ||
section | IConfigurationSection | /// The section to convert to XML. /// |
return | System.Xml.Linq.XElement |
public static ToXml ( IEnumerable |
||
sections | IEnumerable |
/// The sections to convert to XML. /// |
return | string |
public XmlConfigurationSource ( string xml ) : System | ||
xml | string | The XML source. |
return | System |