C# Class System.Configuration.BaseConfigurationRecord

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

Protected Properties

Свойство Type Description
_children Hashtable
_configName string
_configPath string
_configRoot InternalConfigRoot
_factoryRecords Hashtable
_flags SafeBitVector32
_locationSections ArrayList
_locationSubPath string
_parent BaseConfigurationRecord
_sectionRecords Hashtable

Private Properties

Свойство Type Description
AddImplicitSections void
AllowDefinitionToEnum ConfigurationAllowDefinition
AllowExeDefinitionToEnum ConfigurationAllowExeDefinition
BaseConfigurationRecord System.Configuration.Internal
CheckPermissionAllowed void
CloseRecursive void
CombineConfigKey string
DecryptConfigSection ConfigXmlReader
EnsureLocationSections ArrayList
EnsureSectionRecordImpl SectionRecord
Evaluate bool
EvaluateOne object
FindAndEnsureFactoryRecord FactoryRecord
FindChangedConfigurationStream string
FindFactoryRecord FactoryRecord
FindFactoryRecord FactoryRecord
FindSection ConfigXmlReader
FindSectionRecursive ConfigXmlReader
GetFactoryRecord FactoryRecord
GetProtectionProviderFromName ProtectedConfigurationProvider
GetRestrictedPermissions PermissionSet
GetSection object
GetSectionRecursive void
HasStreamChanged bool
Init void
InitConfigFromFile void
InitProtectedConfigurationSection void
IsDefinitionAllowed bool
IsImplicitSection bool
IsParentCausingLock bool
IsReservedAttributeName bool
IsRootDeclaration bool
LoadConfigSource ConfigXmlReader
NormalizeConfigSource string
NormalizeLocationSubPath string
OnStreamChanged void
RefreshFactoryRecord void
ResolveLocationSections void
ScanFactories Hashtable
ScanFactoriesRecursive void
ScanLocationSection void
ScanSections void
ScanSectionsRecursive void
ShouldPrefetchRawXml bool
ShouldSkipDueToInheritInChildApplications bool
SplitConfigKey void
ThrowIfParseErrors void
ValidateProtectionProviderAttribute string
ValidateUniqueConfigSource void
VerifyDefinitionAllowed void
hlAddChild void
hlClearResultRecursive void
hlGetChild BaseConfigurationRecord
hlNeedsChildFor bool
hlRemoveChild void

Méthodes publiques

Méthode Description
GetLkgSection ( string configKey ) : object
GetSection ( string configKey ) : object
RefreshSection ( string configKey ) : void
Remove ( ) : void
ThrowIfInitErrors ( ) : void

Méthodes protégées

Méthode Description
AddLocation ( string LocationSubPath ) : void
CallCreateSection ( bool inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, object parentConfig, ConfigXmlReader reader, string filename, int line ) : object
CallHostDecryptSection ( string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfig ) : string
CreateSection ( bool inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, object parentConfig, ConfigXmlReader reader ) : object
CreateSectionDefault ( string configKey, bool getRuntimeObject, FactoryRecord factoryRecord, SectionRecord sectionRecord, object &result, object &resultRuntimeObject ) : void
CreateSectionFactory ( FactoryRecord factoryRecord ) : object
EnsureFactories ( ) : Hashtable
EnsureSectionRecord ( string configKey, bool permitErrors ) : SectionRecord
EnsureSectionRecordUnsafe ( string configKey, bool permitErrors ) : SectionRecord
GetRuntimeObject ( object result ) : object
GetSectionRecord ( string configKey, bool permitErrors ) : SectionRecord
GetSectionXmlReader ( string keys, SectionInput input ) : ConfigXmlReader
Impersonate ( ) : IDisposable
IsSectionLocked ( string configKey ) : bool
MonitorStream ( string configKey, string configSource, string streamname ) : object
UseParentResult ( string configKey, object parentResult, SectionRecord sectionRecord ) : object
ValidateUniqueChildConfigSource ( string configKey, string configSourceStreamName, string configSourceArg, IConfigErrorInfo errorInfo ) : void
VerifySectionName ( string name, IConfigErrorInfo errorInfo, bool allowImplicit ) : void
VerifySectionName ( string name, XmlUtil xmlUtil, ExceptionAction action, bool allowImplicit ) : void
VerifySectionUnlocked ( string configKey, IConfigErrorInfo configErrorInfo ) : void

Private Methods

Méthode Description
AddImplicitSections ( Hashtable factoryList ) : void
AllowDefinitionToEnum ( string allowDefinition, XmlUtil xmlUtil ) : ConfigurationAllowDefinition
AllowExeDefinitionToEnum ( string allowExeDefinition, XmlUtil xmlUtil ) : ConfigurationAllowExeDefinition
BaseConfigurationRecord ( ) : System.Configuration.Internal
CheckPermissionAllowed ( string configKey, bool requirePermission, bool isTrustedWithoutAptca ) : void
CloseRecursive ( ) : void
CombineConfigKey ( string parentConfigKey, string tagName ) : string
DecryptConfigSection ( ConfigXmlReader reader, ProtectedConfigurationProvider protectionProvider ) : ConfigXmlReader
EnsureLocationSections ( ) : ArrayList
EnsureSectionRecordImpl ( string configKey, bool permitErrors, bool checkIfLocked ) : SectionRecord
Evaluate ( FactoryRecord factoryRecord, SectionRecord sectionRecord, object parentResult, bool getLkg, bool getRuntimeObject, object &result, object &resultRuntimeObject ) : bool
EvaluateOne ( string keys, SectionInput input, bool isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, object parentResult ) : object
FindAndEnsureFactoryRecord ( string configKey, bool &isRootDeclaredHere ) : FactoryRecord
FindChangedConfigurationStream ( ) : string
FindFactoryRecord ( string configKey, bool permitErrors ) : FactoryRecord
FindFactoryRecord ( string configKey, bool permitErrors, BaseConfigurationRecord &configRecord ) : FactoryRecord
FindSection ( string keys, SectionXmlInfo sectionXmlInfo, int &lineNumber ) : ConfigXmlReader
FindSectionRecursive ( string keys, int iKey, XmlUtil xmlUtil, int &lineNumber ) : ConfigXmlReader
GetFactoryRecord ( string configKey, bool permitErrors ) : FactoryRecord
GetProtectionProviderFromName ( string providerName, bool throwIfNotFound ) : ProtectedConfigurationProvider
GetRestrictedPermissions ( ) : PermissionSet
GetSection ( string configKey, bool getLkg, bool checkPermission ) : object
GetSectionRecursive ( string configKey, bool getLkg, bool checkPermission, bool getRuntimeObject, bool requestIsHere, object &result, object &resultRuntimeObject ) : void
HasStreamChanged ( string streamname, object lastVersion ) : bool
Init ( IInternalConfigRoot configRoot, BaseConfigurationRecord parent, string configPath, string locationSubPath ) : void
InitConfigFromFile ( ) : void
InitProtectedConfigurationSection ( ) : void
IsDefinitionAllowed ( ConfigurationAllowDefinition allowDefinition, ConfigurationAllowExeDefinition allowExeDefinition ) : bool
IsImplicitSection ( string configKey ) : bool
IsParentCausingLock ( string configKey ) : bool
IsReservedAttributeName ( string name ) : bool
IsRootDeclaration ( string configKey, bool implicitIsRooted ) : bool
LoadConfigSource ( string name, SectionXmlInfo sectionXmlInfo ) : ConfigXmlReader
NormalizeConfigSource ( string configSource, IConfigErrorInfo errorInfo ) : string
NormalizeLocationSubPath ( string subPath, IConfigErrorInfo errorInfo ) : string
OnStreamChanged ( string streamname ) : void
RefreshFactoryRecord ( string configKey ) : void
ResolveLocationSections ( ) : void
ScanFactories ( XmlUtil xmlUtil ) : Hashtable
ScanFactoriesRecursive ( XmlUtil xmlUtil, string parentConfigKey, Hashtable factoryList ) : void
ScanLocationSection ( XmlUtil xmlUtil ) : void
ScanSections ( XmlUtil xmlUtil ) : void
ScanSectionsRecursive ( XmlUtil xmlUtil, string parentConfigKey, bool inLocation, string locationSubPath, bool lockChildren, bool skipInChildApps ) : void
ShouldPrefetchRawXml ( FactoryRecord factoryRecord ) : bool
ShouldSkipDueToInheritInChildApplications ( bool skipInChildApps ) : bool
SplitConfigKey ( string configKey, string &group, string &name ) : void
ThrowIfParseErrors ( ConfigurationSchemaErrors schemaErrors ) : void
ValidateProtectionProviderAttribute ( string protectionProvider, IConfigErrorInfo errorInfo ) : string
ValidateUniqueConfigSource ( string configKey, string configSourceStreamName, string configSourceArg, IConfigErrorInfo errorInfo ) : void
VerifyDefinitionAllowed ( FactoryRecord factoryRecord, string configPath, IConfigErrorInfo errorInfo ) : void
hlAddChild ( string configName, BaseConfigurationRecord child ) : void
hlClearResultRecursive ( string configKey, bool forceEvaluatation ) : void
hlGetChild ( string configName ) : BaseConfigurationRecord
hlNeedsChildFor ( string configName ) : bool
hlRemoveChild ( string configName ) : void

Method Details

AddLocation() protected méthode

protected AddLocation ( string LocationSubPath ) : void
LocationSubPath string
Résultat void

CallCreateSection() protected méthode

protected CallCreateSection ( bool inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, object parentConfig, ConfigXmlReader reader, string filename, int line ) : object
inputIsTrusted bool
factoryRecord FactoryRecord
sectionRecord SectionRecord
parentConfig object
reader ConfigXmlReader
filename string
line int
Résultat object

CallHostDecryptSection() protected méthode

protected CallHostDecryptSection ( string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfig ) : string
encryptedXml string
protectionProvider ProtectedConfigurationProvider
protectedConfig ProtectedConfigurationSection
Résultat string

CreateSection() protected abstract méthode

protected abstract CreateSection ( bool inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, object parentConfig, ConfigXmlReader reader ) : object
inputIsTrusted bool
factoryRecord FactoryRecord
sectionRecord SectionRecord
parentConfig object
reader ConfigXmlReader
Résultat object

CreateSectionDefault() protected méthode

protected CreateSectionDefault ( string configKey, bool getRuntimeObject, FactoryRecord factoryRecord, SectionRecord sectionRecord, object &result, object &resultRuntimeObject ) : void
configKey string
getRuntimeObject bool
factoryRecord FactoryRecord
sectionRecord SectionRecord
result object
resultRuntimeObject object
Résultat void

CreateSectionFactory() protected abstract méthode

protected abstract CreateSectionFactory ( FactoryRecord factoryRecord ) : object
factoryRecord FactoryRecord
Résultat object

EnsureFactories() protected méthode

protected EnsureFactories ( ) : Hashtable
Résultat Hashtable

EnsureSectionRecord() protected méthode

protected EnsureSectionRecord ( string configKey, bool permitErrors ) : SectionRecord
configKey string
permitErrors bool
Résultat SectionRecord

EnsureSectionRecordUnsafe() protected méthode

protected EnsureSectionRecordUnsafe ( string configKey, bool permitErrors ) : SectionRecord
configKey string
permitErrors bool
Résultat SectionRecord

GetLkgSection() public méthode

public GetLkgSection ( string configKey ) : object
configKey string
Résultat object

GetRuntimeObject() protected abstract méthode

protected abstract GetRuntimeObject ( object result ) : object
result object
Résultat object

GetSection() public méthode

public GetSection ( string configKey ) : object
configKey string
Résultat object

GetSectionRecord() protected méthode

protected GetSectionRecord ( string configKey, bool permitErrors ) : SectionRecord
configKey string
permitErrors bool
Résultat SectionRecord

GetSectionXmlReader() protected méthode

protected GetSectionXmlReader ( string keys, SectionInput input ) : ConfigXmlReader
keys string
input SectionInput
Résultat ConfigXmlReader

Impersonate() protected méthode

protected Impersonate ( ) : IDisposable
Résultat IDisposable

IsSectionLocked() protected méthode

protected IsSectionLocked ( string configKey ) : bool
configKey string
Résultat bool

MonitorStream() protected méthode

protected MonitorStream ( string configKey, string configSource, string streamname ) : object
configKey string
configSource string
streamname string
Résultat object

RefreshSection() public méthode

public RefreshSection ( string configKey ) : void
configKey string
Résultat void

Remove() public méthode

public Remove ( ) : void
Résultat void

ThrowIfInitErrors() public méthode

public ThrowIfInitErrors ( ) : void
Résultat void

UseParentResult() protected abstract méthode

protected abstract UseParentResult ( string configKey, object parentResult, SectionRecord sectionRecord ) : object
configKey string
parentResult object
sectionRecord SectionRecord
Résultat object

ValidateUniqueChildConfigSource() protected méthode

protected ValidateUniqueChildConfigSource ( string configKey, string configSourceStreamName, string configSourceArg, IConfigErrorInfo errorInfo ) : void
configKey string
configSourceStreamName string
configSourceArg string
errorInfo IConfigErrorInfo
Résultat void

VerifySectionName() static protected méthode

static protected VerifySectionName ( string name, IConfigErrorInfo errorInfo, bool allowImplicit ) : void
name string
errorInfo IConfigErrorInfo
allowImplicit bool
Résultat void

VerifySectionName() static protected méthode

static protected VerifySectionName ( string name, XmlUtil xmlUtil, ExceptionAction action, bool allowImplicit ) : void
name string
xmlUtil XmlUtil
action ExceptionAction
allowImplicit bool
Résultat void

VerifySectionUnlocked() protected méthode

protected VerifySectionUnlocked ( string configKey, IConfigErrorInfo configErrorInfo ) : void
configKey string
configErrorInfo IConfigErrorInfo
Résultat void

Property Details

_children protected_oe property

protected Hashtable _children
Résultat Hashtable

_configName protected_oe property

protected string _configName
Résultat string

_configPath protected_oe property

protected string _configPath
Résultat string

_configRoot protected_oe property

protected InternalConfigRoot _configRoot
Résultat InternalConfigRoot

_factoryRecords protected_oe property

protected Hashtable _factoryRecords
Résultat Hashtable

_flags protected_oe property

protected SafeBitVector32 _flags
Résultat SafeBitVector32

_locationSections protected_oe property

protected ArrayList _locationSections
Résultat ArrayList

_locationSubPath protected_oe property

protected string _locationSubPath
Résultat string

_parent protected_oe property

protected BaseConfigurationRecord _parent
Résultat BaseConfigurationRecord

_sectionRecords protected_oe property

protected Hashtable _sectionRecords
Résultat Hashtable