AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.16.1-alpha-127" />

.NET API 879,616 bytes

 ITokenList

public interface ITokenList : IEnumerable<string>, IEnumerable
This type represents a set of space-separated tokens.
using AngleSharp.Attributes; using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace AngleSharp.Dom { [System.Runtime.CompilerServices.NullableContext(1)] [DomName("DOMTokenList")] public interface ITokenList : IEnumerable<string>, IEnumerable { [DomName("length")] int Length { get; } [DomName("item")] [DomAccessor(Accessors.Getter)] string this[int index] { get; } [DomName("contains")] bool Contains(string token); [DomName("add")] void Add(params string[] tokens); [DomName("remove")] void Remove(params string[] tokens); [DomName("toggle")] bool Toggle(string token, bool force = false); } }