[]
Initializes a new instance of the CommandAdapter class.
public CommandAdapter()
Initializes a new instance of the CommandAdapter class.
public CommandAdapter(ICommand command)
Type | Name | Description |
---|---|---|
ICommand | command | The command to adapt. |
Type | Condition |
---|---|
ArgumentException | Thrown when the command is null. |