58 references to ConfigurationSaveMode
System.Configuration (47)
System\Configuration\AppSettingsSection.cs (1)
98
protected internal override string SerializeSection(ConfigurationElement parentElement, string name,
ConfigurationSaveMode
saveMode) {
System\Configuration\Configuration.cs (7)
199
SaveAsImpl(null,
ConfigurationSaveMode
.Modified, false);
202
public void Save(
ConfigurationSaveMode
saveMode) {
206
public void Save(
ConfigurationSaveMode
saveMode, bool forceSaveAll) {
211
SaveAs(filename,
ConfigurationSaveMode
.Modified, false);
214
public void SaveAs(string filename,
ConfigurationSaveMode
saveMode) {
218
public void SaveAs(string filename,
ConfigurationSaveMode
saveMode, bool forceSaveAll) {
226
private void SaveAsImpl(string filename,
ConfigurationSaveMode
saveMode, bool forceSaveAll) {
System\Configuration\ConfigurationElement.cs (11)
984
ConfigurationSaveMode
saveMode) {
1049
if ((prop.IsRequired == true || saveMode ==
ConfigurationSaveMode
.Full) && (value == null || value == s_nullPropertyValue)) {
1071
case
ConfigurationSaveMode
.Minimal: {
1077
case
ConfigurationSaveMode
.Modified: {
1090
case
ConfigurationSaveMode
.Full: {
1886
ConfigurationSaveMode
saveMode) {
1889
case
ConfigurationSaveMode
.Modified: {
1898
case
ConfigurationSaveMode
.Minimal: {
1911
if (saveMode ==
ConfigurationSaveMode
.Modified || saveMode ==
ConfigurationSaveMode
.Minimal) {
1918
saveMode ==
ConfigurationSaveMode
.Modified)) {
System\Configuration\ConfigurationElementCollection.cs (6)
205
ConfigurationSaveMode
saveMode) {
239
EmitClear = (saveMode ==
ConfigurationSaveMode
.Full && (_clearElement.Length != 0)) ||
240
(saveMode ==
ConfigurationSaveMode
.Modified && bCollectionCleared) ?
260
if (saveMode ==
ConfigurationSaveMode
.Modified) {
372
(saveMode ==
ConfigurationSaveMode
.Modified && sourceItem.IsModified()) ||
373
(saveMode ==
ConfigurationSaveMode
.Full)) {
System\Configuration\ConfigurationSection.cs (2)
65
protected internal virtual string SerializeSection(ConfigurationElement parentElement, string name,
ConfigurationSaveMode
saveMode) {
83
TempElement.DataToWriteInternal = (saveMode !=
ConfigurationSaveMode
.Minimal);
System\Configuration\DefaultSection.cs (1)
56
protected internal override string SerializeSection(ConfigurationElement parentSection, string name,
ConfigurationSaveMode
saveMode) {
System\Configuration\IgnoreSection.cs (1)
56
protected internal override string SerializeSection(ConfigurationElement parentSection, string name,
ConfigurationSaveMode
saveMode) {
System\Configuration\MgmtConfigurationRecord.cs (17)
1138
internal void SaveAs(string filename,
ConfigurationSaveMode
saveMode, bool forceUpdateAll) {
1323
private string GetUpdatedSectionDeclarationXml(FactoryRecord factoryRecord, ConfigurationSection configSection,
ConfigurationSaveMode
saveMode) {
1336
(saveMode ==
ConfigurationSaveMode
.Full) ||
1337
((saveMode ==
ConfigurationSaveMode
.Modified) &&
1347
(saveMode ==
ConfigurationSaveMode
.Full) ||
1348
(saveMode ==
ConfigurationSaveMode
.Modified && configSection.SectionInformation.AllowDefinitionModified)) {
1373
(saveMode ==
ConfigurationSaveMode
.Full) ||
1374
(saveMode ==
ConfigurationSaveMode
.Modified && configSection.SectionInformation.AllowExeDefinitionModified)) {
1384
(saveMode ==
ConfigurationSaveMode
.Full) ||
1385
(saveMode ==
ConfigurationSaveMode
.Modified && configSection.SectionInformation.OverrideModeDefaultModified)) {
1395
else if ((saveMode ==
ConfigurationSaveMode
.Full) ||
1396
(saveMode ==
ConfigurationSaveMode
.Modified && configSection.SectionInformation.RestartOnExternalChangesModified)) {
1403
else if ((saveMode ==
ConfigurationSaveMode
.Full) ||
1404
(saveMode ==
ConfigurationSaveMode
.Modified && configSection.SectionInformation.RequirePermissionModified)) {
1475
private SectionUpdates GetConfigDeclarationUpdates(
ConfigurationSaveMode
saveMode, bool forceUpdateAll) {
1687
bool requireUpdates,
ConfigurationSaveMode
saveMode, bool forceSaveAll,
1754
saveMode ==
ConfigurationSaveMode
.Full) {
System\Configuration\ProviderSettings.cs (1)
55
ConfigurationSaveMode
saveMode)
System.ServiceModel (5)
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (1)
311
protected override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement,
ConfigurationSaveMode
saveMode)
System\ServiceModel\Configuration\SecurityElementBase.cs (1)
848
protected override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement,
ConfigurationSaveMode
saveMode)
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (1)
595
protected override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement,
ConfigurationSaveMode
saveMode)
System\ServiceModel\Configuration\UnrecognizedPolicyAssertionElement.cs (1)
108
protected override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement,
ConfigurationSaveMode
saveMode)
System\ServiceModel\Configuration\XmlElementElementCollection.cs (1)
32
ConfigurationSaveMode
saveMode)
System.Web (5)
Configuration\AuthorizationRule.cs (1)
96
ConfigurationSaveMode
saveMode) {
Configuration\IdentitySection.cs (1)
136
ConfigurationSaveMode
saveMode) {
Configuration\ProfileGroupSettings.cs (1)
85
ConfigurationSaveMode
saveMode) {
Configuration\ProfileGroupSettingsCollection.cs (1)
91
ConfigurationSaveMode
saveMode) {
Configuration\RootProfilePropertySettingsCollection.cs (1)
115
ConfigurationSaveMode
saveMode) {
System.WorkflowServices (1)
System\ServiceModel\Configuration\PersistenceProviderElement.cs (1)
141
protected override void Unmerge(ConfigurationElement sourceElement, ConfigurationElement parentElement,
ConfigurationSaveMode
saveMode)