Skip to content
ConsoleMonster
Class

StylingFluent

ConsoleMonster.Styling

Namespace
ConsoleMonster.Styling
Assembly
ConsoleMonster
Modifiers
static

The fluent methods of ThemeCheckOptions, 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
  • StylingFluent

Methods

public static ThemeCheckOptions Background(ThemeCheckOptions themeCheckOptions, Color? value) #

Sets ThemeCheckOptions.Background: The page colour. Null uses #0c0c0c for a dark Theme or #ffffff for a light Theme; other ITheme implementations need an explicit background.

Parameters

themeCheckOptions ConsoleMonster.Styling.ThemeCheckOptions required
The instance.
value ConsoleMonster.Styling.Color? required
The value.

Returns

ThemeCheckOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ConsoleMonster.Styling.ThemeCheckOptions { Background = value };    themeCheckOptions.Background(value);
public static ThemeCheckOptions GlyphTier(ThemeCheckOptions themeCheckOptions, GlyphTier? value) #

Sets ThemeCheckOptions.GlyphTier: The renderable glyph tier; null means markers cannot be assessed. Defaults to Full.

Parameters

themeCheckOptions ConsoleMonster.Styling.ThemeCheckOptions required
The instance.
value ConsoleMonster.Capabilities.GlyphTier? required
The value.

Returns

ThemeCheckOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ConsoleMonster.Styling.ThemeCheckOptions { GlyphTier = value };    themeCheckOptions.GlyphTier(value);
public static ThemeCheckOptions StatusMarkers(ThemeCheckOptions themeCheckOptions, StatusMarkerStyle? value) #

Sets ThemeCheckOptions.StatusMarkers: The profile's status-marker override; null uses the theme's appearance, or Symbols for another ITheme implementation.

Parameters

themeCheckOptions ConsoleMonster.Styling.ThemeCheckOptions required
The instance.
value ConsoleMonster.Styling.StatusMarkerStyle? required
The value.

Returns

ThemeCheckOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ConsoleMonster.Styling.ThemeCheckOptions { StatusMarkers = value };    themeCheckOptions.StatusMarkers(value);