SourceAwareCommandTEventArgs(ActionICommandSourceTEventArgs, ICommandState) Constructor

Initializes a new instance of the SourceAwareCommandTEventArgs class.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public SourceAwareCommand(
	Action<ICommandSource<TEventArgs>, ICommandState> callback
)

Parameters

callback  ActionICommandSourceTEventArgs, ICommandState
A delegate to invoke when the command is triggered.

Exceptions

See Also