Skip to content
ConsoleMonster
Class

LegendFluent

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Modifiers
static
Attributes
GeneratedCode("ConsoleMonster.Generators", "1.0.0")

The fluent methods of Legend, generated from its public properties: A property-named method sets a property and Add... adds to a collection, both returning the same instance.

Inheritance

  • object
  • LegendFluent

Methods

AddEntries 2 overloads
public static Legend AddEntries(Legend legend, params string[] items) #

Adds items to Legend.Entries: Markup entries in display order.

Parameters

legend ConsoleMonster.Widgets.Legend required
The instance.
items string[] required
The items, in order.

Returns

Legend The same instance.
public static Legend AddEntries(Legend legend, IEnumerable<string> items) #

Adds items to Legend.Entries: Markup entries in display order.

Parameters

legend ConsoleMonster.Widgets.Legend required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

Legend The same instance.
public static Legend AddEntry(Legend legend, string item) #

Adds an item to Legend.Entries: Markup entries in display order.

Parameters

legend ConsoleMonster.Widgets.Legend required
The instance.
item string required
The item.

Returns

Legend The same instance.