LaneFluent
ConsoleMonster.Widgets
The fluent methods of Lane, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- object
- LaneFluent
Methods
public static Lane WithDetail(Lane lane, string? value) #Sets Lane.Detail: What the lane is doing now (current rule, step, file); literal, and setting it clears Lane.DetailText.
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value string?
- The value.
public static Lane WithDetailText(Lane lane, RichText? value) #Sets Lane.DetailText: A multicolour detail, or null for the literal Lane.Detail (which becomes its plain text).
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value ConsoleMonster.Text.RichText?
- The value.
public static Lane WithDetailText(Lane lane, Action<RichText> configure) #Configures Lane.DetailText in place: A multicolour detail, or null for the literal Lane.Detail (which becomes its plain text).
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- configure System.Action<ConsoleMonster.Text.RichText>
- Configures the value.
public static Lane WithDone(Lane lane, double value) #Sets Lane.Done: Completed steps.
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value double
- The value.
public static Lane WithFailed(Lane lane, int value) #Sets Lane.Failed: Steps that failed.
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value int
- The value.
public static Lane WithFinished(Lane lane, TimeSpan? value) #Sets Lane.Finished: When the lane finished (session time), if it has.
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value System.TimeSpan?
- The value.
public static Lane WithLabel(Lane lane, string value) #Sets Lane.Label: Display label (literal; setting it clears Lane.LabelText).
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value string
- The value.
public static Lane WithLabelText(Lane lane, RichText? value) #Sets Lane.LabelText: A multicolour label, or null for the literal Lane.Label (which becomes its plain text).
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value ConsoleMonster.Text.RichText?
- The value.
public static Lane WithLabelText(Lane lane, Action<RichText> configure) #Configures Lane.LabelText in place: A multicolour label, or null for the literal Lane.Label (which becomes its plain text).
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- configure System.Action<ConsoleMonster.Text.RichText>
- Configures the value.
public static Lane WithOrder(Lane lane, int value) #Sets Lane.Order: Insertion order, used to keep rows stable.
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value int
- The value.
public static Lane WithPassed(Lane lane, int value) #Sets Lane.Passed: Steps that passed.
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value int
- The value.
public static Lane WithSkipped(Lane lane, int value) #Sets Lane.Skipped: Steps skipped.
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value int
- The value.
public static Lane WithStarted(Lane lane, TimeSpan? value) #Sets Lane.Started: When the lane started (session time), if it has.
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value System.TimeSpan?
- The value.
public static Lane WithStatus(Lane lane, StatusKind value) #Sets Lane.Status: The lane status.
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value ConsoleMonster.Styling.StatusKind
- The value.
public static Lane WithTotal(Lane lane, double value) #Sets Lane.Total: Planned steps (0 = unknown).
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value double
- The value.
public static Lane WithWarned(Lane lane, int value) #Sets Lane.Warned: Steps with warnings.
Parameters
- lane ConsoleMonster.Widgets.Lane
- The instance.
- value int
- The value.