Class FlowButtonSets
- Namespace
- SharpConsoleUI.Flows
- Assembly
- SharpConsoleUI.dll
Maps a canonical FlowButtons selector to the concrete ordered list of FlowButton rows (label + navigation verdict + enabled state) the host renders. Shared by FlowContext (Tier A) and the wizard loop (Tier B) so the button-row vocabulary lives in one place.
public static class FlowButtonSets
- Inheritance
-
FlowButtonSets
- Inherited Members
Methods
For(FlowButtons)
Returns the concrete button list for buttons. The first button in each
non-empty set is the affirmative/default action (the host tints it as the primary action).
public static IReadOnlyList<FlowButton> For(FlowButtons buttons)
Parameters
buttonsFlowButtonsThe canonical button-set selector.
Returns
- IReadOnlyList<FlowButton>
An ordered, read-only list of FlowButton values. For None an empty list is returned so the step body self-resolves via its own Completion.