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