Class ReadOnlySetting
The class for a setting which can only be read.
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 class ReadOnlySetting : XboxConfigSetting
Constructors
View SourceReadOnlySetting(String, Object, Boolean)
Initializes a new instance of the ReadOnlySetting class with the specified name and value.
Declaration
public ReadOnlySetting(string friendlyName, object value, bool hasNonMatchingProperties)
Parameters
Type | Name | Description |
---|---|---|
System.String | friendlyName | User-friendly name of the setting |
System.Object | value | Permanent value of the setting |
System.Boolean | hasNonMatchingProperties | Whether or not the setting has non matching properties among the selected devices |
Methods
View SourceValidateValue(Object)
Called to validate that a value is acceptable.
Declaration
protected override bool ValidateValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value to check. |
Returns
Type | Description |
---|---|
System.Boolean | True if valid. |