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