The C1Command type exposes the following members.

Constructors

  Name Description
Public method C1Command()()()()
Initializes a new instance of the C1Command class.
Public method C1Command(String, Type)
Initializes a new instance of the C1Command class with the specified name and owner type.

Methods

  Name Description
Public method CanExecute
Determines whether this C1Command can execute in its current state.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method Execute
Executes the C1Command on the current command target.
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current command.
(Overrides Object..::..ToString()()()().)

Properties

  Name Description
Public property Name
Gets the name of the command.
Public property OwnerType
Gets the type that is registered with the command.

Events

  Name Description
Public event CanExecuteChanged
Occurs when changes to the command source are detected by the command manager. These changes often affect whether the command should execute on the current command target.

Explicit Interface Implementations

See Also