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