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