C# 클래스 NRack.Base.Config.ConfigurationElementBase

상속: System.Configuration.ConfigurationElement
파일 보기 프로젝트 열기: kerryjiang/NRack

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ConfigurationElementBase ( ) : System

Initializes a new instance of the ConfigurationElementBase class.

ConfigurationElementBase ( bool nameRequired ) : System

Initializes a new instance of the ConfigurationElementBase class.

보호된 메소드들

메소드 설명
DeserializeElement ( XmlReader reader, bool serializeCollectionKey ) : void

Reads XML from the configuration file.

OnDeserializeUnrecognizedAttribute ( string name, string value ) : bool

Gets a value indicating whether an unknown attribute is encountered during deserialization.

OnDeserializeUnrecognizedElement ( string elementName, System reader ) : bool

Gets a value indicating whether an unknown element is encountered during deserialization.

메소드 상세

ConfigurationElementBase() 공개 메소드

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

ConfigurationElementBase() 공개 메소드

Initializes a new instance of the ConfigurationElementBase class.
public ConfigurationElementBase ( bool nameRequired ) : System
nameRequired bool if set to true [name required].
리턴 System

DeserializeElement() 보호된 메소드

Reads XML from the configuration file.
The element to read is locked.- or -An attribute of the current node is not recognized.- or -The lock status of the current node cannot be determined.
protected DeserializeElement ( XmlReader reader, bool serializeCollectionKey ) : void
reader System.Xml.XmlReader The that reads from the configuration file.
serializeCollectionKey bool true to serialize only the collection key properties; otherwise, false.
리턴 void

OnDeserializeUnrecognizedAttribute() 보호된 메소드

Gets a value indicating whether an unknown attribute is encountered during deserialization.
protected OnDeserializeUnrecognizedAttribute ( string name, string value ) : bool
name string The name of the unrecognized attribute.
value string The value of the unrecognized attribute.
리턴 bool

OnDeserializeUnrecognizedElement() 보호된 메소드

Gets a value indicating whether an unknown element is encountered during deserialization.
The element identified by is locked.- or -One or more of the element's attributes is locked.- or - is unrecognized, or the element has an unrecognized attribute.- or -The element has a Boolean attribute with an invalid value.- or -An attempt was made to deserialize a property more than once.- or -An attempt was made to deserialize a property that is not a valid member of the element.- or -The element cannot contain a CDATA or text element.
protected OnDeserializeUnrecognizedElement ( string elementName, System reader ) : bool
elementName string The name of the unknown subelement.
reader System The being used for deserialization.
리턴 bool