AngleSharp by AngleSharp

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

.NET API 1,244,160 bytes

 GroupCondition

using AngleSharp.Extensions; 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 string ToCss(IStyleFormatter formatter) { string argument = Content.ToCss(formatter); return string.Empty.CssFunction(argument); } } }