Class SpecificityComponent
Contribution of an individual simple selector to specificity.
public sealed record SpecificityComponent : IEquatable<SpecificityComponent>
- Inheritance
-
SpecificityComponent
- Implements
- Inherited Members
Constructors
SpecificityComponent(string, long, long, long)
Contribution of an individual simple selector to specificity.
public SpecificityComponent(string Text, long A, long B, long C)
Parameters
TextstringThe simple selector text that contributes to specificity.
AlongThe a component contribution.
BlongThe b component contribution.
ClongThe c component contribution.
Properties
A
The a component contribution.
public long A { get; init; }
Property Value
B
The b component contribution.
public long B { get; init; }
Property Value
C
The c component contribution.
public long C { get; init; }
Property Value
Text
The simple selector text that contributes to specificity.
public string Text { get; init; }