Skip to content
ConsoleMonster

API Reference

Class

WatchViewFluent

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

The fluent methods of WatchView, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.

Inheritance

  • Object
  • WatchViewFluent

Methods

public static WatchView WithDifferences(WatchView watchView, Boolean value = true) #
Returns: WatchView

Sets WatchView.Differences: Whether values that changed since the previous run are highlighted (bold on a soft surface; a marker without colour).

Parameters

watchView ConsoleMonster.Widgets.WatchView requiredposition: 0
The instance.
value System.Boolean = true optionalposition: 1
The value (default true).

Returns

The same instance.

public static WatchView WithInterval(WatchView watchView, TimeSpan value) #
Returns: WatchView

Sets WatchView.Interval: The time between runs, shown in the heading.

Parameters

watchView ConsoleMonster.Widgets.WatchView requiredposition: 0
The instance.
value System.TimeSpan requiredposition: 1
The value.

Returns

The same instance.

public static WatchView WithTitle(WatchView watchView, String? value) #
Returns: WatchView

Sets WatchView.Title: What is being watched, shown in the heading (markup), or null.

Parameters

watchView ConsoleMonster.Widgets.WatchView requiredposition: 0
The instance.
value System.String? requiredposition: 1
The value.

Returns

The same instance.