Skip to content
ConsoleMonster
Class

PathSetFluent

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Modifiers
static
Attributes
GeneratedCode("ConsoleMonster.Generators", "1.0.0")

The fluent methods of PathSet, generated from its public properties: A property-named method sets a property and Add... adds to a collection, both returning the same instance.

Inheritance

  • object
  • PathSetFluent

Methods

CompactBranches 2 overloads
public static PathSet CompactBranches(PathSet pathSet, bool value) #

Sets PathSet.CompactBranches: Show the origin once and use compact branching chains with four-cell hanging continuations.

Parameters

pathSet ConsoleMonster.Widgets.PathSet required
The instance.
value bool required
The value.

Returns

PathSet The same instance.

Examples

// C# initializer or property       // C# fluent
pathSet.CompactBranches = value;    pathSet.CompactBranches(value);
public static PathSet CompactBranches(PathSet pathSet) #

Sets PathSet.CompactBranches to true.

Parameters

pathSet ConsoleMonster.Widgets.PathSet required
The instance to configure.

Returns

PathSet The same instance.
HighlightSharedHops 2 overloads
public static PathSet HighlightSharedHops(PathSet pathSet, bool value) #

Sets PathSet.HighlightSharedHops: Mark hops present in more than one distinct chain with an asterisk and a legend.

Parameters

pathSet ConsoleMonster.Widgets.PathSet required
The instance.
value bool required
The value.

Returns

PathSet The same instance.

Examples

// C# initializer or property           // C# fluent
pathSet.HighlightSharedHops = value;    pathSet.HighlightSharedHops(value);
public static PathSet HighlightSharedHops(PathSet pathSet) #

Sets PathSet.HighlightSharedHops to true.

Parameters

pathSet ConsoleMonster.Widgets.PathSet required
The instance to configure.

Returns

PathSet The same instance.
public static PathSet MaxHops(PathSet pathSet, int value) #

Sets PathSet.MaxHops: The maximum accepted hops per chain, excluding the origin (default 100).

Parameters

pathSet ConsoleMonster.Widgets.PathSet required
The instance.
value int required
The value.

Returns

PathSet The same instance.

Examples

// C# initializer or property    // C# fluent
pathSet.MaxHops = value;         pathSet.MaxHops(value);
public static PathSet MaxPaths(PathSet pathSet, int value) #

Sets PathSet.MaxPaths: The most chains rendered (default 10; zero shows all); omitted chains are counted.

Parameters

pathSet ConsoleMonster.Widgets.PathSet required
The instance.
value int required
The value.

Returns

PathSet The same instance.

Examples

// C# initializer or property    // C# fluent
pathSet.MaxPaths = value;        pathSet.MaxPaths(value);
public static PathSet Origin(PathSet pathSet, Action<PathHop> configure) #

Configures PathSet.Origin in place: The common origin.

Parameters

pathSet ConsoleMonster.Widgets.PathSet required
The instance.
configure System.Action<ConsoleMonster.Widgets.PathHop> required
Configures the value.

Returns

PathSet The same instance.
public static PathSet Title(PathSet pathSet, string? value) #

Sets PathSet.Title: An optional markup title.

Parameters

pathSet ConsoleMonster.Widgets.PathSet required
The instance.
value string? required
The value.

Returns

PathSet The same instance.

Examples

// C# initializer or property    // C# fluent
pathSet.Title = value;           pathSet.Title(value);