Show / Hide Table of Contents

Struct CommandReference

Contains command information that is returned when a command is registered.

Implements
System.IEquatable<CommandReference>
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Phoenix.DeviceCommands
Assembly: Phoenix.Abstractions.Devices.dll
Syntax
public struct CommandReference : IEquatable<CommandReference>

Properties

View Source

CategoryId

Gets or sets the category id.

Declaration
public int CategoryId { readonly get; set; }
Property Value
Type Description
System.Int32
View Source

CommandId

Gets or sets the id of the command.

Declaration
public Guid CommandId { readonly get; set; }
Property Value
Type Description
System.Guid
View Source

Label

Gets or sets the label for the command.

Declaration
public string Label { readonly get; set; }
Property Value
Type Description
System.String

Methods

View Source

Equals(CommandReference)

Declaration
public bool Equals(CommandReference other)
Parameters
Type Name Description
CommandReference other
Returns
Type Description
System.Boolean
View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()

Operators

View Source

Equality(CommandReference, CommandReference)

Determines if an item is equal to another.

Declaration
public static bool operator ==(CommandReference left, CommandReference right)
Parameters
Type Name Description
CommandReference left

The item to compare.

CommandReference right

The other item.

Returns
Type Description
System.Boolean

The comparison result.

View Source

Inequality(CommandReference, CommandReference)

Determines if an item is equal to another.

Declaration
public static bool operator !=(CommandReference left, CommandReference right)
Parameters
Type Name Description
CommandReference left

The item to compare.

CommandReference right

The other item.

Returns
Type Description
System.Boolean

The comparison result.

Implements

System.IEquatable<T>
  • View Source
In This Article
Back to top Generated by DocFX