StatusKind
ConsoleMonster.Styling
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 172 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 58
- Method CalendarData.GetStatus
- Property CalendarMark.Status
- Property ServiceStatus.Kind
- Property MenuRunResult.FigureStatus
- Property MenuRunResult.Status
- Property Toast.Status
- Property Panel.Status
- Property RunItemSnapshot.Status
- Property RunSnapshot.States
- Property RunUpdate.Status
- Property WidgetUpdate.Result
- Property WidgetUpdate.Status
- Method LogLevels.ToStatus
- Field StatusKind.Error
- Field StatusKind.Fail
- Field StatusKind.Info
- Field StatusKind.Investigate
- Field StatusKind.None
- Field StatusKind.NotRun
- Field StatusKind.Pass
- Field StatusKind.Pending
- Field StatusKind.Running
- Field StatusKind.Skip
- Field StatusKind.Unknown
- Field StatusKind.Warn
- Property TestContainerState.Status
- Property TestGroupState.Status
- Property TestReasonCount.Status
- Method TestRecord.ParseStatus
- Property TestRecord.Status
- Property TestRunSnapshot.Outcomes
- Property TestRunSnapshot.Status
- Method BarChart.Threshold
- Property CellMap.Item
- Property ChartItem.Status
- Property Dashboard.Status
- Property DiagramLink.Status
- Property DiagramNode.Status
- Property FlowBranch.Status
- Property FlowEdge.Status
- Property FlowNode.Status
- Property HeaderBar.Status
- Property KeyValueItem.Status
- Property Lane.Status
- Property Lanes.CollapseWhen
- Property Matrix.IsHealthy
- Property Matrix.LegendLabels
- Property Matrix.LegendMarkers
- Property Matrix.LegendRoles
- Property MatrixCell.Status
- Property PathHop.Status
- Property ProgressBar.Status
- Property ProgressOptions.Status
- Property ProgressRow.Status
- Property Spinner.Status
- Property StatusItem.Status
- Property TableCell.Status
- Property TreeNode.Status
Accepted by parameters 114
- Method RenderContext.Style
- Constructor CalendarMark.CalendarMark
- Method GlyphSet.StatusMarker
- Method GlyphSetExtensions.StatusSymbol
- Extension method IGlyphSet.StatusSymbol
- Method IGlyphSet.StatusMarker
- Method MenuContext.Log
- Method MenuContext.Toast
- Constructor MenuRunResult.MenuRunResult
- Extension method MenuRunResult.Status
- Method MenuRunResult.Figure
- Method MenuRunResultFluent.Status
- Constructor Toast.Toast
- Extension method Panel.Status
- Method PanelFluent.Status
- Method LiveRun.Finished
- Method RunMonitor.Finished
- Method RunTracker.Finished
- Method RunTracker.FinishItem
- Extension method RunUpdate.Status
- Method RunUpdateFluent.Status
- Extension method WidgetUpdate.Result
- Extension method WidgetUpdate.Status
- Method WidgetUpdateFluent.Result
- Method WidgetUpdateFluent.Status
- Method WidgetLabels.StatusWord
- Method StatusLine.Compose
- Method StatusLine.Show
- Method DisplayText.Status
- Method StatusEnumPresenter.TryRead
- Extension method StatusKind.ToEnglishWord
- Extension method StatusKind.ToToken
- Extension method StatusKind.ToTone
- Extension method StatusKind.ToWord
- Method StatusKinds.ToEnglishWord
- Method StatusKinds.ToToken
- Method StatusKinds.ToWord
- Method StatusKinds.TryParse
- Method Tones.ToTone
- Constructor TestRecord.TestRecord
- Method TestRunText.Outcome
- Method BarChart.Missing
- Method CellMap.Add
- Method CellMap.Cell
- Method CellMap.CountLabel
- Method CellMap.CountOf
- Method CellMap.Set
- Extension method ChartItem.Status
- Method ChartItemFluent.Status
- Extension method Dashboard.Status
- Method DashboardFluent.Status
- Method Diagram.FromLinks``1
- Method Diagram.SetValue
- Method DiagramHandle.Value
- Extension method DiagramLink.Status
- Method DiagramLinkBuilder.Status
- Method DiagramLinkFluent.Status
- Extension method DiagramNode.Status
- Method DiagramNodeBuilder.Status
- Method DiagramNodeFluent.Status
- Method Flow.Edge
- Method Flow.Node
- Constructor FlowBranch.FlowBranch
- Method FlowBranch.Deconstruct
- Constructor FlowEdge.FlowEdge
- Method FlowEdge.Deconstruct
- Method FlowHandle.Edge
- Method FlowHandle.Node
- Constructor FlowNode.FlowNode
- Method FlowNode.Deconstruct
- Extension method HeaderBar.Status
- Method HeaderBarFluent.Status
- Method KeyValueHandle.Set
- Constructor KeyValueItem.KeyValueItem
- Method KeyValueItem.ForValue
- Method KeyValueList.Add
- Extension method Lane.Status
- Method LaneFluent.Status
- Extension method Lanes.CollapseWhen
- Method LanesFluent.CollapseWhen
- Method LanesHandle.Advance
- Method LanesHandle.Complete
- Extension method Matrix.HealthyWhen
- Method Matrix.Cell
- Method MatrixFluent.HealthyWhen
- Extension method PathHop.Status
- Method PathHopFluent.Status
- Method Phases.Insert
- Method Phases.Item
- Method Phases.Set
- Method Phases.SubItem
- Method PhasesHandle.Complete
- Method PhasesHandle.Item
- Extension method ProgressBar.Status
- Method ProgressBarFluent.Status
- Method ProgressHandle.Complete
- Extension method ProgressOptions.Status
- Method ProgressOptionsFluent.Status
- Extension method Spinner.Status
- Method SpinnerFluent.Status
- Method SpinnerHandle.Complete
- Constructor StatusItem.StatusItem
- Method StatusList.Add
- Method StatusList.Child
- Method StatusList.Set
- Method StatusListHandle.Set
- Method SummaryBar.Counter
- Method SummaryBarHandle.SetCounter
- Method TableCell.ForStatus
- Method Tree.Add
- Constructor TreeNode.TreeNode
- Extension method TreeNode.Status
- Method TreeNode.Add
- Method TreeNodeFluent.Status
Inherited Methods
public string ToString(IFormatProvider? provider) #Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const StatusKind Error #The check could not run to a verdict: it threw, timed out or lacked a prerequisite. Distinct from StatusKind.Fail, which is a verdict that something is wrong.
9public const StatusKind Investigate #Needs a human look: the evidence is there, but no automatic verdict applies.
10public const StatusKind NotRun #Deliberately not executed (filtered out, not applicable, a dry run); a reason usually says why.
11Extension Methods
public static string ToEnglishWord(StatusKind status) #The English status word (PASS, FAIL...), for logs and machine-read output.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
Returns
string The word.public static ThemeToken ToToken(StatusKind status) #Returns the theme token that colours a status.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
public static Tone ToTone(StatusKind status) #The tone a status is painted with.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
public static string ToWord(StatusKind status) #A short upper-case status word using session-scoped labels, then the active profile's language, then WidgetLabels.Current.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
Returns
string The word.public static string ToWord(StatusKind status, RenderContext context) #A status word in the render context's language.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
- context ConsoleMonster.Canvas.RenderContext
- The rendering context.
Returns
string The localized word.public static string ToWord(StatusKind status, TerminalProfile profile) #A status word in the profile's language, or the current fallback labels when no language is set.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
- profile ConsoleMonster.Capabilities.TerminalProfile
- The rendering profile.
Returns
string The localized word.