Class
ProgressHeartbeatFluent
ConsoleMonster
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
- The instance.
- value int
- The value.
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
- The instance.
- value ConsoleMonster.Capabilities.GlyphTier?
- The value.
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
- The instance.
- value System.TimeSpan
- The value.
Examples
// C# initializer or property // C# fluent
progressHeartbeat.Interval = value; progressHeartbeat.Interval(value);