C# Класс NRack.Base.Config.ConfigurationElementBase

Наследование: System.Configuration.ConfigurationElement
Показать файл Открыть проект

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