Skip to content
ConsoleMonster
Class

AttentionGroup

ConsoleMonster.Frames

Namespace
ConsoleMonster.Frames
Assembly
ConsoleMonster
Modifiers
sealed

Many items with one state and reason, already counted: the total and a few of their identities. A summary of a streamed result uses it, because it keeps counts and samples rather than every item.

Inheritance

  • object
  • AttentionGroup

Usage

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

Constructors

public AttentionGroup(HealthState state, string reason, long count, IEnumerable<string> names, IComparable? order = null) #

Creates a group.

Parameters

state ConsoleMonster.Frames.HealthState required
The state; healthy groups are ignored.
reason string required
The literal reason, shown Muted.
count long required
How many items the group stands for; at least the number of names.
names System.Collections.Generic.IEnumerable<string> required
Some of their literal identities.
order System.IComparable? = null optional
Sort key within a state, smallest first.

Properties

public HealthState State { get; } #

The state.

public string Reason { get; } #

The literal reason.

public long Count { get; } #

How many items the group stands for.

public IReadOnlyList<string> Names { get; } #

The identities shown; the rest are counted as more.

public IComparable? Order { get; } #

The sort key within a state.