Struct
FrameState
ConsoleMonster.Frames
One state fact on a title line: glyph, count and word, coloured by its state.
Inheritance
- ValueType
- FrameState
Usage
Explore 13 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 5
- Property FrameHeader.States
- Property FrameSection.States
- Method FrameState.Healthy
- Method FrameState.Of
- Property GroupHeading.States
Accepted by parameters 8
- Extension method FrameHeader.AddState
- Extension method FrameHeader.AddStates
- Method FrameHeaderFluent.AddState
- Method FrameHeaderFluent.AddStates
- Extension method FrameSection.AddState
- Extension method FrameSection.AddStates
- Method FrameSectionFluent.AddState
- Method FrameSectionFluent.AddStates
Methods
public static FrameState Healthy(string word) #A single healthy verdict, such as ✓ all healthy.
Parameters
- word string
- The literal verdict.
public static FrameState Of(HealthState state, long count, string word) #A counted state, such as × 2 failing. Zero counts are dropped by the frame.
Parameters
- state ConsoleMonster.Frames.HealthState
- The state.
- count long
- The count.
- word string
- The literal word.