AngleSharp by AngleSharp

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

.NET API 1,218,560 bytes

 KeyframeSelector

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