99 references to ConfigurationValueFlags
System.Configuration (99)
System\Configuration\ConfigurationElement.cs (56)
69
internal
ConfigurationValueFlags
_fItemLocked;
147
internal
ConfigurationValueFlags
ItemLocked {
164
_fItemLocked = ((source._fItemLocked &
ConfigurationValueFlags
.Locked) != 0) ?
165
(
ConfigurationValueFlags
.Inherited | source._fItemLocked) : _fItemLocked;
172
_lockedAttributesList.Add(key,
ConfigurationValueFlags
.Inherited); // Mark entry as from the parent - read only
183
_lockedAllExceptAttributesList.Add(key,
ConfigurationValueFlags
.Default);
205
_lockedElementsList.Add(key,
ConfigurationValueFlags
.Inherited); // Mark entry as from the parent - read only
207
collection._lockedElementsList.Add(key,
ConfigurationValueFlags
.Inherited); // add the local copy
229
_lockedAllExceptElementsList.Add(key,
ConfigurationValueFlags
.Default); // add the local copy
266
ConfigurationValueFlags
flags =
ConfigurationValueFlags
.Inherited |
ConfigurationValueFlags
.Locked;
323
return ((_fItemLocked &
ConfigurationValueFlags
.Locked) != 0);
326
if ((_fItemLocked &
ConfigurationValueFlags
.Inherited) == 0) {
327
_fItemLocked = (value == true) ?
ConfigurationValueFlags
.Locked :
ConfigurationValueFlags
.Default;
328
_fItemLocked |=
ConfigurationValueFlags
.Modified;
358
if ((_fItemLocked &
ConfigurationValueFlags
.Modified) != 0) {
406
_fItemLocked =
ConfigurationValueFlags
.Locked |
ConfigurationValueFlags
.XMLParentInherited;
487
(_fItemLocked &
ConfigurationValueFlags
.Inherited) != 0)
517
_fItemLocked = ((parentElement._fItemLocked &
ConfigurationValueFlags
.Locked) != 0) ?
518
(
ConfigurationValueFlags
.Inherited | parentElement._fItemLocked) :
519
ConfigurationValueFlags
.Default;
524
_lockedAttributesList.Add(key,
ConfigurationValueFlags
.Inherited); // Mark entry as from the parent - read only
545
_lockedElementsList.Add(key,
ConfigurationValueFlags
.Inherited); // Mark entry as from the parent - read only
592
ConfigurationValueFlags
flags =
ConfigurationValueFlags
.Inherited |
598
ConfigurationValueFlags
.Locked :
ConfigurationValueFlags
.Default);
688
_values.SetValue(prop.Name, childElement,
ConfigurationValueFlags
.Inherited, null);
918
((_fItemLocked &
ConfigurationValueFlags
.Locked) != 0) &&
919
(_fItemLocked &
ConfigurationValueFlags
.Inherited) != 0)) {
1029
ConfigurationValueFlags
valueFlags = sourceElement.Values.RetrieveFlags(key);
1221
if ((_fItemLocked &
ConfigurationValueFlags
.Locked) != 0 &&
1222
(_fItemLocked &
ConfigurationValueFlags
.Inherited) == 0 &&
1223
(_fItemLocked &
ConfigurationValueFlags
.XMLParentInherited) == 0) {
1408
localLockedAttributesList.Add(attribToLockTrim,
ConfigurationValueFlags
.Default); // Mark as local
1446
_values.SetValue(reader.Name, null,
ConfigurationValueFlags
.Modified, rootInfo);
1447
_values.SetValue(DefaultCollectionPropertyName, defaultCollection,
ConfigurationValueFlags
.Modified, rootInfo);
1452
((_fItemLocked &
ConfigurationValueFlags
.Locked) != 0 && (_fItemLocked &
ConfigurationValueFlags
.Inherited) != 0)
1477
ConfigurationValueFlags
.Modified,
1490
LockedAttributesList = new ConfigurationValue(reader.Value,
ConfigurationValueFlags
.Default, new PropertySourceInfo(reader));
1493
LockedAllExceptList = new ConfigurationValue(reader.Value,
ConfigurationValueFlags
.Default, new PropertySourceInfo(reader));
1496
LockedElementList = new ConfigurationValue(reader.Value,
ConfigurationValueFlags
.Default, new PropertySourceInfo(reader));
1499
LockedAllElementsExceptList = new ConfigurationValue(reader.Value,
ConfigurationValueFlags
.Default, new PropertySourceInfo(reader));
1570
_fItemLocked =
ConfigurationValueFlags
.Locked;
1578
_lockedAttributesList.Add(key,
ConfigurationValueFlags
.Default); // add the local copy
1580
_lockedAttributesList.Add(key,
ConfigurationValueFlags
.Modified |
ConfigurationValueFlags
.Inherited); // add the local copy
1603
_lockedAllExceptAttributesList.Add(key,
ConfigurationValueFlags
.Default);
1622
_lockedElementsList.Add(key,
ConfigurationValueFlags
.Default); // add the local copy
1661
_lockedAllExceptElementsList.Add(key,
ConfigurationValueFlags
.Default); // add the local copy
1894
tempLockList.Add(lockedAttributeName,
ConfigurationValueFlags
.Default);
1902
tempLockList.Add(lockedAttributeName,
ConfigurationValueFlags
.Default);
System\Configuration\ConfigurationLockCollection.cs (29)
61
Add(key,
ConfigurationValueFlags
.Inherited); // add the local copy
83
if (((_thisElement.ItemLocked &
ConfigurationValueFlags
.Locked) != 0) &&
84
((_thisElement.ItemLocked &
ConfigurationValueFlags
.Inherited) != 0)) {
88
ConfigurationValueFlags
flags =
ConfigurationValueFlags
.Modified;
129
flags =
ConfigurationValueFlags
.Modified | (
ConfigurationValueFlags
)internalDictionary[name];
139
internal void Add(string name,
ConfigurationValueFlags
flags) {
140
if ((flags !=
ConfigurationValueFlags
.Inherited) && (internalDictionary.Contains(name))) {
143
flags =
ConfigurationValueFlags
.Modified | (
ConfigurationValueFlags
)internalDictionary[name];
163
((
ConfigurationValueFlags
)internalDictionary[name] &
ConfigurationValueFlags
.Inherited) != 0);
168
((
ConfigurationValueFlags
)internalDictionary[name] &
ConfigurationValueFlags
.Modified) != 0);
193
((
ConfigurationValueFlags
)internalDictionary[name] &
ConfigurationValueFlags
.Inherited) != 0) {
194
if (((
ConfigurationValueFlags
)internalDictionary[name] &
ConfigurationValueFlags
.Modified) != 0) {
197
ConfigurationValueFlags
flags = (
ConfigurationValueFlags
)internalDictionary[name];
198
flags &= ~
ConfigurationValueFlags
.Modified;
220
if ((((
ConfigurationValueFlags
)de.Value &
ConfigurationValueFlags
.Inherited) == 0)
234
Add(key,
ConfigurationValueFlags
.Inherited); //
291
return (bool)(((
ConfigurationValueFlags
)internalDictionary[name] &
ConfigurationValueFlags
.Inherited) != 0);
337
if ((bool)(((
ConfigurationValueFlags
)de.Value &
ConfigurationValueFlags
.Inherited) != 0)) {
System\Configuration\ConfigurationValue.cs (2)
25
internal
ConfigurationValueFlags
ValueFlags;
29
internal ConfigurationValue(object value,
ConfigurationValueFlags
valueFlags, PropertySourceInfo sourceInfo) {
System\Configuration\ConfigurationValues.cs (7)
84
private ConfigurationValue CreateConfigValue(object value,
ConfigurationValueFlags
valueFlags, PropertySourceInfo sourceInfo) {
99
internal void SetValue(string key, object value,
ConfigurationValueFlags
valueFlags, PropertySourceInfo sourceInfo) {
122
SetValue(key, value,
ConfigurationValueFlags
.Modified, null);
150
internal
ConfigurationValueFlags
RetrieveFlags(string key) {
156
return
ConfigurationValueFlags
.Default;
163
return ((configurationValue.ValueFlags &
ConfigurationValueFlags
.Modified) != 0);
173
return ((configurationValue.ValueFlags &
ConfigurationValueFlags
.Inherited) != 0);
System\Configuration\elementinformation.cs (2)
64
return (((_thisElement.ItemLocked &
ConfigurationValueFlags
.Locked) != 0) &&
65
((_thisElement.ItemLocked &
ConfigurationValueFlags
.Inherited) != 0));
System\Configuration\PropertyInformation.cs (2)
136
(((ThisElement.ItemLocked &
ConfigurationValueFlags
.Locked) != 0) &&
137
((ThisElement.ItemLocked &
ConfigurationValueFlags
.Inherited) != 0)));
System\Configuration\ProviderSettings.cs (1)
96
if ((Values.GetConfigValue(prop.Name).ValueFlags &
ConfigurationValueFlags
.Locked) == 0) {