CommandTStateDoNow Method (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.
Namespace: SD.Tools.Algorithmia.CommandsAssembly: SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.14.1118)
Syntax public static void DoNow(
Action doFunc,
Action undoFunc
)
Public Shared Sub DoNow (
doFunc As Action,
undoFunc As Action
)
Parameters
- doFunc
- Type: SystemAction
The do func. - undoFunc
- Type: SystemAction
The undo func.
See Also