Command Class |
Namespace: ImmerseSDK.UI.Commands
public abstract class Command : IComparable, IComparable<Command>, IEquatable<Command>
The Command type exposes the following members.
Name | Description | |
---|---|---|
ID |
The id (default is based on the type name, but you can override this, as long as it's unique)
|
Name | Description | |
---|---|---|
CompareTo(Object) |
Compares two Command objects by comparing their IDs
| |
CompareTo(Command) |
Compares two Command objects by comparing their IDs
| |
Do |
Returns true if the command executed successfully
| |
Equals(Object) |
Equality operator - compares the IDs
(Overrides ObjectEquals(Object).) | |
Equals(Command) |
Checks equality by comparing their IDs
| |
GetHashCode |
Returns the hashcode of the ID property
(Overrides ObjectGetHashCode.) | |
GetIDT |
returns the id for the type given
|
Name | Description | |
---|---|---|
Equality |
Equality operator - compares the IDs
| |
Inequality |
Inequality operator - compares the IDs
|