SimpleCommandTParam(ActionICommandState, TParam) Constructor
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public SimpleCommand(
Action<ICommandState, TParam> callback
)
Public Sub New (
callback As Action(Of ICommandState, TParam)
)
public:
SimpleCommand(
Action<ICommandState^, TParam>^ callback
)
new :
callback : Action<ICommandState, 'TParam> -> SimpleCommand
Parameters
- callback ActionICommandState, TParam
- A delegate to invoke when the command is triggered.