53 references to ConfigurationLockCollectionType
System.Configuration.ConfigurationManager (53)
System\Configuration\ConfigurationElement.cs (42)
89
public ConfigurationLockCollection LockAttributes => _lockedAttributesList ??= new ConfigurationLockCollection(this,
ConfigurationLockCollectionType
.LockedAttributes);
91
public ConfigurationLockCollection LockAllAttributesExcept => _lockedAllExceptAttributesList ??= new ConfigurationLockCollection(this,
ConfigurationLockCollectionType
.LockedExceptionList, ElementTagName);
93
public ConfigurationLockCollection LockElements => _lockedElementsList ??= new ConfigurationLockCollection(this,
ConfigurationLockCollectionType
.LockedElements);
95
public ConfigurationLockCollection LockAllElementsExcept => _lockedAllExceptElementsList ??= new ConfigurationLockCollection(this,
ConfigurationLockCollectionType
.LockedElementsExceptionList, ElementTagName);
266
ConfigurationLockCollectionType
.LockedAttributes);
275
ConfigurationLockCollectionType
.LockedExceptionList, string.Empty,
289
ConfigurationLockCollectionType
.LockedElements);
319
ConfigurationLockCollectionType
.LockedElementsExceptionList, source.ElementTagName,
554
ConfigurationLockCollectionType
.LockedAttributes);
562
ConfigurationLockCollectionType
.LockedExceptionList, string.Empty,
569
ConfigurationLockCollectionType
.LockedElements);
591
ConfigurationLockCollectionType
.LockedElementsExceptionList, parentElement.ElementTagName,
1200
internal void ReportInvalidLock(string attribToLockTrim,
ConfigurationLockCollectionType
lockedType,
1207
((lockedType ==
ConfigurationLockCollectionType
.LockedElements) ||
1208
(lockedType ==
ConfigurationLockCollectionType
.LockedElementsExceptionList)))
1225
if ((lockedType ==
ConfigurationLockCollectionType
.LockedElements) ||
1226
(lockedType ==
ConfigurationLockCollectionType
.LockedElementsExceptionList))
1253
if ((lockedType ==
ConfigurationLockCollectionType
.LockedElements) ||
1254
(lockedType ==
ConfigurationLockCollectionType
.LockedElementsExceptionList))
1275
ConfigurationLockCollectionType
lockType)
1285
case
ConfigurationLockCollectionType
.LockedAttributes:
1288
case
ConfigurationLockCollectionType
.LockedElements:
1291
case
ConfigurationLockCollectionType
.LockedExceptionList:
1295
case
ConfigurationLockCollectionType
.LockedElementsExceptionList:
1309
if (!(((lockType ==
ConfigurationLockCollectionType
.LockedElements) ||
1310
(lockType ==
ConfigurationLockCollectionType
.LockedAttributes)) &&
1319
((lockType !=
ConfigurationLockCollectionType
.LockedElements) &&
1320
(lockType !=
ConfigurationLockCollectionType
.LockedElementsExceptionList) &&
1323
(((lockType ==
ConfigurationLockCollectionType
.LockedElements) ||
1324
(lockType ==
ConfigurationLockCollectionType
.LockedElementsExceptionList)) &&
1339
(lockType ==
ConfigurationLockCollectionType
.LockedAttributes) ||
1341
(lockType ==
ConfigurationLockCollectionType
.LockedExceptionList))
1586
ConfigurationLockCollectionType
.LockedAttributes);
1590
ParseLockedAttributes(lockedAttributesList,
ConfigurationLockCollectionType
.LockedAttributes))
1603
ConfigurationLockCollectionType
.LockedExceptionList);
1608
ConfigurationLockCollectionType
.LockedExceptionList, string.Empty, newCollection);
1623
ConfigurationLockCollectionType
.LockedElements);
1626
ConfigurationLockCollectionType
.LockedElements);
1657
ConfigurationLockCollectionType
.LockedElementsExceptionList);
1661
ConfigurationLockCollectionType
.LockedElementsExceptionList, ElementTagName, newCollection);
1692
ConfigurationLockCollectionType
.LockedElements);
1698
ConfigurationLockCollectionType
.LockedElementsExceptionList, reader.Name);
System\Configuration\ConfigurationLockCollection.cs (11)
20
: this(thisElement,
ConfigurationLockCollectionType
.LockedAttributes)
23
internal ConfigurationLockCollection(ConfigurationElement thisElement,
ConfigurationLockCollectionType
lockType)
27
internal ConfigurationLockCollection(ConfigurationElement thisElement,
ConfigurationLockCollectionType
lockType,
32
internal ConfigurationLockCollection(ConfigurationElement thisElement,
ConfigurationLockCollectionType
lockType,
41
ExceptionList = (LockType ==
ConfigurationLockCollectionType
.LockedExceptionList) ||
42
(LockType ==
ConfigurationLockCollectionType
.LockedElementsExceptionList);
58
internal
ConfigurationLockCollectionType
LockType { get; }
147
(LockType ==
ConfigurationLockCollectionType
.LockedAttributes) ||
149
(LockType ==
ConfigurationLockCollectionType
.LockedExceptionList))
168
if ((LockType ==
ConfigurationLockCollectionType
.LockedElements) ||
169
(LockType ==
ConfigurationLockCollectionType
.LockedElementsExceptionList))