Table of Contents

Method Execute

Namespace
Bonsai.Design
Assembly
Bonsai.Design.dll

Execute(Action, Action)

Specifies a new action for immediate execution, together with the optional undo action which reverses the effects of the command.

public void Execute(Action command, Action undo)

Parameters

command Action

The command to execute.

undo Action

The undo action which reverses the effects of the command. If no undo action is specified, the entire command history up to the execution of this command will be cleared.