Skip to content
ConsoleMonster
Class

RunViewFluent

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Modifiers
static

The fluent methods of RunView, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • RunViewFluent

Methods

public static RunView MaxCellRows(RunView runView, int value) #

Sets RunView.MaxCellRows: The most rows of item cells (default 4).

Parameters

runView ConsoleMonster.Widgets.RunView required
The instance.
value int required
The value.

Returns

RunView The same instance.

Examples

// C# initializer or property    // C# fluent
runView.MaxCellRows = value;     runView.MaxCellRows(value);
public static RunView MaxFailures(RunView runView, int value) #

Sets RunView.MaxFailures: The most failures listed while the run goes on (default 3); more are counted.

Parameters

runView ConsoleMonster.Widgets.RunView required
The instance.
value int required
The value.

Returns

RunView The same instance.

Examples

// C# initializer or property    // C# fluent
runView.MaxFailures = value;     runView.MaxFailures(value);
public static RunView MaxFailuresWhenDone(RunView runView, int value) #

Sets RunView.MaxFailuresWhenDone: The most failures listed once the run has finished (default 10, never fewer than RunView.MaxFailures): the final frame stays in the scrollback.

Parameters

runView ConsoleMonster.Widgets.RunView required
The instance.
value int required
The value.

Returns

RunView The same instance.

Examples

// C# initializer or property           // C# fluent
runView.MaxFailuresWhenDone = value;    runView.MaxFailuresWhenDone(value);
public static RunView MaxListWidth(RunView runView, int value) #

Sets RunView.MaxListWidth: The widest the running items' list gets (default 72), so their times stay next to their names on wide terminals.

Parameters

runView ConsoleMonster.Widgets.RunView required
The instance.
value int required
The value.

Returns

RunView The same instance.

Examples

// C# initializer or property    // C# fluent
runView.MaxListWidth = value;    runView.MaxListWidth(value);
public static RunView MaxRunning(RunView runView, int value) #

Sets RunView.MaxRunning: The most running items listed (default 8); more are counted.

Parameters

runView ConsoleMonster.Widgets.RunView required
The instance.
value int required
The value.

Returns

RunView The same instance.

Examples

// C# initializer or property    // C# fluent
runView.MaxRunning = value;      runView.MaxRunning(value);
public static RunView RetryCount(RunView runView, int value) #

Sets RunView.RetryCount: The retries allowed per item, for the "retry n of m" note on a running retry; zero shows only the attempt.

Parameters

runView ConsoleMonster.Widgets.RunView required
The instance.
value int required
The value.

Returns

RunView The same instance.

Examples

// C# initializer or property    // C# fluent
runView.RetryCount = value;      runView.RetryCount(value);
public static RunView Title(RunView runView, string? value) #

Sets RunView.Title: A title above the summary line (markup), or null.

Parameters

runView ConsoleMonster.Widgets.RunView required
The instance.
value string? required
The value.

Returns

RunView The same instance.

Examples

// C# initializer or property    // C# fluent
runView.Title = value;           runView.Title(value);