C# Класс System.Configuration.ConfigurationElement

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ApplyInstanceAttributes void
ApplyValidator void
ApplyValidatorsRecursive void
AssociateContext void
CachePerTypeValidator void
CallInit void
CheckLockedElement void
CreateConfigurationPropertyFromAttributes ConfigurationProperty
CreateElement ConfigurationElement
CreatePropertyBagFromType ConfigurationPropertyCollection
DeserializePropertyValue object
Dump void
EnsureRequiredProperties void
GetErrors ConfigurationErrorsException
GetErrorsList System.Collections.ArrayList
HandleLockedAttributes void
IntersectLockCollections System.Collections.Specialized.StringCollection
IsLockAttributeName bool
MergeLocks void
ParseLockedAttributes ConfigurationLockCollection
PropertiesFromType bool
PropertyFileName string
PropertyInfoInternal PropertySourceInfo
PropertyLineNumber int
RemoveAllInheritedLocks void
ReportInvalidLock void
ResetLockLists void
SerializeLockList bool
SetLocked void
UnMergeLockList ConfigurationLockCollection
ValidateElement void

Открытые методы

Метод Описание
Equals ( object compareTo ) : bool
GetHashCode ( ) : int
IsReadOnly ( ) : bool

Защищенные методы

Метод Описание
ConfigurationElement ( ) : System
DeserializeElement ( XmlReader reader, bool serializeCollectionKey ) : void
Init ( ) : void
InitializeDefault ( ) : void
IsModified ( ) : bool
ListErrors ( IList errorList ) : void
OnDeserializeUnrecognizedAttribute ( String name, String value ) : bool
OnDeserializeUnrecognizedElement ( String elementName, XmlReader reader ) : bool
OnRequiredPropertyNotFound ( string name ) : object
PostDeserialize ( ) : void
PreSerialize ( XmlWriter writer ) : void
Reset ( ConfigurationElement parentElement ) : void
ResetModified ( ) : void
SerializeElement ( XmlWriter writer, bool serializeCollectionKey ) : bool
SerializeToXmlElement ( XmlWriter writer, String elementName ) : bool
SetPropertyValue ( ConfigurationProperty prop, object value, bool ignoreLocks ) : void
SetReadOnly ( ) : void
Unmerge ( ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode ) : void
this ( ConfigurationProperty prop ) : Object
this ( String propertyName ) : Object

Приватные методы

Метод Описание
ApplyInstanceAttributes ( object instance ) : void
ApplyValidator ( ConfigurationElement elem ) : void
ApplyValidatorsRecursive ( ConfigurationElement root ) : void
AssociateContext ( BaseConfigurationRecord configRecord ) : void
CachePerTypeValidator ( Type type, ConfigurationValidatorBase validator ) : void
CallInit ( ) : void
CheckLockedElement ( string elementName, XmlReader reader ) : void
CreateConfigurationPropertyFromAttributes ( PropertyInfo propertyInformation ) : ConfigurationProperty
CreateElement ( Type type ) : ConfigurationElement
CreatePropertyBagFromType ( Type type ) : ConfigurationPropertyCollection
DeserializePropertyValue ( ConfigurationProperty prop, XmlReader reader ) : object
Dump ( TextWriter tw ) : void
EnsureRequiredProperties ( bool ensureKeysOnly ) : void
GetErrors ( ) : ConfigurationErrorsException
GetErrorsList ( ) : ArrayList
HandleLockedAttributes ( ConfigurationElement source ) : void
IntersectLockCollections ( ConfigurationLockCollection Collection1, ConfigurationLockCollection Collection2 ) : StringCollection
IsLockAttributeName ( string name ) : bool
MergeLocks ( ConfigurationElement source ) : void
ParseLockedAttributes ( ConfigurationValue value, ConfigurationLockCollectionType lockType ) : ConfigurationLockCollection
PropertiesFromType ( Type type, ConfigurationPropertyCollection &result ) : bool
PropertyFileName ( string propertyName ) : string
PropertyInfoInternal ( string propertyName ) : PropertySourceInfo
PropertyLineNumber ( string propertyName ) : int
RemoveAllInheritedLocks ( ) : void
ReportInvalidLock ( string attribToLockTrim, ConfigurationLockCollectionType lockedType, ConfigurationValue value, String collectionProperties ) : void
ResetLockLists ( ConfigurationElement parentElement ) : void
SerializeLockList ( ConfigurationLockCollection list, String elementKey, XmlWriter writer ) : bool
SetLocked ( ) : void
UnMergeLockList ( ConfigurationLockCollection sourceLockList, ConfigurationLockCollection parentLockList, ConfigurationSaveMode saveMode ) : ConfigurationLockCollection
ValidateElement ( ConfigurationElement elem, ConfigurationValidatorBase propValidator, bool recursive ) : void

Описание методов

ConfigurationElement() защищенный метод

protected ConfigurationElement ( ) : System
Результат System

DeserializeElement() защищенный метод

protected DeserializeElement ( XmlReader reader, bool serializeCollectionKey ) : void
reader XmlReader
serializeCollectionKey bool
Результат void

Equals() публичный метод

public Equals ( object compareTo ) : bool
compareTo object
Результат bool

GetHashCode() публичный метод

public GetHashCode ( ) : int
Результат int

Init() защищенный метод

protected Init ( ) : void
Результат void

InitializeDefault() защищенный метод

protected InitializeDefault ( ) : void
Результат void

IsModified() защищенный метод

protected IsModified ( ) : bool
Результат bool

IsReadOnly() публичный метод

public IsReadOnly ( ) : bool
Результат bool

ListErrors() защищенный метод

protected ListErrors ( IList errorList ) : void
errorList IList
Результат void

OnDeserializeUnrecognizedAttribute() защищенный метод

protected OnDeserializeUnrecognizedAttribute ( String name, String value ) : bool
name String
value String
Результат bool

OnDeserializeUnrecognizedElement() защищенный метод

protected OnDeserializeUnrecognizedElement ( String elementName, XmlReader reader ) : bool
elementName String
reader XmlReader
Результат bool

OnRequiredPropertyNotFound() защищенный метод

protected OnRequiredPropertyNotFound ( string name ) : object
name string
Результат object

PostDeserialize() защищенный метод

protected PostDeserialize ( ) : void
Результат void

PreSerialize() защищенный метод

protected PreSerialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
Результат void

Reset() защищенный метод

protected Reset ( ConfigurationElement parentElement ) : void
parentElement ConfigurationElement
Результат void

ResetModified() защищенный метод

protected ResetModified ( ) : void
Результат void

SerializeElement() защищенный метод

protected SerializeElement ( XmlWriter writer, bool serializeCollectionKey ) : bool
writer System.Xml.XmlWriter
serializeCollectionKey bool
Результат bool

SerializeToXmlElement() защищенный метод

protected SerializeToXmlElement ( XmlWriter writer, String elementName ) : bool
writer System.Xml.XmlWriter
elementName String
Результат bool

SetPropertyValue() защищенный метод

protected SetPropertyValue ( ConfigurationProperty prop, object value, bool ignoreLocks ) : void
prop ConfigurationProperty
value object
ignoreLocks bool
Результат void

SetReadOnly() защищенный метод

protected SetReadOnly ( ) : void
Результат void

Unmerge() защищенный метод

protected Unmerge ( ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode ) : void
sourceElement ConfigurationElement
parentElement ConfigurationElement
saveMode ConfigurationSaveMode
Результат void

this() защищенный метод

protected this ( ConfigurationProperty prop ) : Object
prop ConfigurationProperty
Результат Object

this() защищенный метод

protected this ( String propertyName ) : Object
propertyName String
Результат Object