Skip to content
ConsoleMonster

API Reference

Class

DashboardBuilder

Namespace ConsoleMonster.Building
Assembly ConsoleMonster
Base RowsBuilderBase<DashboardBuilder>
Modifiers sealed

Fluent builder for a Dashboard: header, a vertical body built like RowsBuilder, footer. Dashboard dashboard = new DashboardBuilder("Build") .Subtitle("ConsoleMonster 2.0.0") .Add(new Phases(), out Phases phases) .Columns(c => c.Panel("Steps", new StatusList(), out StatusList steps, 1.4).Panel("Module", new KeyValueList(), out KeyValueList info)) .Panel("Output", new LogRegion(), out LogRegion log, fill: true) .BuildDashboard();

Inheritance

  • RowsBuilderBase<DashboardBuilder>
  • DashboardBuilder

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public DashboardBuilder(String title) #

Creates a builder.

Parameters

title System.String requiredposition: 0
The dashboard title (markup).

Methods

public Dashboard BuildDashboard(String name = "dashboard") #
Returns: Dashboard

Builds the dashboard.

Parameters

name System.String = "dashboard" optionalposition: 0
The live name of the dashboard (default dashboard).

Returns

The dashboard.

public DashboardBuilder Subtitle(String subtitle) #
Returns: DashboardBuilder

Sets the subtitle.

Parameters

subtitle System.String requiredposition: 0
The subtitle (markup).

Returns

This builder.