Struct ControllerId
Represents a Stone controller ID.
Implements
System.IEquatable <ControllerId >
System.IEquatable <System.String >
System.IComparable <System.String >
System.IComparable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Snowflake.Input.Controller
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public struct ControllerId : IEquatable<ControllerId>, IEquatable<string>, IComparable<string>, IComparable
Methods
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
CompareTo(String)
Declaration
public int CompareTo(string other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other |
Returns
Type | Description |
---|---|
System. |
Equals(ControllerId)
Declaration
public bool Equals(ControllerId other)
Parameters
Type | Name | Description |
---|---|---|
Controller |
other |
Returns
Type | Description |
---|---|
System. |
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other |
Returns
Type | Description |
---|---|
System. |
Overrides
System.ValueType.Equals(System.Object)
Equals(String)
Declaration
public bool Equals(string other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other |
Returns
Type | Description |
---|---|
System. |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
Overrides
System.ValueType.ToString()
Operators
Equality(ControllerId, ControllerId)
Declaration
public static bool operator ==(ControllerId x, ControllerId y)
Parameters
Type | Name | Description |
---|---|---|
Controller |
x | |
Controller |
y |
Returns
Type | Description |
---|---|
System. |
Implicit(ControllerId to String)
Implicitly converts from a Controller
Declaration
public static implicit operator string (ControllerId id)
Parameters
Type | Name | Description |
---|---|---|
Controller |
id | The Controller |
Returns
Type | Description |
---|---|
System. |
The Controller |
Implicit(String to ControllerId)
Implicitly converts from a System.
Declaration
public static implicit operator ControllerId(string other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other | The string to convert. |
Returns
Type | Description |
---|---|
Controller |
The Controller |
Inequality(ControllerId, ControllerId)
Declaration
public static bool operator !=(ControllerId x, ControllerId y)
Parameters
Type | Name | Description |
---|---|---|
Controller |
x | |
Controller |
y |
Returns
Type | Description |
---|---|
System. |
Implements
System.IEquatable<T>
System.IEquatable<T>
System.IComparable<T>
System.IComparable