Skip to content
ConsoleMonster

API Reference

Class

RunResult`2

Namespace ConsoleMonster.Live
Assembly ConsoleMonster
Modifiers sealed

The outcome of one item of ConsoleRun.ForEachAsync.

Inheritance

  • Object
  • RunResult`2

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 5

Type Parameters

TItem
The item type.
TResult
The result type.

Properties

public Int32 Index { get; } #

The item's position in the input (0-based).

public TItem? Item { get; } #

The item.

public TResult? Value { get; } #

The result, or the default value when the item failed.

public Exception? Error { get; } #

The error, or null when the item succeeded.

public TimeSpan Duration { get; } #

How long the item took.

public Boolean TimedOut { get; } #

Whether the item ran out of time.

public Boolean Succeeded { get; } #

Whether the item succeeded.