Constructor CommandContext
CommandContext(Command, WeakReference<View>?, IInputBinding?)
Initializes a new instance with the specified Command.
public CommandContext(Command command, WeakReference<View>? source, IInputBinding? binding)
Parameters
commandCommandThe command being invoked.
sourceWeakReference<View>A weak reference to the view that is the source of the command invocation.
bindingIInputBindingThe binding that triggered the command, if any.