Skip to main content

ModuleAttribute

A class in Root.Township, Alta.Console.

Marks a static class as a console command module. Its name becomes the word before the module's commands; modules can nest.

Constructors​

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

Properties​

MemberWhat it is
string Description { get; private set; }Help text for the module.
string Name { get; private set; }The word typed to reach this module's commands, such as caves.