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