CommandTState Constructor (Action, FuncTState, ActionTState) | 
  
    Namespace: 
   SD.Tools.Algorithmia.Commands
    Assembly:
   SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.4.0.0 (1.4.19.0711)
Syntaxpublic Command(
	Action doFunc,
	Func<TState> getStateFunc,
	Action<TState> undoFunc
)
Public Sub New ( 
	doFunc As Action,
	getStateFunc As Func(Of TState),
	undoFunc As Action(Of TState)
)
Parameters
- doFunc
 - Type: SystemAction
The do func, used for performing the Do operation, which is a func which doesn't accept any parameters. - getStateFunc
 - Type: SystemFuncTState
The get state func, which is the func to use to get the state. - undoFunc
 - Type: SystemActionTState
The undo func, which is the func to undo the action performed by the doFunc. Can be the same as
            doFunc. 
See Also