Class Group
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
CommandThe command linked to the root.
childGroup
GroupThe child group.
childSubCommand
SubCommandThe child sub-command.
Properties
ChildGroup
The immediate child group.
public Group? ChildGroup { get; set; }
Property Value
ChildSubCommand
The child sub-command.
public SubCommand? ChildSubCommand { get; set; }
Property Value
LinkedCommand
The linked command of this group.
public Command LinkedCommand { get; set; }