Table of Contents

Constructor CommandContext

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

CommandContext(Command, Key?, KeyBinding?, object?)

Initializes a new instance of CommandContext with the specified Command,

public CommandContext(Command command, Key? key, KeyBinding? keyBinding = null, object? data = null)

Parameters

command Command
key Key
keyBinding KeyBinding?
data object