Class RuleMatch
Match data for a CSS rule.
public sealed record RuleMatch : IEquatable<RuleMatch>
- Inheritance
-
RuleMatch
- Implements
- Inherited Members
Constructors
RuleMatch(CSSRule, ImmutableArray<long>)
Match data for a CSS rule.
public RuleMatch(CSSRule Rule, ImmutableArray<long> MatchingSelectors)
Parameters
RuleCSSRuleCSS rule in the match.
MatchingSelectorsImmutableArray<long>Matching selector indices in the rule's selectorList selectors (0-based).
Properties
MatchingSelectors
Matching selector indices in the rule's selectorList selectors (0-based).
public ImmutableArray<long> MatchingSelectors { get; init; }
Property Value
Rule
CSS rule in the match.
public CSSRule Rule { get; init; }