Class UndoCommand
Base class for undoable commands.
Inherited Members
Namespace: Unity.AppUI.Undo
Assembly: solution.dll
Syntax
public abstract class UndoCommand
Constructors
Name | Description |
---|---|
UndoCommand(string) | Creates a new undo command. |
Properties
Name | Description |
---|---|
id | The unique identifier of the command type. |
isObsolete | Whether the command is obsolete. |
memorySize | The memory size of the command. |
name | The name of the command. |
Methods
Name | Description |
---|---|
MergeWith(UndoCommand) | Merges the command with another command. |
OnFlush() | Called when the command is flushed. |
Redo() | Redoes the command. |
Undo() | Undoes the command. |