API Reference
Class
WatchViewFluent
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:
WatchViewSets 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
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
public static WatchView WithInterval(WatchView watchView, TimeSpan value) #Returns:
WatchViewSets WatchView.Interval: The time between runs, shown in the heading.
Parameters
- watchView ConsoleMonster.Widgets.WatchView
- The instance.
- value System.TimeSpan
- The value.
Returns
The same instance.
public static WatchView WithTitle(WatchView watchView, String? value) #Returns:
WatchViewSets WatchView.Title: What is being watched, shown in the heading (markup), or null.
Parameters
- watchView ConsoleMonster.Widgets.WatchView
- The instance.
- value System.String?
- The value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?