Class
WatchViewFluent
ConsoleMonster.Widgets
The fluent methods of WatchView, 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
- WatchViewFluent
Methods
public static WatchView Differences(WatchView watchView, bool value = true) #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
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.WatchView { Differences = value }; watchView.Differences(value);public static WatchView PollInterval(WatchView watchView, TimeSpan value) #Sets WatchView.PollInterval: The time between runs, shown in the heading.
Parameters
- watchView ConsoleMonster.Widgets.WatchView
- The instance.
- value System.TimeSpan
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.WatchView { PollInterval = value }; watchView.PollInterval(value);public static WatchView Title(WatchView watchView, string? value) #Sets WatchView.Title: What is being watched, shown in the heading (markup), or null.
Parameters
- watchView ConsoleMonster.Widgets.WatchView
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.WatchView { Title = value }; watchView.Title(value);