AngleSharp by AngleSharp

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

 IStyleFormatter

public interface IStyleFormatter
Basic interface for CSS node serialization.
using System.Collections.Generic; namespace AngleSharp { public interface IStyleFormatter { string Sheet(IEnumerable<IStyleFormattable> rules); string Block(IEnumerable<IStyleFormattable> rules); string Declaration(string name, string value, bool important); string Declarations(IEnumerable<string> declarations); string Medium(bool exclusive, bool inverse, string type, IEnumerable<IStyleFormattable> constraints); string Constraint(string name, string value); string Rule(string name, string value); string Rule(string name, string prelude, string rules); string Style(string selector, IStyleFormattable rules); string Comment(string data); } }