API Reference
RecordViewFluent
The fluent methods of RecordView, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- RecordViewFluent
Methods
public static RecordView WithHideEmpty(RecordView recordView, Boolean value = true) #RecordViewSets RecordView.HideEmpty: Whether empty values (null, empty text) are left out (default true).
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
public static RecordView WithIndentWidth(RecordView recordView, Int32 value) #RecordViewSets RecordView.IndentWidth: Cells each nesting level indents (default 2).
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static RecordView WithMaxLabelFraction(RecordView recordView, Double value) #RecordViewSets 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 System.Double
- The value.
Returns
The same instance.
public static RecordView WithPresentation(RecordView recordView, PresentationOptions value) #RecordViewSets RecordView.Presentation: Culture, clock and time zone for raw values.
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value ConsoleMonster.Presenters.PresentationOptions
- The value.
Returns
The same instance.
public static RecordView WithPresentation(RecordView recordView, Action<PresentationOptions> configure) #RecordViewConfigures 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.
Returns
The same instance.
public static RecordView WithSummary(RecordView recordView, String? value) #RecordViewSets RecordView.Summary: A muted summary after the title (12 targets · 4 failing), or null.
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value System.String?
- The value.
Returns
The same instance.
public static RecordView WithTitle(RecordView recordView, String? value) #RecordViewSets RecordView.Title: The title (markup) on the summary header line, or null.
Parameters
- recordView ConsoleMonster.Widgets.RecordView
- The instance.
- value System.String?
- The value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?