public StringBuilder WriteTo(StringBuilder sb, CssWriterOptions options) { foreach (var rule in Rules) { rule.WriteTo(sb, options); } return sb; }
public override StringBuilder WriteTo(StringBuilder sb, CssWriterOptions options) { sb.Append(Selector); sb.Append('{'); foreach (var declaration in Declarations) { declaration.WriteTo(sb, options); } sb.Append('}'); return sb; }
public StringBuilder WriteTo(StringBuilder sb, CssWriterOptions options) { sb.Append(Name); sb.Append(':'); sb.Append(Value); if (Important) { sb.Append(" !important"); } sb.Append(';'); return sb; }
public override StringBuilder WriteTo(StringBuilder sb, CssWriterOptions options) { throw new System.NotImplementedException(); }
public abstract StringBuilder WriteTo(StringBuilder sb, CssWriterOptions options);