Skip to content
ConsoleMonster
Class

RunSummary

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Implements
IWidget
Modifiers
sealed

Print-once run totals, group counts and complete wrapped problem details. It is never height-limited by the live dashboard.

Inheritance

  • object
  • RunSummary

Usage

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

Accepted by parameters 4

Constructors

public RunSummary(RunTracker tracker) #

Creates a final summary over the shared tracker.

Parameters

tracker ConsoleMonster.Live.RunTracker required
The run state.

Methods

public Size Measure(Constraints constraints, RenderContext context) #

Returns the size the widget wants within the constraints.

Parameters

constraints ConsoleMonster.Layout.Constraints required
The space offered.
context ConsoleMonster.Canvas.RenderContext required
Profile, theme and glyphs.

Returns

Size The desired size, never larger than the constraints.
public void Render(Region region, RenderContext context) #

Renders into a region. The region may be smaller or larger than the measured size.

Parameters

region ConsoleMonster.Canvas.Region required
The target region.
context ConsoleMonster.Canvas.RenderContext required
Profile, theme and glyphs.

Properties

public string Title { get; set; } #

The literal run name.

public string? ReportPath { get; set; } #

Optional report location printed after the problems.

Extension Methods

public static RunSummary WithReportPath(RunSummary runSummary, string? value) #

Sets RunSummary.ReportPath: Optional report location printed after the problems.

Parameters

runSummary ConsoleMonster.Widgets.RunSummary required
The instance.
value string? required
The value.

Returns

RunSummary The same instance.
public static RunSummary WithTitle(RunSummary runSummary, string value) #

Sets RunSummary.Title: The literal run name.

Parameters

runSummary ConsoleMonster.Widgets.RunSummary required
The instance.
value string required
The value.

Returns

RunSummary The same instance.