Click or drag to resize

CommandManager Class

Represents an object that manages the command.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCAD.CommandCommandManager

Namespace:  RootPro.RootProCAD.Command
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class CommandManager

The CommandManager type exposes the following members.

Constructors
  NameDescription
Protected methodCommandManager
Initializes a new instance of the CommandManager class
Top
Properties
  NameDescription
Public propertyCommands
Get a collection of commands.
Public propertyCurrentCommand
Get the current command.
Public propertyLastCommand
Get the last executed command.
Top
Methods
  NameDescription
Public methodAddCommand(String)
Define a new command.
Public methodAddCommand(String, String)
Define a new command.
Public methodAddMacroCommand(String, MacroCommandCallback)
Add a macro command.
Public methodAddMacroCommand(String, String, MacroCommandCallback)
Add a macro command.
Public methodAddMacroCommand(String, String, MacroCommandCallback)
Add a macro command.
Public methodAddMacroCommand(String, String, String, MacroCommandCallback)
Add a macro command.
Public methodCancelAllCommands
Abort all currently running commands.
Public methodCancelCurrentCommand
Abort the currently executing command.
Public methodClearParameterHistory
Deletes the input history of command parameters.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteCommand
Execute the command.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveCommand
Delete the command.
Public methodRemoveMacroCommand
Delete the macro command.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also