Open sandboxFocus

Method Execute

Execute(T)

Executes the command with the specified parameter.

Declaration
public void Execute(T parameter)
Parameters
Type Name Description
T parameter

The command parameter.

Exceptions
Type Condition
InvalidOperationException

Thrown when the command cannot be executed (i.e., CanExecute(T) returns false).