Skip to content
ConsoleMonster
Class

ProgressHeartbeatFluent

ConsoleMonster

Namespace
ConsoleMonster
Assembly
ConsoleMonster
Modifiers
static

The fluent methods of ProgressHeartbeat, 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
  • ProgressHeartbeatFluent

Methods

public static ProgressHeartbeat Every(ProgressHeartbeat progressHeartbeat, int value) #

Sets ProgressHeartbeat.Every: Writes a line after this many more items (default 0: by time only).

Parameters

progressHeartbeat ConsoleMonster.ProgressHeartbeat required
The instance.
value int required
The value.

Returns

ProgressHeartbeat The same instance.

Examples

// C# initializer or property       // C# fluent
progressHeartbeat.Every = value;    progressHeartbeat.Every(value);
public static ProgressHeartbeat Glyphs(ProgressHeartbeat progressHeartbeat, GlyphTier? value) #

Sets ProgressHeartbeat.Glyphs: The glyph tier of the separators, or null (default) for the current terminal profile's tier.

Parameters

progressHeartbeat ConsoleMonster.ProgressHeartbeat required
The instance.
value ConsoleMonster.Capabilities.GlyphTier? required
The value.

Returns

ProgressHeartbeat The same instance.

Examples

// C# initializer or property        // C# fluent
progressHeartbeat.Glyphs = value;    progressHeartbeat.Glyphs(value);
public static ProgressHeartbeat Interval(ProgressHeartbeat progressHeartbeat, TimeSpan value) #

Sets ProgressHeartbeat.Interval: Writes a line when this much time passed since the last one (default 30 seconds; zero: by count only).

Parameters

progressHeartbeat ConsoleMonster.ProgressHeartbeat required
The instance.
value System.TimeSpan required
The value.

Returns

ProgressHeartbeat The same instance.

Examples

// C# initializer or property          // C# fluent
progressHeartbeat.Interval = value;    progressHeartbeat.Interval(value);