Skip to content
ConsoleMonster

API Reference

Class

LogoFluent

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

The fluent methods of Logo, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.

Inheritance

  • Object
  • LogoFluent

Methods

public static Logo WithAlignment(Logo logo, HorizontalAlignment value) #
Returns: Logo

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

Parameters

logo ConsoleMonster.Widgets.Logo requiredposition: 0
The instance.
value ConsoleMonster.Layout.HorizontalAlignment requiredposition: 1
The value.

Returns

The same instance.

public static Logo WithFrom(Logo logo, Color value) #
Returns: Logo

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

Parameters

logo ConsoleMonster.Widgets.Logo requiredposition: 0
The instance.
value ConsoleMonster.Styling.Color requiredposition: 1
The value.

Returns

The same instance.

public static Logo WithTagline(Logo logo, String? value) #
Returns: Logo

Sets Logo.Tagline: The tagline (markup).

Parameters

logo ConsoleMonster.Widgets.Logo requiredposition: 0
The instance.
value System.String? requiredposition: 1
The value.

Returns

The same instance.

public static Logo WithText(Logo logo, String value) #
Returns: Logo

Sets Logo.Text: The banner text.

Parameters

logo ConsoleMonster.Widgets.Logo requiredposition: 0
The instance.
value System.String requiredposition: 1
The value.

Returns

The same instance.

public static Logo WithTo(Logo logo, Color value) #
Returns: Logo

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

Parameters

logo ConsoleMonster.Widgets.Logo requiredposition: 0
The instance.
value ConsoleMonster.Styling.Color requiredposition: 1
The value.

Returns

The same instance.