AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.2" />

.NET API 1,168,384 bytes

 Selectors

A list of selectors, which is the basis for CompoundSelector and SelectorGroup.
protected readonly List<ISelector> selectors

public ISelector this[int index] { get; set; }

Gets or sets a selector in this group.

public int Length { get; }

Gets the number of selectors in this group.

public Priority Specifity { get; }

Gets the specifity index for this chain of selectors.

public string Text { get; }

Gets the string representation of the selector.

public Selectors()

Creates a new selector group.

public void Add(ISelector selector)

Appends a selector to the group of selectors.

public void Clear()

Clears the list of selectors.

Gets the enumerator of selectors.

public void Remove(ISelector selector)

Removes a selector from the group of selectors.

protected abstract string ToCss()

Returns a valid CSS string representing this selector.