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