Table of Contents

Class Group

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

Represents a notional command group within a Root.

public sealed class Group
Inheritance
Group
Inherited Members

Remarks

A Group always has a LinkedCommand of type Group.

Constructors

Group(Command, Group?, SubCommand?)

Initializes a new instance.

public Group(Command linkedCommand, Group? childGroup = null, SubCommand? childSubCommand = null)

Parameters

linkedCommand Command

The command linked to the root.

childGroup Group

The child group.

childSubCommand SubCommand

The child sub-command.

Properties

ChildGroup

The immediate child group.

public Group? ChildGroup { get; set; }

Property Value

Group

ChildSubCommand

The child sub-command.

public SubCommand? ChildSubCommand { get; set; }

Property Value

SubCommand

LinkedCommand

The linked command of this group.

public Command LinkedCommand { get; set; }

Property Value

Command