Example #1
0
 static public void AddFragments(this FragmentLibrary item, IEnumerable <CmlFragment> to_add)
 {
     to_add.Process(f => item.AddFragment(f));
 }
Example #2
0
 static public void AddFragment(this FragmentLibrary item, string name, string text)
 {
     item.AddFragment(
         new CmlFragment_Entity(name, CmlEntity.DOMify(text))
         );
 }