RecordViewFluent
ConsoleMonster.Widgets
The fluent methods of RecordView, 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
- RecordViewFluent
Methods
public static RecordView HideEmpty(RecordView recordView, bool value = true) #Sets RecordView.HideEmpty: Whether null, empty and missing values are left out (default true).
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.RecordView { HideEmpty = value }; recordView.HideEmpty(value);public static RecordView IndentWidth(RecordView recordView, int value) #Sets RecordView.IndentWidth: Cells each nesting level indents (default 2).
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.RecordView { IndentWidth = value }; recordView.IndentWidth(value);public static RecordView MaxLabelFraction(RecordView recordView, double value) #Sets RecordView.MaxLabelFraction: The widest a label column may be, as a fraction of the width (default 0.4).
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.RecordView { MaxLabelFraction = value }; recordView.MaxLabelFraction(value);public static RecordView Presentation(RecordView recordView, PresentationOptions value) #Sets RecordView.Presentation: Culture, clock and time zone for raw values.
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value ConsoleMonster.Presenters.PresentationOptions
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.RecordView { Presentation = value }; recordView.Presentation(value);public static RecordView Presentation(RecordView recordView, Action<PresentationOptions> configure) #Configures RecordView.Presentation in place (creating it when not set): Culture, clock and time zone for raw values.
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- configure System.Action<ConsoleMonster.Presenters.PresentationOptions>
- Configures the value.
public static RecordView Summary(RecordView recordView, string? value) #Sets RecordView.Summary: A muted summary after the title (12 targets · 4 failing), or null.
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.RecordView { Summary = value }; recordView.Summary(value);public static RecordView Title(RecordView recordView, string? value) #Sets RecordView.Title: The title (markup) on the summary header line, or null.
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Widgets.RecordView { Title = value }; recordView.Title(value);