Class SettingChangeInfo
Payload for the SettingsChangeEvent, which tells the setting which property to change and what to set it to.
Inheritance
System.Object
SettingChangeInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Settings
Assembly: Phoenix.Abstractions.Settings.dll
Syntax
public class SettingChangeInfo
Constructors
View SourceSettingChangeInfo(String, String, Object, Object)
Initializes a new instance of the SettingChangeInfo class.
Declaration
public SettingChangeInfo(string categoryName, string settingName, object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | categoryName | Name of the category the setting belongs to. |
System.String | settingName | Name of the setting. |
System.Object | oldValue | The old/current settings. |
System.Object | newValue | The new settings. |
Properties
View SourceCategoryName
Gets the name of the category that the setting belongs to.
Declaration
public string CategoryName { get; }
Property Value
Type | Description |
---|---|
System.String |
NewValue
Gets the new value of the setting.
Declaration
public object NewValue { get; }
Property Value
Type | Description |
---|---|
System.Object |
OldValue
Gets the old value of the setting.
Declaration
public object OldValue { get; }
Property Value
Type | Description |
---|---|
System.Object |
SettingName
Gets the name of the setting.
Declaration
public string SettingName { get; }
Property Value
Type | Description |
---|---|
System.String |