Vixen
feb85697
csharp
public enum LevelReading

What a LevelIndicator's or a Gauge's reading amounts to.

Read the guide page for this →

Remarks

⚠ Three named answers rather than a Boolean pair. "Warning and critical" is not a state a reading can be in, and a pair of flags can express it — which is one more thing every caller and every theme rule has to decide what to do about.

Fields and properties (3)

  • Ordinary

    Nothing worth saying: the reading has passed no threshold.

  • Warning

    It has passed Warning and not Critical.

  • Critical

    It has passed Critical.

Used by (5)

  • GaugeVixen.Ui.Controls
  • GaugeTestsVixen.Ui.Controls.Tests
  • LevelIndicatorVixen.Ui.Controls
  • LevelIndicatorTestsVixen.Ui.Controls.Tests
  • LevelsVixen.Ui.Controls