C# Class System.Configuration.ConfigurationElement

Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
Equals ( object compareTo ) : bool
GetHashCode ( ) : int
IsReadOnly ( ) : bool

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ConfigurationElement() protected méthode

protected ConfigurationElement ( ) : System
Résultat System

DeserializeElement() protected méthode

protected DeserializeElement ( XmlReader reader, bool serializeCollectionKey ) : void
reader XmlReader
serializeCollectionKey bool
Résultat void

Equals() public méthode

public Equals ( object compareTo ) : bool
compareTo object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Init() protected méthode

protected Init ( ) : void
Résultat void

InitializeDefault() protected méthode

protected InitializeDefault ( ) : void
Résultat void

IsModified() protected méthode

protected IsModified ( ) : bool
Résultat bool

IsReadOnly() public méthode

public IsReadOnly ( ) : bool
Résultat bool

ListErrors() protected méthode

protected ListErrors ( IList errorList ) : void
errorList IList
Résultat void

OnDeserializeUnrecognizedAttribute() protected méthode

protected OnDeserializeUnrecognizedAttribute ( String name, String value ) : bool
name String
value String
Résultat bool

OnDeserializeUnrecognizedElement() protected méthode

protected OnDeserializeUnrecognizedElement ( String elementName, XmlReader reader ) : bool
elementName String
reader XmlReader
Résultat bool

OnRequiredPropertyNotFound() protected méthode

protected OnRequiredPropertyNotFound ( string name ) : object
name string
Résultat object

PostDeserialize() protected méthode

protected PostDeserialize ( ) : void
Résultat void

PreSerialize() protected méthode

protected PreSerialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
Résultat void

Reset() protected méthode

protected Reset ( ConfigurationElement parentElement ) : void
parentElement ConfigurationElement
Résultat void

ResetModified() protected méthode

protected ResetModified ( ) : void
Résultat void

SerializeElement() protected méthode

protected SerializeElement ( XmlWriter writer, bool serializeCollectionKey ) : bool
writer System.Xml.XmlWriter
serializeCollectionKey bool
Résultat bool

SerializeToXmlElement() protected méthode

protected SerializeToXmlElement ( XmlWriter writer, String elementName ) : bool
writer System.Xml.XmlWriter
elementName String
Résultat bool

SetPropertyValue() protected méthode

protected SetPropertyValue ( ConfigurationProperty prop, object value, bool ignoreLocks ) : void
prop ConfigurationProperty
value object
ignoreLocks bool
Résultat void

SetReadOnly() protected méthode

protected SetReadOnly ( ) : void
Résultat void

Unmerge() protected méthode

protected Unmerge ( ConfigurationElement sourceElement, ConfigurationElement parentElement, ConfigurationSaveMode saveMode ) : void
sourceElement ConfigurationElement
parentElement ConfigurationElement
saveMode ConfigurationSaveMode
Résultat void

this() protected méthode

protected this ( ConfigurationProperty prop ) : Object
prop ConfigurationProperty
Résultat Object

this() protected méthode

protected this ( String propertyName ) : Object
propertyName String
Résultat Object