Skip to content
ConsoleMonster
Class

TableRowRoleFluent

ConsoleMonster.Widgets

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

The fluent methods of TableRowRole, 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
  • TableRowRoleFluent

Methods

public static TableRowRole AsciiMarker(TableRowRole tableRowRole, string? value) #

Sets TableRowRole.AsciiMarker: The ASCII marker; null uses TableRowRole.Marker.

Parameters

tableRowRole ConsoleMonster.Widgets.TableRowRole required
The instance.
value string? required
The value.

Returns

TableRowRole The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { AsciiMarker = value };    tableRowRole.AsciiMarker(value);
Bold 2 overloads
public static TableRowRole Bold(TableRowRole tableRowRole, bool value) #

Sets TableRowRole.Bold: Apply bold emphasis to every cell.

Parameters

tableRowRole ConsoleMonster.Widgets.TableRowRole required
The instance.
value bool required
The value.

Returns

TableRowRole The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { Bold = value };    tableRowRole.Bold(value);
public static TableRowRole Bold(TableRowRole tableRowRole) #

Sets TableRowRole.Bold to true.

Parameters

tableRowRole ConsoleMonster.Widgets.TableRowRole required
The instance to configure.

Returns

TableRowRole The same instance.
public static TableRowRole Marker(TableRowRole tableRowRole, string? value) #

Sets TableRowRole.Marker: A plain text marker for RoleTable's dedicated marker column.

Parameters

tableRowRole ConsoleMonster.Widgets.TableRowRole required
The instance.
value string? required
The value.

Returns

TableRowRole The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { Marker = value };    tableRowRole.Marker(value);
public static TableRowRole MarkerTone(TableRowRole tableRowRole, ThemeToken? value) #

Sets TableRowRole.MarkerTone: Optional marker-only role, without changing the rest of the row.

Parameters

tableRowRole ConsoleMonster.Widgets.TableRowRole required
The instance.
value ConsoleMonster.Styling.ThemeToken? required
The value.

Returns

TableRowRole The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { MarkerTone = value };    tableRowRole.MarkerTone(value);
Muted 2 overloads
public static TableRowRole Muted(TableRowRole tableRowRole, bool value) #

Sets TableRowRole.Muted: Mute every cell; an explicit TableRowRole.Tone takes precedence.

Parameters

tableRowRole ConsoleMonster.Widgets.TableRowRole required
The instance.
value bool required
The value.

Returns

TableRowRole The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { Muted = value };    tableRowRole.Muted(value);
public static TableRowRole Muted(TableRowRole tableRowRole) #

Sets TableRowRole.Muted to true.

Parameters

tableRowRole ConsoleMonster.Widgets.TableRowRole required
The instance to configure.

Returns

TableRowRole The same instance.
public static TableRowRole Tone(TableRowRole tableRowRole, ThemeToken? value) #

Sets TableRowRole.Tone: An optional theme role for every cell in the row.

Parameters

tableRowRole ConsoleMonster.Widgets.TableRowRole required
The instance.
value ConsoleMonster.Styling.ThemeToken? required
The value.

Returns

TableRowRole The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ConsoleMonster.Widgets.TableRowRole { Tone = value };    tableRowRole.Tone(value);