The C1Command type exposes the following members.
Constructors
Name | Description | |
---|---|---|
C1Command()()()() |
Initializes a new instance of the C1Command class.
|
|
C1Command(String, Type) |
Initializes a new instance of the C1Command class with the specified name and owner type.
|
Methods
Name | Description | |
---|---|---|
CanExecute |
Determines whether this C1Command can execute in its current state.
|
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Execute |
Executes the C1Command on the current command target.
|
|
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.) |
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString |
Returns a String that represents the current command.
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
Name |
Gets the name of the command.
|
|
OwnerType |
Gets the type that is registered with the command.
|
Events
Name | Description | |
---|---|---|
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
Name | Description | |
---|---|---|
ICommand..::..CanExecute | ||
ICommand..::..Execute |