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