AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.14.0-alpha-811" />

 IMediaList

A collection of media queries.
string this[int index] { get; }

Gets the medium item at the specified index.

int Length { get; }

Gets the number of media in the list.

string MediaText { get; set; }

Gets or sets the parsable textual representation of the media list. This is a comma-separated list of media.

void Add(string medium)

Adds the medium to the end of the list. If the medium is already used, it is first removed.

void Remove(string medium)

Deletes the medium indicated from the list of media queries.