31 references to ConfigKey
System.Configuration (31)
System\Configuration\BaseConfigurationRecord.cs (11)
248
switch (factoryRecord.
ConfigKey
) {
1107
configKey = factoryRecord.
ConfigKey
;
1588
string configKey = factoryRecord.
ConfigKey
;
1733
result = UseParentResult(factoryRecord.
ConfigKey
, parentResult, sectionRecord);
1741
SR.GetString(SR.Config_exception_creating_section, factoryRecord.
ConfigKey
),
2142
throw ExceptionUtil.WrapAsConfigException(SR.GetString(SR.Config_exception_creating_section_handler, factoryRecord.
ConfigKey
), e, filename, line);
2248
throw ExceptionUtil.WrapAsConfigException(SR.GetString(SR.Config_exception_creating_section_handler, factoryRecord.
ConfigKey
), e, factoryRecord);
2388
configKey = parentFactoryRecord.
ConfigKey
;
2546
configKey = parentFactoryRecord.
ConfigKey
;
3030
configKey = factoryRecord.
ConfigKey
;
3998
configKey = factoryRecord.
ConfigKey
;
System\Configuration\ConfigurationSectionGroup.cs (3)
30
_configKey = factoryRecord.
ConfigKey
;
38
parentFactoryRecord = configRecord.Parent.FindFactoryRecord(factoryRecord.
ConfigKey
, true);
42
_declared = configRecord.GetFactoryRecord(factoryRecord.
ConfigKey
, true) != null;
System\Configuration\MgmtConfigurationRecord.cs (13)
333
throw new ConfigurationErrorsException(SR.GetString(SR.Config_exception_creating_section_handler, factoryRecord.
ConfigKey
),
413
string configKey = factoryRecord.
ConfigKey
;
414
factories[configKey] = new FactoryId(factoryRecord.
ConfigKey
, factoryRecord.Group, factoryRecord.Name);
1495
ConfigurationSection configSection = GetConfigSection(factoryRecord.
ConfigKey
);
1508
&& MgmtParent.FindFactoryRecord(factoryRecord.
ConfigKey
, false) != null) {
1529
DeclarationUpdate update = new DeclarationUpdate(factoryRecord.
ConfigKey
, !factoryRecord.HasFile, updatedXml);
1536
ConfigurationSectionGroup configSectionGroup = LookupSectionGroup(factoryRecord.
ConfigKey
);
1549
parentFactoryRecord = MgmtParent.FindFactoryRecord(factoryRecord.
ConfigKey
, false);
1570
Debug.Assert(!IsImplicitSection(factoryRecord.
ConfigKey
), "We should never write out an implicit section");
1572
DeclarationUpdate update = new DeclarationUpdate(factoryRecord.
ConfigKey
, !factoryRecord.HasFile, updatedXml);
1599
DeclarationUpdate update = new DeclarationUpdate(factoryRecord.
ConfigKey
, true, updatedXml);
1619
DeclarationUpdate update = new DeclarationUpdate(factoryRecord.
ConfigKey
, true, updatedXml);
1910
ConfigurationSection configSection = GetConfigSection(factoryRecord.
ConfigKey
);
System\Configuration\RuntimeConfigurationRecord.cs (1)
258
CheckForLockAttributes(factoryRecord.
ConfigKey
, xmlNode);
System\Configuration\SectionInformation.cs (3)
105
_configKey = factoryRecord.
ConfigKey
;
123
_flags[ Flag_Declared ] = configRecord.GetFactoryRecord(factoryRecord.
ConfigKey
, false) != null;
124
_flags[ Flag_DeclarationRequired ] = configRecord.IsRootDeclaration(factoryRecord.
ConfigKey
, false);