TargetedCommandTTarget, TParam(ActionICommandState, TTarget, TParam) Constructor

Initializes a new instance of the TargetedCommandTTarget, TParam class.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public TargetedCommand(
	Action<ICommandState, TTarget, TParam> callback
)

Parameters

callback  ActionICommandState, TTarget, TParam
A delegate to invoke when the command is triggered.

Exceptions

See Also