Skip to content
ConsoleMonster
Class

RunUpdateFluent

ConsoleMonster.Live

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

The fluent methods of RunUpdate, 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
  • RunUpdateFluent

Methods

public static RunUpdate Detail(RunUpdate runUpdate, string? value) #

Sets RunUpdate.Detail: The completion detail.

Parameters

runUpdate ConsoleMonster.Live.RunUpdate required
The instance.
value string? required
The value.

Returns

RunUpdate The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::ConsoleMonster.Live.RunUpdate { Detail = value };    runUpdate.Detail(value);
public static RunUpdate Duration(RunUpdate runUpdate, TimeSpan? value) #

Sets RunUpdate.Duration: An optional measured duration.

Parameters

runUpdate ConsoleMonster.Live.RunUpdate required
The instance.
value System.TimeSpan? required
The value.

Returns

RunUpdate The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::ConsoleMonster.Live.RunUpdate { Duration = value };    runUpdate.Duration(value);
public static RunUpdate Index(RunUpdate runUpdate, int value) #

Sets RunUpdate.Index: The zero-based item position.

Parameters

runUpdate ConsoleMonster.Live.RunUpdate required
The instance.
value int required
The value.

Returns

RunUpdate The same instance.

Examples

// C# initializer or property                                   // C# fluent
new global::ConsoleMonster.Live.RunUpdate { Index = value };    runUpdate.Index(value);
public static RunUpdate Label(RunUpdate runUpdate, string? value) #

Sets RunUpdate.Label: The current phase label.

Parameters

runUpdate ConsoleMonster.Live.RunUpdate required
The instance.
value string? required
The value.

Returns

RunUpdate The same instance.

Examples

// C# initializer or property                                   // C# fluent
new global::ConsoleMonster.Live.RunUpdate { Label = value };    runUpdate.Label(value);
public static RunUpdate Status(RunUpdate runUpdate, StatusKind value) #

Sets RunUpdate.Status: Running, Pass, Fail, Warn or Skip.

Parameters

runUpdate ConsoleMonster.Live.RunUpdate required
The instance.
value ConsoleMonster.Styling.StatusKind required
The value.

Returns

RunUpdate The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::ConsoleMonster.Live.RunUpdate { Status = value };    runUpdate.Status(value);