Show / Hide Table of Contents

Class ReadOnlySetting

The class for a setting which can only be read.

Inheritance
System.Object
XboxConfigSetting
ReadOnlySetting
Inherited Members
XboxConfigSetting.Name
XboxConfigSetting.Value
XboxConfigSetting.Changed
XboxConfigSetting.HasNonMatchingProperties
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 Source

ReadOnlySetting(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 Source

ValidateValue(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.

Overrides
XboxConfigSetting.ValidateValue(Object)
  • View Source
In This Article
Back to top Generated by DocFX