Метод | Описание | |
---|---|---|
DotNetConfigurationSource ( ) : System |
Initializes a new instance of the DotNetConfigurationSource class.
|
|
DotNetConfigurationSource ( string xml ) : System |
Initializes a new instance of the DotNetConfigurationSource class.
|
|
FromFile ( string fileName ) : IConfigurationSource |
Froms the file.
|
|
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.
|
Метод | Описание | |
---|---|---|
Process ( System.Xml.Linq.XDocument document ) : void |
Processes the specified document.
|
Метод | Описание | |
---|---|---|
CreateConfigurationSection ( string current, string>.IEnumerable |
||
GetSections ( System.Xml.Linq.XDocument document ) : IEnumerable |
||
GetSectionsImpl ( System.Xml.Linq.XDocument document ) : IEnumerable |
||
GetSettings ( System.Xml.Linq.XDocument document, string sectionName ) : string>>.IEnumerable |
public DotNetConfigurationSource ( ) : System | ||
Результат | System |
public DotNetConfigurationSource ( string xml ) : System | ||
xml | string | The XML source. |
Результат | System |
public static FromFile ( string fileName ) : IConfigurationSource | ||
fileName | string | Name of the file. |
Результат | IConfigurationSource |
protected Process ( System.Xml.Linq.XDocument document ) : void | ||
document | System.Xml.Linq.XDocument | The document. |
Результат | void |
public static ToXml ( IConfigurationSection section ) : System.Xml.Linq.XElement | ||
section | IConfigurationSection | /// The section to convert to XML. /// |
Результат | System.Xml.Linq.XElement |
public static ToXml ( IEnumerable |
||
sections | IEnumerable |
/// The sections to convert to XML. /// |
Результат | string |