Skip to main content

BasePart

A class in Root.Township, Alta.Console.

Base of console command pieces that have a name and description: CommandPart and Parameter.

Constructors​

MemberWhat it is
BasePart(string name, string description)Creates a BasePart from name and description.

Properties​

MemberWhat 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​

MemberWhat it is
override string ToString()The name.

Used in​

Members of other types that take, return or hold a BasePart: