Constructor CommandContext
CommandContext(Command, View?, IInputBinding?)
Initializes a new instance with the specified Command.
public CommandContext(Command command, View? source, IInputBinding? binding)
Parameters
commandCommandThe command being invoked.
sourceViewThe view that is the source of the command invocation.
bindingIInputBindingThe binding that triggered the command, if any.