Exemple #1
0
        public void Read_XmlSerializableWrapper()
        {
            var obj = new XmlSerializableWrapper(new XmlSerializable("<root/>"));
            var xr  = new XamlObjectReader(obj);

            Read_XmlSerializableWrapper(xr, true);
        }
Exemple #2
0
        public void Write_XmlSerializableWrapper()
        {
            var obj = new XmlSerializableWrapper(new XmlSerializable("<root/>"));

            Assert.AreEqual(ReadXml("XmlSerializableWrapper.xml").Trim(), XamlServices.Save(obj), "#1");
        }