Table of Contents

Class ParsedCommand

Namespace
OneImlx.Terminal.Commands.Parsers
Assembly
OneImlx.Terminal.dll

Represents a parsed command from a command request.

public sealed class ParsedCommand
Inheritance
ParsedCommand
Inherited Members

Constructors

ParsedCommand(Command, IEnumerable<CommandDescriptor>?)

Initializes a new instance.

public ParsedCommand(Command command, IEnumerable<CommandDescriptor>? hierarchy = null)

Parameters

command Command

The command.

hierarchy IEnumerable<CommandDescriptor>

The command hierarchy.

Properties

Command

The parsed raw command.

public Command Command { get; }

Property Value

Command

Hierarchy

The parsed Command hierarchy.

public IEnumerable<CommandDescriptor>? Hierarchy { get; }

Property Value

IEnumerable<CommandDescriptor>