Skip to content

Commit

Permalink
Fix retrieval of current value in sample ClientSettingsSectionHandler. (
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenMolloy committed Jan 6, 2023
1 parent a80fdf8 commit 89d0e64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public override void InsertOrUpdate(string newKey, string newValue, string oldKe
ConfigSection.Settings.CopyTo(allSettings, 0);

foreach (SettingElement setting in allSettings)
yield return Tuple.Create(setting.Name, setting.Value?.ToString(), (object)setting);
yield return Tuple.Create(setting.Name, setting.Value?.ValueXml?.InnerXml, (object)setting);
}

/// <summary>
Expand Down

0 comments on commit 89d0e64

Please sign in to comment.