AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.13.0-alpha-760" />

 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 Declaration(string name, string value, bool important); string BlockDeclarations(IEnumerable<IStyleFormattable> declarations); string Rule(string name, string value); string Rule(string name, string prelude, string rules); string BlockRules(IEnumerable<IStyleFormattable> rules); string Comment(string data); } }