Class XboxConfigSetting
The class for a xbox configuration setting.
Inheritance
System.Object
XboxConfigSetting
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.Devices
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public abstract class XboxConfigSetting
Constructors
View SourceXboxConfigSetting(String)
Initializes a new instance of the XboxConfigSetting class with the specified name.
Declaration
protected XboxConfigSetting(string friendlyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | friendlyName | The user-friendly name of the setting |
XboxConfigSetting(String, Object)
Initializes a new instance of the XboxConfigSetting class with the specified name and value.
Declaration
protected XboxConfigSetting(string friendlyName, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | friendlyName | The user-friendly name of the setting |
System.Object | value | The value of the setting |
Properties
View SourceChanged
Gets or sets a value indicating whether or not the configuration has changed.
Declaration
public bool Changed { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasNonMatchingProperties
Gets or sets a value indicating whether or not the setting has non-matching properties among the selected devices.
Declaration
public bool HasNonMatchingProperties { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets the user-friendly name of the setting.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Gets or sets the value of this setting.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
View SourceValidateValue(Object)
Called to validate that a value is acceptable.
Declaration
protected virtual bool ValidateValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value to check. |
Returns
Type | Description |
---|---|
System.Boolean | True if valid. |