PathHopFluent
ConsoleMonster.Widgets
The fluent methods of PathHop, 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
- PathHopFluent
Methods
public static PathHop AddChip(PathHop pathHop, string item) #Adds an item to PathHop.Chips: Plain text categories rendered by the existing chip presenter.
Parameters
- pathHop ConsoleMonster.Widgets.PathHop
- The instance.
- item string
- The item.
public static PathHop AddChips(PathHop pathHop, params string[] items) #Adds items to PathHop.Chips: Plain text categories rendered by the existing chip presenter.
Parameters
- pathHop ConsoleMonster.Widgets.PathHop
- The instance.
- items string[]
- The items, in order.
public static PathHop AddChips(PathHop pathHop, IEnumerable<string> items) #Adds items to PathHop.Chips: Plain text categories rendered by the existing chip presenter.
Parameters
- pathHop ConsoleMonster.Widgets.PathHop
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
public static PathHop Bold(PathHop pathHop, bool value) #Sets PathHop.Bold: Whether the hop label is bold.
Parameters
- pathHop ConsoleMonster.Widgets.PathHop
- The instance.
- value bool
- The value.
Examples
// C# initializer or property // C# fluent
pathHop.Bold = value; pathHop.Bold(value);public static PathHop Bold(PathHop pathHop) #Sets PathHop.Bold to true.
Parameters
- pathHop ConsoleMonster.Widgets.PathHop
- The instance to configure.
public static PathHop Role(PathHop pathHop, ThemeToken? value) #Sets PathHop.Role: Optional label role, independent of the health marker.
Parameters
- pathHop ConsoleMonster.Widgets.PathHop
- The instance.
- value ConsoleMonster.Styling.ThemeToken?
- The value.
Examples
// C# initializer or property // C# fluent
pathHop.Role = value; pathHop.Role(value);public static PathHop Status(PathHop pathHop, StatusKind? value) #Sets PathHop.Status: An optional status, rendered with its glyph and theme role.
Parameters
- pathHop ConsoleMonster.Widgets.PathHop
- The instance.
- value ConsoleMonster.Styling.StatusKind?
- The value.
Examples
// C# initializer or property // C# fluent
pathHop.Status = value; pathHop.Status(value);