Click or drag to resize

Command Class

Base class for a Command
Inheritance Hierarchy

Namespace:  ImmerseSDK.UI.Commands
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public abstract class Command : IComparable, 
	IComparable<Command>, IEquatable<Command>

The Command type exposes the following members.

Constructors
  NameDescription
Protected methodCommand
Initializes a new instance of the Command class
Top
Properties
  NameDescription
Public propertyID
The id (default is based on the type name, but you can override this, as long as it's unique)
Top
Methods
  NameDescription
Public methodCompareTo(Object)
Compares two Command objects by comparing their IDs
Public methodCompareTo(Command)
Compares two Command objects by comparing their IDs
Public methodDo
Returns true if the command executed successfully
Public methodEquals(Object)
Equality operator - compares the IDs
(Overrides ObjectEquals(Object).)
Public methodEquals(Command)
Checks equality by comparing their IDs
Public methodGetHashCode
Returns the hashcode of the ID property
(Overrides ObjectGetHashCode.)
Public methodStatic memberGetIDT
returns the id for the type given
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Equality operator - compares the IDs
Public operatorStatic memberInequality
Inequality operator - compares the IDs
Top
See Also