API Reference
Enum
StatusKind
A status shared by status lists, lanes, phases, tables and logs. Each status has a theme token and a glyph, so status is never shown by colour alone.
Inheritance
- Enum
- StatusKind
Usage
Explore 91 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 30
- Property RunResult.FigureStatus
- Property RunResult.Status
- Property Toast.Status
- Property RunSnapshot.States
- Method LogLevels.ToStatus
- Field StatusKind.Fail
- Field StatusKind.Info
- Field StatusKind.Pass
- Field StatusKind.Pending
- Field StatusKind.Running
- Field StatusKind.Skip
- Field StatusKind.Warn
- Property TestContainerState.Status
- Method TestRecord.ParseStatus
- Property TestRecord.Status
- Property TestRunSnapshot.Outcomes
- Property TestRunSnapshot.Status
- Method BarChart.Threshold
- Property CellMap.Item
- Property Dashboard.StatusLevel
- Property HeaderBar.StatusLevel
- Property KeyValueItem.Status
- Property Lane.Status
- Property Lanes.CollapseWhen
- Property ProgressBar.Status
- Property ProgressRow.Status
- Property Spinner.Status
- Property StatusItem.Status
- Property TableCell.Status
- Property TreeNode.Status
Accepted by parameters 61
- Method RenderContext.Style
- Method GlyphSet.StatusMarker
- Method GlyphSetExtensions.StatusSymbol
- Extension method IGlyphSet.StatusSymbol
- Method IGlyphSet.StatusMarker
- Method MenuContext.Log
- Method MenuContext.Toast
- Constructor RunResult.RunResult
- Method RunResult.Figure
- Constructor Toast.Toast
- Method RunMonitor.Finished
- Method RunTracker.Finished
- Method WidgetLabels.StatusWord
- Method StatusLine.Compose
- Method StatusLine.Show
- Method StatusEnumPresenter.TryRead
- Extension method StatusKind.ToEnglishWord
- Extension method StatusKind.ToToken
- Extension method StatusKind.ToWord
- Method StatusKinds.ToEnglishWord
- Method StatusKinds.ToToken
- Method StatusKinds.ToWord
- Method StatusKinds.TryParse
- Constructor TestRecord.TestRecord
- Method TestRunText.Outcome
- Method Ui.Node
- Method Ui.Status
- Method CellMap.Add
- Method CellMap.CountLabel
- Method CellMap.CountOf
- Method CellMap.Set
- Extension method Dashboard.WithStatusLevel
- Method DashboardFluent.WithStatusLevel
- Extension method HeaderBar.WithStatusLevel
- Method HeaderBarFluent.WithStatusLevel
- Method KeyValueHandle.Set
- Constructor KeyValueItem.KeyValueItem
- Method KeyValueList.Add
- Extension method Lanes.WithCollapseWhen
- Method LanesFluent.WithCollapseWhen
- Method LanesHandle.Advance
- Method LanesHandle.Complete
- Method Phases.Set
- Method PhasesHandle.Complete
- Extension method ProgressBar.WithStatus
- Method ProgressBarFluent.WithStatus
- Method ProgressHandle.Complete
- Extension method Spinner.WithStatus
- Method SpinnerFluent.WithStatus
- Method SpinnerHandle.Complete
- Constructor StatusItem.StatusItem
- Method StatusList.Add
- Method StatusList.Set
- Method StatusListHandle.Set
- Method SummaryBar.SetCounter
- Method TableCell.ForStatus
- Method Tree.Add
- Constructor TreeNode.TreeNode
- Extension method TreeNode.WithStatus
- Method TreeNode.Add
- Method TreeNodeFluent.WithStatus
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from Enum
Parameters
- obj Object?
ToString 4 overloads
public String ToString(IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
public String ToString(String? format, IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String?
- provider IFormatProvider?
Values
Extension Methods
public static String ToEnglishWord(StatusKind status) #Returns:
StringThe English status word (PASS, FAIL...), for logs and machine-read output.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
Returns
The word.
public static ThemeToken ToToken(StatusKind status) #Returns:
ThemeTokenReturns the theme token that colours a status.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
Returns
The token.
public static String ToWord(StatusKind status) #Returns:
StringA short upper-case word for a status (PASS, FAIL, WARN, SKIP, RUN, WAIT, INFO in English), in the language of WidgetLabels.Current.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
Returns
The word.