System.Diagnostics.Switch
namespace System.Diagnostics
{
public abstract class Switch
{
public StringDictionary Attributes { get; }
public string Description { get; }
public string DisplayName { get; }
protected int SwitchSetting { get; set; }
protected string Value { get; set; }
protected Switch(string displayName, string description);
protected Switch(string displayName, string description, string defaultSwitchValue);
protected virtual string[] GetSupportedAttributes();
protected virtual void OnSwitchSettingChanged();
protected virtual void OnValueChanged();
}
}