Skip to content
ConsoleMonster
Class

HelpViewFluent

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Modifiers
static

The fluent methods of HelpView, 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
  • HelpViewFluent

Methods

public static HelpView ShowExamples(HelpView helpView, bool value = true) #

Sets HelpView.ShowExamples: Whether the examples are shown (default true).

Parameters

helpView ConsoleMonster.Widgets.HelpView required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HelpView The same instance.

Examples

// C# initializer or property     // C# fluent
helpView.ShowExamples = value;    helpView.ShowExamples(value);
public static HelpView ShowParameters(HelpView helpView, bool value = true) #

Sets HelpView.ShowParameters: Whether the parameter table is shown (default true).

Parameters

helpView ConsoleMonster.Widgets.HelpView required
The instance.
value bool = true optional
The value; true when omitted.

Returns

HelpView The same instance.

Examples

// C# initializer or property       // C# fluent
helpView.ShowParameters = value;    helpView.ShowParameters(value);
public static HelpView Topic(HelpView helpView, Action<HelpTopic> configure) #

Configures HelpView.Topic in place: The help shown.

Parameters

helpView ConsoleMonster.Widgets.HelpView required
The instance.
configure System.Action<ConsoleMonster.Help.HelpTopic> required
Configures the value.

Returns

HelpView The same instance.