Table of Contents

Class TerminalParsedRequest

Namespace
OneImlx.Terminal.Runtime
Assembly
OneImlx.Terminal.dll

The raw representation of a parsed TerminalRequest.

public sealed class TerminalParsedRequest
Inheritance
TerminalParsedRequest
Inherited Members

Constructors

TerminalParsedRequest(IEnumerable<string>, Dictionary<string, (string, bool)>)

Initializes a new instance of the TerminalParsedRequest class.

public TerminalParsedRequest(IEnumerable<string> tokens, Dictionary<string, (string, bool)> options)

Parameters

tokens IEnumerable<string>

The parsed tokens that represent a root, groups, command, and arguments.

options Dictionary<string, (string, bool)>

The parsed options.

Properties

Options

Gets the parsed options.

public Dictionary<string, (string, bool)> Options { get; }

Property Value

Dictionary<string, (string, bool)>

Tokens

Gets the parsed tokens that represent an ordered collection of root, groups, command, and arguments.

public IEnumerable<string> Tokens { get; }

Property Value

IEnumerable<string>