SourceAwareTargetedCommandTEventArgs, TTarget(ActionICommandSourceTEventArgs, TTarget) Constructor

Initializes a new instance of the SourceAwareTargetedCommandTEventArgs, TTarget class.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public SourceAwareTargetedCommand(
	Action<ICommandSource<TEventArgs>, TTarget> callback
)

Parameters

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

Exceptions

See Also