Skip to content
ConsoleMonster
Struct

FrameState

ConsoleMonster.Frames

Namespace
ConsoleMonster.Frames
Assembly
ConsoleMonster
Base
ValueType
Modifiers
sealed

One state fact on a title line: glyph, count and word, coloured by its state.

Inheritance

  • ValueType
  • FrameState

Usage

Explore 13 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 5

Accepted by parameters 8

Methods

public static FrameState Healthy(string word) #

A single healthy verdict, such as ✓ all healthy.

Parameters

word string required
The literal verdict.

Returns

FrameState The state fact.
public static FrameState Of(HealthState state, long count, string word) #

A counted state, such as × 2 failing. Zero counts are dropped by the frame.

Parameters

state ConsoleMonster.Frames.HealthState required
The state.
count long required
The count.
word string required
The literal word.

Returns

FrameState The state fact.

Properties

public HealthState State { get; } #

The state.

public long? Count { get; } #

The count, or null for a verdict.

public string Word { get; } #

The literal word.