Пример #1
0
        protected override void WriteElementNode()
        {
            XmlElementNodeSerializer serializer = new XmlElementNodeSerializer(null);
            XElement element = serializer.WriteObject(_template.ElementNode);

            _content.Add(element);
        }
Пример #2
0
        protected override void ReadElementNode()
        {
            XmlElementNodeSerializer serializer = new XmlElementNodeSerializer(VixenSystem.Elements);

            _template.ElementNode = serializer.ReadObject(_content);
        }
 protected override void WriteElementNode()
 {
     XmlElementNodeSerializer serializer = new XmlElementNodeSerializer(null);
     XElement element = serializer.WriteObject(_template.ElementNode);
     _content.Add(element);
 }
 protected override void ReadElementNode()
 {
     XmlElementNodeSerializer serializer = new XmlElementNodeSerializer(VixenSystem.Elements);
     _template.ElementNode = serializer.ReadObject(_content);
 }