KGy SOFT

TargetedCommandTTarget, TParam Constructor (ActionTTarget, TParam)

KGy SOFT Core Libraries Help

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0-rc.1
Syntax

public TargetedCommand(
	Action<TTarget, TParam> callback
)

Parameters

callback
Type: SystemActionTTarget, TParam
A delegate to invoke when the command is triggered.
Exceptions

ExceptionCondition
ArgumentNullExceptioncallback is .
See Also

Reference