Table of Contents

Struct CommandContext<TBinding>

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Provides context for a Command invocation.

public record struct CommandContext<TBinding> : ICommandContext, IEquatable<CommandContext<TBinding>>

Type Parameters

TBinding
Implements
Inherited Members

Constructors

CommandContext(Command, TBinding?)

Initializes a new instance with the specified Command,

Properties

Binding

The keyboard or mouse minding that was used to invoke the Command, if any.

Command

The Command that is being invoked.