示例#1
0
        public XmlDocument Write(Test test)
        {
            var document = new XmlDocument();

            var node = new TestXmlNode(document.WithRoot("Test"));
            new WriterVisitor(test, node).Write();

            return document;
        }
示例#2
0
        public XmlDocument Write(Test test)
        {
            var document = new XmlDocument();

            var node = new TestXmlNode(document.WithRoot("Test"));

            new WriterVisitor(test, node).Write();

            return(document);
        }
示例#3
0
 public Test ReadTest(XmlElement element)
 {
     var node = new TestXmlNode(element);
     return ReadTest(node);
 }
示例#4
0
        public Test ReadTest(XmlElement element)
        {
            var node = new TestXmlNode(element);

            return(ReadTest(node));
        }