Skip to content
ConsoleMonster
Class

InspectorViewFluent

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Modifiers
static

The fluent methods of InspectorView, 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
  • InspectorViewFluent

Methods

Presentation 2 overloads
public static InspectorView Presentation(InspectorView inspectorView, PresentationOptions value) #

Sets InspectorView.Presentation: Culture, clock and time zone for values.

Parameters

inspectorView ConsoleMonster.Widgets.InspectorView required
The instance.
value ConsoleMonster.Presenters.PresentationOptions required
The value.

Returns

InspectorView The same instance.

Examples

// C# initializer or property          // C# fluent
inspectorView.Presentation = value;    inspectorView.Presentation(value);
public static InspectorView Presentation(InspectorView inspectorView, Action<PresentationOptions> configure) #

Configures InspectorView.Presentation in place (creating it when not set): Culture, clock and time zone for values.

Parameters

inspectorView ConsoleMonster.Widgets.InspectorView required
The instance.
configure System.Action<ConsoleMonster.Presenters.PresentationOptions> required
Configures the value.

Returns

InspectorView The same instance.
public static InspectorView ShowHeader(InspectorView inspectorView, bool value = true) #

Sets InspectorView.ShowHeader: Whether the title and summary line is shown (default true; nested inspectors turn it off).

Parameters

inspectorView ConsoleMonster.Widgets.InspectorView required
The instance.
value bool = true optional
The value; true when omitted.

Returns

InspectorView The same instance.

Examples

// C# initializer or property        // C# fluent
inspectorView.ShowHeader = value;    inspectorView.ShowHeader(value);