BasePart
A class in Root.Township, Alta.Console.
Base of console command pieces that have a name and description: CommandPart and Parameter.
- Listed in Console, logging and analytics
- Derived types
CommandPart,Parameter
Constructors
| Member | What it is |
|---|---|
BasePart(string name, string description) | Creates a BasePart from name and description. |
Properties
| Member | What it is |
|---|---|
List<BiomeAttribute> Attributes { get; } | Attributes attached to this part. |
string Description { get; private set; } | Help text. |
virtual string FullName { get; } | Full name. Same as Name here; subclasses can add more. |
string Name { get; private set; } | Short name. |
Methods
| Member | What it is |
|---|---|
override string ToString() | The name. |
Used in
Members of other types that take, return or hold a BasePart: