Table of Contents

Method WithRouting

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

WithRouting(CommandRouting)

Creates a new context with different routing, preserving all other fields.

public CommandContext WithRouting(CommandRouting routing)

Parameters

routing CommandRouting

The new routing mode.

Returns

CommandContext

A new CommandContext with the specified routing.