[]
Represents an abstract command.
public abstract class Command : IDisposable
Public MustInherit Class Command
Implements IDisposable
| Name | Description |
|---|---|
| Command() | Initializes a new instance of the Command class. |
| Command(IWorkbook) | Initializes a new instance of the Command class with the specified workbook. |
| Command(IWorksheet) | Initializes a new instance of the Command class with the specified workbook. |
| Name | Description |
|---|---|
| IsDisposed | Gets or sets a boolean value indicates whether this object is disposed. |
| IsUIAction | Gets or sets a boolean value indicates whether the command is executed from an UI action. |
| StopClipboardCopying | Gets a value indicating whether the CutCopyMode is set to None after this command executed. |
| UndoSupport | Gets the UndoSupport value indicates whether this command is undoable. |
| Workbook | Gets the workbook. |
| Worksheet | Gets or sets the worksheet. |
| Name | Description |
|---|---|
| BeforeExecute() | Invoked before execute the command. |
| BeforeExecute(bool) | Invoked before execute the command. |
| Clone() | Clones this command object. |
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| Dispose(bool) | Releases unmanaged and managed resources. |
| Execute(Workbook) | Executes this command. |
| ExecuteCore(ref CommandResult, bool) | Executes this command. |
| OnException(Exception) | Called when the exception occurs. |
| OnException(string) | Called when the exception occurs. |
| OnRefineInputData() | Refines the input data. |
| Redo(Workbook) | Redo this command. |
| SaveUndoState() | Saves the data for undoing. |
| SaveUndoStateCore() | Saves the data for undoing. |
| Undo(bool) | Undoes this command. |