PathHop
ConsoleMonster.Widgets
A literal labelled hop with a stable identity, optional status and category chips.
Inheritance
- object
- PathHop
Usage
Explore 25 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 11
- Extension method PathHop.AddChip
- Extension method PathHop.AddChips
- Extension method PathHop.Bold
- Extension method PathHop.Role
- Extension method PathHop.Status
- Method PathHopFluent.AddChip
- Method PathHopFluent.AddChips
- Method PathHopFluent.Bold
- Method PathHopFluent.Role
- Method PathHopFluent.Status
- Property PathSet.Origin
Accepted by parameters 14
- Extension method PathHop.AddChip
- Extension method PathHop.AddChips
- Extension method PathHop.Bold
- Extension method PathHop.Role
- Extension method PathHop.Status
- Method PathHopFluent.AddChip
- Method PathHopFluent.AddChips
- Method PathHopFluent.Bold
- Method PathHopFluent.Role
- Method PathHopFluent.Status
- Constructor PathSet.PathSet
- Extension method PathSet.Origin
- Method PathSet.Add
- Method PathSetFluent.Origin
Constructors
public PathHop(string key, string label) #Creates a path hop.
Parameters
- key string
- Identity used to recognise shared hops across chains.
- label string
- The plain text label.
Inherited Methods
Properties
Extension 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);