Skip to content
ConsoleMonster
Class

AppOperationSummary

ConsoleMonster.Interactive

Namespace
ConsoleMonster.Interactive
Assembly
ConsoleMonster
Modifiers
sealed

A completed operation's summary. The backend supplies a retry command over only the failed work.

Inheritance

  • object
  • AppOperationSummary

Usage

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

Accepted by parameters 1

Constructors

public AppOperationSummary(string message, IEnumerable<string>? failures = null, AppCommand? retry = null) #

Creates an immutable summary, copying failures before publishing it to the UI.

Parameters

message string required
failures System.Collections.Generic.IEnumerable<string>? = null optional
retry ConsoleMonster.Interactive.AppCommand? = null optional

Properties

public string Message { get; } #

The final outcome.

public IReadOnlyList<string> Failures { get; } #

Failure descriptions in backend order.

public AppCommand? Retry { get; } #

An explicit retry over failed items; null offers Close/Skip only.