CommandTStateDoNow Method (Action, Action, String) |
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,
string description
)
Public Shared Sub DoNow (
doFunc As Action,
undoFunc As Action,
description As String
)
Parameters
- doFunc
- Type: SystemAction
The do func. - undoFunc
- Type: SystemAction
The undo func. - description
- Type: SystemString
The description.
See Also