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