AngleSharp by AngleSharp

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

.NET API 1,204,224 bytes

 GroupCondition

using System.IO; namespace AngleSharp.Dom.Css { internal sealed class GroupCondition : CssNode, IConditionFunction, ICssNode, IStyleFormattable { private IConditionFunction _content; public IConditionFunction Content { get { return _content ?? new EmptyCondition(); } set { if (_content != null) RemoveChild(_content); _content = value; if (value != null) AppendChild(_content); } } public bool Check() { return Content.Check(); } public override void ToCss(TextWriter writer, IStyleFormatter formatter) { writer.Write("("); Content.ToCss(writer, formatter); writer.Write(")"); } } }