Class
ThemeCheckResult
ConsoleMonster.Styling
One measurement, its required minimum and a plain-language verdict.
Inheritance
- object
- ThemeCheckResult
Usage
Explore 1 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 1
- Property ThemeCheckReport.Results
Inherited Methods
Properties
public IReadOnlyList<ThemeToken> Tokens { get; } #The token or pair of tokens measured.
public ThemeCheckOutcome Outcome { get; } #Pass, Fail or Unknown; unknown is never evidence of a pass.
public double? Value { get; } #The contrast ratio, CIELAB distance, or 1/0 for a structural rule; null when unknown.
public double? Required { get; } #The minimum acceptable value, when the rule has a measurement.
public string Detail { get; } #A one-line explanation of the outcome, including the simulation for colour-vision checks.
public string? Vision { get; } #The vision condition (normal vision, protanopia, deuteranopia or tritanopia); null for other checks.