Vixen
dd8b0a81
csharp
public readonly struct MediaVerdicts

Which conditional groups hold on one surface.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ default is "only the unconditional group", and that is the conservative answer rather than an empty one. A scope nobody has evaluated shows the rules that were never in a @media at all, which is every rule in every stylesheet this repository ships — so the failure mode of forgetting to evaluate is a document that ignores its @media blocks, not one that applies all of them at once.

Fields and properties (1)

  • public int Revision

    Which Revision these were computed against.

Methods (6)

  • public bool Holds(int group)

    Whether a group's rules apply here.

  • public bool Equals(MediaVerdicts other)

    Indicates whether the current object is equal to another object of the same type.

  • public override bool Equals(object? obj)

    Indicates whether this instance and a specified object are equal.

  • public override int GetHashCode()

    Returns the hash code for this instance.

  • public static bool operator ==(MediaVerdicts left, MediaVerdicts right)

    Whether two sets of verdicts agree.

  • public static bool operator !=(MediaVerdicts left, MediaVerdicts right)

    Whether two sets of verdicts disagree.

Used by (6)

  • ContainerQueryTestsVixen.Ui.Styling.Tests
  • EntryVixen.Ui.Styling
  • MediaConditionsVixen.Ui.Styling
  • MediaScopesVixen.Ui.Styling
  • StyleResolverVixen.Ui.Styling
  • StyleRuleSetVixen.Ui.Styling