Click or drag to resize
CommandTState Methods

The CommandTState generic type exposes the following members.

Methods
  NameDescription
Protected methodDo
Executes the command.
(Overrides CommandBaseDo.)
Public methodStatic memberDoNow(Action)
Enqueues and runs a new command by passing the function specified. Use this shortcut to wrap several statements into a single undo block.
Public methodStatic memberDoNow(Action, Action)
Enqueues and runs a new command by passing the function specified. Use this shortcut to wrap several statements into a single undo block.
Public methodStatic memberDoNow(Action, Action, String)
Enqueues and runs a new command by passing the function specified. Use this shortcut to wrap several statements into a single undo block.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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.)
Protected methodRedo
Re-executes the command. Normally this is simply calling 'Do', however in an undoable period redo it's calling PerformRedo.
(Inherited from CommandBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodUndo (Overrides CommandBaseUndo.)
Top
See Also