Skip to content
ConsoleMonster
Class

OverviewOptionsFluent

ConsoleMonster.Overview

Namespace
ConsoleMonster.Overview
Assembly
ConsoleMonster
Modifiers
static
Attributes
GeneratedCode("ConsoleMonster.Generators", "1.0.0")

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

Inheritance

  • object
  • OverviewOptionsFluent

Methods

public static OverviewOptions CollectionBudget(OverviewOptions overviewOptions, TimeSpan value) #

Sets OverviewOptions.CollectionBudget: The caller's collection budget, positive and at most 900 ms; default 750 ms.

Parameters

overviewOptions ConsoleMonster.Overview.OverviewOptions required
The instance.
value System.TimeSpan required
The value.

Returns

OverviewOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ConsoleMonster.Overview.OverviewOptions { CollectionBudget = value };    Ui.Options<global::ConsoleMonster.Overview.OverviewOptions>().CollectionBudget(value);
public static OverviewOptions ProbeTimeout(OverviewOptions overviewOptions, TimeSpan value) #

Sets OverviewOptions.ProbeTimeout: The cooperative timeout for each probe, positive and at most two seconds.

Parameters

overviewOptions ConsoleMonster.Overview.OverviewOptions required
The instance.
value System.TimeSpan required
The value.

Returns

OverviewOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Overview.OverviewOptions { ProbeTimeout = value };    Ui.Options<global::ConsoleMonster.Overview.OverviewOptions>().ProbeTimeout(value);
public static OverviewOptions Sections(OverviewOptions overviewOptions, IReadOnlyList<string>? value) #

Sets OverviewOptions.Sections: Section keys, in requested order; null selects all registered sections.

Parameters

overviewOptions ConsoleMonster.Overview.OverviewOptions required
The instance.
value System.Collections.Generic.IReadOnlyList<string>? required
The value.

Returns

OverviewOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ConsoleMonster.Overview.OverviewOptions { Sections = value };    Ui.Options<global::ConsoleMonster.Overview.OverviewOptions>().Sections(value);