Class RotateProductCommand
Inheritance
RotateProductCommand
Constructors
(constructor)(_productHandler, historyArgs, product, args)
Constructs a new instance of the RotateProductCommand class
Declaration
constructor(_productHandler: ProductHandler, historyArgs: IHistoryArgs, product: Product, args: IRotateProductCmdArgs);
Parameters
Methods
_executeCommandBody()
Declaration
_executeCommandBody(): Promise<number>;
Returns
| Type |
Description |
| Promise<number> |
|
redo()
Declaration
Returns
| Type |
Description |
| Promise<void> |
|
rotateProduct(type)
Declaration
rotateProduct(type: RotationType): number;
Parameters
Returns
undo()
Declaration
Returns
| Type |
Description |
| Promise<void> |
|