SourceAwareTargetedCommandTEventArgs, TTarget, TParam(ActionICommandSourceTEventArgs, TTarget, TParam) Constructor
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public SourceAwareTargetedCommand(
Action<ICommandSource<TEventArgs>, TTarget, TParam> callback
)
Public Sub New (
callback As Action(Of ICommandSource(Of TEventArgs), TTarget, TParam)
)
public:
SourceAwareTargetedCommand(
Action<ICommandSource<TEventArgs>^, TTarget, TParam>^ callback
)
new :
callback : Action<ICommandSource<'TEventArgs>, 'TTarget, 'TParam> -> SourceAwareTargetedCommand
Parameters
- callback ActionICommandSourceTEventArgs, TTarget, TParam
- A delegate to invoke when the command is triggered.