Пример #1
0
 static public void AddClass(this ClassLibrary item, Type type, string layout, string text)
 {
     item.AddClass(
         new CmlClass_Entity(type, layout, CmlEntity.DOMify(text))
         );
 }
Пример #2
0
 static public void AddClasses(this ClassLibrary item, IEnumerable <CmlClass> to_add)
 {
     to_add.Process(c => item.AddClass(c));
 }