Skip to main content

ArlecchinoReport class

Namespace: Arlecchino.Diagnostics · Assembly: Arlecchino

What the application looks like right now, as text for a bug report: the version, the platform, what the terminal can do, and the screen with the modals above it. Resolve it and call ArlecchinoReport.Describe.

public sealed class ArlecchinoReport

Constructors

MemberSummary
ArlecchinoReport(IArlecchinoTerminal, Navigator, ArlecchinoState, ArlecchinoOptions, Surface, AtomHistory)Creates the report. Resolved from the container like any other service.

Methods

MemberSummary
Describe()Builds the report. Nothing here is a secret: it is versions, sizes, the route names of the screens and the type names of the modals — no field values and no text the user typed.

Constructors in detail

ArlecchinoReport(IArlecchinoTerminal, Navigator, ArlecchinoState, ArlecchinoOptions, Surface, AtomHistory)

public ArlecchinoReport(
IArlecchinoTerminal terminal,
Navigator navigator,
ArlecchinoState state,
ArlecchinoOptions options,
Surface surface,
AtomHistory history);

Creates the report. Resolved from the container like any other service.

Parameters

NameTypeDescription
terminalIArlecchinoTerminalThe terminal being drawn to.
navigatorNavigatorWhere the application is.
stateArlecchinoStateModals and the output row.
optionsArlecchinoOptionsHow the application was configured.
surfaceSurfaceThe frame, for its size.
historyAtomHistoryThe undo stack, for its depth.

Methods in detail

Describe()

public string Describe();

Builds the report. Nothing here is a secret: it is versions, sizes, the route names of the screens and the type names of the modals — no field values and no text the user typed.

Returns string — The report, as lines of key: value.