SourceAwareTargetedCommandTEventArgs, TTarget, TParam(ActionICommandSourceTEventArgs, ICommandState, TTarget, TParam) Constructor

Initializes a new instance of the SourceAwareTargetedCommandTEventArgs, TTarget, TParam class.

Definition

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

Parameters

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

Exceptions

See Also