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