<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0-preview.7.21377.19" />

SettingChangingEventArgs

Provides data for the SettingChanging event.
using System.ComponentModel; namespace System.Configuration { public class SettingChangingEventArgs : CancelEventArgs { private readonly string _settingClass; private readonly string _settingName; private readonly string _settingKey; private readonly object _newValue; public object NewValue => _newValue; public string SettingClass => _settingClass; public string SettingName => _settingName; public string SettingKey => _settingKey; public SettingChangingEventArgs(string settingName, string settingClass, string settingKey, object newValue, bool cancel) : base(cancel) { _settingName = settingName; _settingClass = settingClass; _settingKey = settingKey; _newValue = newValue; } } }