AngleSharp by AngleSharp

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

.NET API 1,244,160 bytes

 KeyframeSelector

Represents the keyframe selector.
using AngleSharp.Css.Values; using AngleSharp.Extensions; using System.Collections.Generic; namespace AngleSharp.Dom.Css { internal sealed class KeyframeSelector : CssNode, IKeyframeSelector, ICssNode, IStyleFormattable { private readonly List<Percent> _stops; public IEnumerable<Percent> Stops => _stops; public string Text => this.ToCss(); public KeyframeSelector(IEnumerable<Percent> stops) { _stops = new List<Percent>(stops); } public override string ToCss(IStyleFormatter formatter) { string[] array = new string[_stops.Count]; for (int i = 0; i < array.Length; i++) { array[i] = _stops[i].ToString(); } return string.Join(", ", array); } } }