SimpleCommandTParam(ActionICommandState, TParam) Constructor

Initializes a new instance of the SimpleCommandTParam class.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public SimpleCommand(
	Action<ICommandState, TParam> callback
)

Parameters

callback  ActionICommandState, TParam
A delegate to invoke when the command is triggered.

Exceptions

See Also