Class
PathSetFluent
ConsoleMonster.Widgets
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
- The instance.
- value bool
- The value.
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
- The instance to configure.
HighlightSharedHops 2 overloads
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- configure System.Action<ConsoleMonster.Widgets.PathHop>
- Configures the value.
public static PathSet Title(PathSet pathSet, string? value) #Sets PathSet.Title: An optional markup title.
Parameters
- pathSet ConsoleMonster.Widgets.PathSet
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
pathSet.Title = value; pathSet.Title(value);