Table of Contents

Method InvokeCommands

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

InvokeCommands<TBindingType>(Command[], TBindingType)

Invokes the specified commands.

public bool? InvokeCommands<TBindingType>(Command[] commands, TBindingType binding)

Parameters

commands Command[]

The set of commands to invoke.

binding TBindingType

The binding that caused the invocation, if any. This will be passed as context with the command.

Returns

bool?

null if no command was found; input processing should continue. false if the command was invoked and was not handled (or cancelled); input processing should continue. true if the command was invoked the command was handled (or cancelled); input processing should stop.

Type Parameters

TBindingType