C# 클래스 Innovatian.Configuration.DotNetConfigurationSource

상속: XmlConfigurationSource
파일 보기 프로젝트 열기: idavis/innovatian.configuration 1 사용 예제들

공개 메소드들

메소드 설명
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 sections ) : string

Converts the given IConfigurationSections to an XML representation.

보호된 메소드들

메소드 설명
Process ( System.Xml.Linq.XDocument document ) : void

Processes the specified document.

비공개 메소드들

메소드 설명
CreateConfigurationSection ( string current, string>.IEnumerable items ) : void
GetSections ( System.Xml.Linq.XDocument document ) : IEnumerable
GetSectionsImpl ( System.Xml.Linq.XDocument document ) : IEnumerable
GetSettings ( System.Xml.Linq.XDocument document, string sectionName ) : string>>.IEnumerable

메소드 상세

DotNetConfigurationSource() 공개 메소드

Initializes a new instance of the DotNetConfigurationSource class.
public DotNetConfigurationSource ( ) : System
리턴 System

DotNetConfigurationSource() 공개 메소드

Initializes a new instance of the DotNetConfigurationSource class.
public DotNetConfigurationSource ( string xml ) : System
xml string The XML source.
리턴 System

FromFile() 공개 정적인 메소드

Froms the file.
public static FromFile ( string fileName ) : IConfigurationSource
fileName string Name of the file.
리턴 IConfigurationSource

Process() 보호된 메소드

Processes the specified document.
protected Process ( System.Xml.Linq.XDocument document ) : void
document System.Xml.Linq.XDocument The document.
리턴 void

ToString() 공개 메소드

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
리턴 string

ToXml() 공개 정적인 메소드

Converts the given IConfigurationSection to an XML representation.
public static ToXml ( IConfigurationSection section ) : System.Xml.Linq.XElement
section IConfigurationSection /// The section to convert to XML. ///
리턴 System.Xml.Linq.XElement

ToXml() 공개 정적인 메소드

Converts the given IConfigurationSections to an XML representation.
public static ToXml ( IEnumerable sections ) : string
sections IEnumerable /// The sections to convert to XML. ///
리턴 string