Example #1
0
        private void ParseIntAsciiConverter(XElement element)
        {
            string            name      = element.Attribute(Constants.TemplateXML_Name).Value;
            IntAsciiConverter converter = new IntAsciiConverter(name);

            converters.Add(converter);
        }
Example #2
0
        private XElement CreateXML_IntAsciiConverter(IntAsciiConverter c)
        {
            XElement xmlConverter = new XElement(Constants.TemplateXML_IntAsciiConverter);

            xmlConverter.Add(new XAttribute(Constants.TemplateXML_Name, c.Name));

            return(xmlConverter);
        }