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