Skip to content
ConsoleMonster
Class

LogoFluent

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Modifiers
static

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

Inheritance

  • object
  • LogoFluent

Methods

public static Logo Alignment(Logo logo, HorizontalAlignment value) #

Sets Logo.Alignment: Alignment of the banner and tagline (default left).

Parameters

logo ConsoleMonster.Widgets.Logo required
The instance.
value ConsoleMonster.Layout.HorizontalAlignment required
The value.

Returns

Logo The same instance.

Examples

// C# initializer or property    // C# fluent
logo.Alignment = value;          Ui.Logo().Alignment(value);
public static Logo EndColor(Logo logo, Color value) #

Sets Logo.EndColor: The gradient end colour (default violet).

Parameters

logo ConsoleMonster.Widgets.Logo required
The instance.
value ConsoleMonster.Styling.Color required
The value.

Returns

Logo The same instance.

Examples

// C# initializer or property    // C# fluent
logo.EndColor = value;           Ui.Logo().EndColor(value);
public static Logo StartColor(Logo logo, Color value) #

Sets Logo.StartColor: The gradient start colour (default sky blue).

Parameters

logo ConsoleMonster.Widgets.Logo required
The instance.
value ConsoleMonster.Styling.Color required
The value.

Returns

Logo The same instance.

Examples

// C# initializer or property    // C# fluent
logo.StartColor = value;         Ui.Logo().StartColor(value);
public static Logo Tagline(Logo logo, string? value) #

Sets Logo.Tagline: The tagline (markup).

Parameters

logo ConsoleMonster.Widgets.Logo required
The instance.
value string? required
The value.

Returns

Logo The same instance.

Examples

// C# initializer or property    // C# fluent
logo.Tagline = value;            Ui.Logo().Tagline(value);
public static Logo Text(Logo logo, string value) #

Sets Logo.Text: The banner text.

Parameters

logo ConsoleMonster.Widgets.Logo required
The instance.
value string required
The value.

Returns

Logo The same instance.

Examples

// C# initializer or property    // C# fluent
logo.Text = value;               Ui.Logo().Text(value);