51 references to ConfigurationSaveMode
System.Configuration (1)
System.Configuration.cs (1)
30
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Configuration.
ConfigurationSaveMode
))]
System.Configuration.ConfigurationManager (50)
System\Configuration\Configuration.cs (7)
181
SaveAsImpl(null,
ConfigurationSaveMode
.Modified, false);
184
public void Save(
ConfigurationSaveMode
saveMode)
189
public void Save(
ConfigurationSaveMode
saveMode, bool forceSaveAll)
196
SaveAs(filename,
ConfigurationSaveMode
.Modified, false);
199
public void SaveAs(string filename,
ConfigurationSaveMode
saveMode)
204
public void SaveAs(string filename,
ConfigurationSaveMode
saveMode, bool forceSaveAll)
211
private void SaveAsImpl(string filename,
ConfigurationSaveMode
saveMode, bool forceSaveAll)
System\Configuration\ConfigurationElement.cs (11)
876
ConfigurationSaveMode
saveMode)
948
if ((prop.IsRequired || (saveMode ==
ConfigurationSaveMode
.Full)) && IsNullOrNullProperty(value))
967
case
ConfigurationSaveMode
.Minimal:
971
case
ConfigurationSaveMode
.Modified:
982
case
ConfigurationSaveMode
.Full:
1877
ConfigurationSaveMode
saveMode)
1883
case
ConfigurationSaveMode
.Modified:
1893
case
ConfigurationSaveMode
.Minimal:
1908
if ((saveMode ==
ConfigurationSaveMode
.Modified) || (saveMode ==
ConfigurationSaveMode
.Minimal))
1917
(saveMode ==
ConfigurationSaveMode
.Modified)))
System\Configuration\ConfigurationElementCollection.cs (6)
251
ConfigurationSaveMode
saveMode)
296
EmitClear = ((saveMode ==
ConfigurationSaveMode
.Full) && (_clearElement.Length != 0)) ||
297
((saveMode ==
ConfigurationSaveMode
.Modified) && _collectionCleared) || sourceCollection.EmitClear;
320
if (saveMode !=
ConfigurationSaveMode
.Modified) continue;
445
if (inParent && ((saveMode !=
ConfigurationSaveMode
.Modified) || !sourceItem.IsModified()) &&
446
(saveMode !=
ConfigurationSaveMode
.Full))
System\Configuration\ConfigurationSection.cs (2)
46
ConfigurationSaveMode
saveMode)
66
tempElement.DataToWriteInternal = saveMode !=
ConfigurationSaveMode
.Minimal;
System\Configuration\DefaultSection.cs (1)
58
ConfigurationSaveMode
saveMode)
System\Configuration\IgnoreSection.cs (1)
58
ConfigurationSaveMode
saveMode)
System\Configuration\MgmtConfigurationRecord.cs (17)
951
internal void SaveAs(string filename,
ConfigurationSaveMode
saveMode, bool forceUpdateAll)
1153
ConfigurationSaveMode
saveMode)
1167
(saveMode ==
ConfigurationSaveMode
.Full) ||
1168
((saveMode ==
ConfigurationSaveMode
.Modified) &&
1179
(saveMode ==
ConfigurationSaveMode
.Full) ||
1180
((saveMode ==
ConfigurationSaveMode
.Modified) &&
1205
(saveMode ==
ConfigurationSaveMode
.Full) ||
1206
((saveMode ==
ConfigurationSaveMode
.Modified) &&
1217
(saveMode ==
ConfigurationSaveMode
.Full) ||
1218
((saveMode ==
ConfigurationSaveMode
.Modified) &&
1230
if ((saveMode ==
ConfigurationSaveMode
.Full) ||
1231
((saveMode ==
ConfigurationSaveMode
.Modified) &&
1242
if ((saveMode ==
ConfigurationSaveMode
.Full) ||
1243
((saveMode ==
ConfigurationSaveMode
.Modified) &&
1291
private SectionUpdates GetConfigDeclarationUpdates(
ConfigurationSaveMode
saveMode)
1524
bool requireUpdates,
ConfigurationSaveMode
saveMode, bool forceSaveAll,
1610
(saveMode ==
ConfigurationSaveMode
.Full))
System\Configuration\ProviderSettings.cs (1)
84
ConfigurationSaveMode
saveMode)
System\Configuration\SettingValueElement.cs (1)
79
ConfigurationSaveMode
saveMode)
System\Diagnostics\ListenerElementsCollection.cs (1)
275
ConfigurationSaveMode
saveMode)
System\Diagnostics\SourceElementsCollection.cs (1)
126
ConfigurationSaveMode
saveMode)
System\Diagnostics\SwitchElementsCollection.cs (1)
90
ConfigurationSaveMode
saveMode)