Exemple #1
0
 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;
 }
Exemple #4
0
 public override StringBuilder WriteTo(StringBuilder sb, CssWriterOptions options)
 {
     throw new System.NotImplementedException();
 }
Exemple #5
0
 public abstract StringBuilder WriteTo(StringBuilder sb, CssWriterOptions options);