TargetedCommandTTarget(ActionICommandState, TTarget) Constructor

Initializes a new instance of the TargetedCommandTTarget class.

Definition

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

Parameters

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

Exceptions

See Also