Table of Contents

Constructor CommandContext

Namespace
Terminal.Gui.Input
Assembly
Terminal.Gui.dll

CommandContext(Command, View?, IInputBinding?)

Initializes a new instance with the specified Command.

public CommandContext(Command command, View? source, IInputBinding? binding)

Parameters

command Command

The command being invoked.

source View

The view that is the source of the command invocation.

binding IInputBinding

The binding that triggered the command, if any.