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.Commands
Assembly:
SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.0.0 (1.3.17.0314)
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