Esempio n. 1
0
 public void WriteTemplates(TemplateCollection templates)
 {
     foreach (Template template in templates)
     {
         TemplateXmlNode templateXmlNode = (TemplateXmlNode)((XmlNode)this.CreateElement(RNaihRhYEl0wUmAftnB.aYu7exFQKN(14698)));
         this.DocumentElement.AppendChild((XmlNode)((CommonXmlNode)templateXmlNode));
         templateXmlNode.Template = template;
     }
 }
Esempio n. 2
0
        public TemplateCollection ReadTemplates()
        {
            TemplateCollection templateCollection = new TemplateCollection();

            foreach (XmlNode xmlNode in (XmlNode)this.DocumentElement)
            {
                TemplateXmlNode templateXmlNode = (TemplateXmlNode)xmlNode;
                templateCollection.Add(templateXmlNode.Template);
            }
            return(templateCollection);
        }