Class SettingChangedEventArgs
Represents the arguments of an event raised when an app setting change.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public sealed class SettingChangedEventArgs : EventArgs
Constructors
SettingChangedEventArgs(string, object?)
Initializes a new instance of the SettingChangedEventArgs class.
Declaration
public SettingChangedEventArgs(string settingName, object? newValue)
Parameters
Type | Name | Description |
---|---|---|
string | settingName | The name of the setting that changed. |
object | newValue | The new value of the setting. |
Properties
NewValue
Gets the new value of the setting.
Declaration
public object? NewValue { get; }
Property Value
Type | Description |
---|---|
object |
SettingName
Gets the name of the setting that changed.
Declaration
public string SettingName { get; }
Property Value
Type | Description |
---|---|
string |