Skip to content
ConsoleMonster
Class

HelpValue

ConsoleMonster.Help

Namespace
ConsoleMonster.Help
Assembly
ConsoleMonster
Modifiers
sealed

A named value or value family shown in compact CLI help.

Inheritance

  • object
  • HelpValue

Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 3

Accepted by parameters 6

Constructors

public HelpValue(string name, string? description, string? group = null) #

Creates a catalog entry.

Parameters

name string required
The literal value syntax.
description string? required
Its description.
group string? = null optional
An optional group heading.

Properties

public string Name { get; } #

The literal value syntax.

public string Description { get; } #

The description.

public string? Group { get; } #

The optional group heading.

public string? Note { get; set; } #

An optional dim note displayed separately after the description.

Extension Methods

public static HelpValue WithNote(HelpValue helpValue, string? value) #

Sets HelpValue.Note: An optional dim note displayed separately after the description.

Parameters

helpValue ConsoleMonster.Help.HelpValue required
The instance.
value string? required
The value.

Returns

HelpValue The same instance.