Example #1
0
 public static AttributeDictionary AppendCssClass(this AttributeDictionary attributes, string cssClass)
 {
     attributes.AppendInValue("class", ' ', cssClass);
     return(attributes);
 }
 public static AttributeDictionary AppendCssClass(this AttributeDictionary attributes, Func<string> cssClass)
 {
     attributes.AppendInValue("class", ' ', cssClass());
     return attributes;
 }