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

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

Защищенные свойства (Protected)

Свойство Тип Описание
_children Hashtable
_configName string
_configPath string
_configRoot InternalConfigRoot
_factoryRecords Hashtable
_flags SafeBitVector32
_locationSections ArrayList
_locationSubPath string
_parent BaseConfigurationRecord
_sectionRecords Hashtable

Private Properties

Свойство Тип Описание
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

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

Метод Описание
GetLkgSection ( string configKey ) : object
GetSection ( string configKey ) : object
RefreshSection ( string configKey ) : void
Remove ( ) : void
ThrowIfInitErrors ( ) : void

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

Метод Описание
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

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

Метод Описание
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

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

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

protected AddLocation ( string LocationSubPath ) : void
LocationSubPath string
Результат void

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

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
Результат object

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

protected CallHostDecryptSection ( string encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfig ) : string
encryptedXml string
protectionProvider ProtectedConfigurationProvider
protectedConfig ProtectedConfigurationSection
Результат string

CreateSection() защищенный абстрактный метод

protected abstract CreateSection ( bool inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, object parentConfig, ConfigXmlReader reader ) : object
inputIsTrusted bool
factoryRecord FactoryRecord
sectionRecord SectionRecord
parentConfig object
reader ConfigXmlReader
Результат object

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

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
Результат void

CreateSectionFactory() защищенный абстрактный метод

protected abstract CreateSectionFactory ( FactoryRecord factoryRecord ) : object
factoryRecord FactoryRecord
Результат object

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

protected EnsureFactories ( ) : Hashtable
Результат Hashtable

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

protected EnsureSectionRecord ( string configKey, bool permitErrors ) : SectionRecord
configKey string
permitErrors bool
Результат SectionRecord

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

protected EnsureSectionRecordUnsafe ( string configKey, bool permitErrors ) : SectionRecord
configKey string
permitErrors bool
Результат SectionRecord

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

public GetLkgSection ( string configKey ) : object
configKey string
Результат object

GetRuntimeObject() защищенный абстрактный метод

protected abstract GetRuntimeObject ( object result ) : object
result object
Результат object

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

public GetSection ( string configKey ) : object
configKey string
Результат object

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

protected GetSectionRecord ( string configKey, bool permitErrors ) : SectionRecord
configKey string
permitErrors bool
Результат SectionRecord

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

protected GetSectionXmlReader ( string keys, SectionInput input ) : ConfigXmlReader
keys string
input SectionInput
Результат ConfigXmlReader

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

protected Impersonate ( ) : IDisposable
Результат IDisposable

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

protected IsSectionLocked ( string configKey ) : bool
configKey string
Результат bool

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

protected MonitorStream ( string configKey, string configSource, string streamname ) : object
configKey string
configSource string
streamname string
Результат object

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

public RefreshSection ( string configKey ) : void
configKey string
Результат void

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

public Remove ( ) : void
Результат void

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

public ThrowIfInitErrors ( ) : void
Результат void

UseParentResult() защищенный абстрактный метод

protected abstract UseParentResult ( string configKey, object parentResult, SectionRecord sectionRecord ) : object
configKey string
parentResult object
sectionRecord SectionRecord
Результат object

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

protected ValidateUniqueChildConfigSource ( string configKey, string configSourceStreamName, string configSourceArg, IConfigErrorInfo errorInfo ) : void
configKey string
configSourceStreamName string
configSourceArg string
errorInfo IConfigErrorInfo
Результат void

VerifySectionName() статический защищенный метод

static protected VerifySectionName ( string name, IConfigErrorInfo errorInfo, bool allowImplicit ) : void
name string
errorInfo IConfigErrorInfo
allowImplicit bool
Результат void

VerifySectionName() статический защищенный метод

static protected VerifySectionName ( string name, XmlUtil xmlUtil, ExceptionAction action, bool allowImplicit ) : void
name string
xmlUtil XmlUtil
action ExceptionAction
allowImplicit bool
Результат void

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

protected VerifySectionUnlocked ( string configKey, IConfigErrorInfo configErrorInfo ) : void
configKey string
configErrorInfo IConfigErrorInfo
Результат void

Описание свойств

_children защищенное свойство

protected Hashtable _children
Результат Hashtable

_configName защищенное свойство

protected string _configName
Результат string

_configPath защищенное свойство

protected string _configPath
Результат string

_configRoot защищенное свойство

protected InternalConfigRoot _configRoot
Результат InternalConfigRoot

_factoryRecords защищенное свойство

protected Hashtable _factoryRecords
Результат Hashtable

_flags защищенное свойство

protected SafeBitVector32 _flags
Результат SafeBitVector32

_locationSections защищенное свойство

protected ArrayList _locationSections
Результат ArrayList

_locationSubPath защищенное свойство

protected string _locationSubPath
Результат string

_parent защищенное свойство

protected BaseConfigurationRecord _parent
Результат BaseConfigurationRecord

_sectionRecords защищенное свойство

protected Hashtable _sectionRecords
Результат Hashtable