Skip to content
ConsoleMonster
Class

OverviewItem

ConsoleMonster.Overview

Namespace
ConsoleMonster.Overview
Assembly
ConsoleMonster
Modifiers
sealed

A plain-text observation, optionally drawn as a percentage bar.

Inheritance

  • object
  • OverviewItem

Usage

Explore 2 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.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public OverviewItem(string label, string value, double? percentage = null, ThemeToken tone = Text) #

Creates an observation without interpreting its text as markup.

Parameters

label string required
The metric, volume, interface or event label.
value string required
A readable value or description.
percentage double? = null optional
An optional used percentage, from zero to 100.
tone ConsoleMonster.Styling.ThemeToken = Text optional
The semantic tone for a non-bar observation.

Properties

public string Label { get; } #

The plain-text metric or observation label.

public string Value { get; } #

The plain-text formatted value.

public double? Percentage { get; } #

The used percentage, or null for text observations.

public ThemeToken Tone { get; } #

The semantic text tone.