[Test] // If it is root, it is not serialized as IXmlSerializable. public void Read_XmlSerializable() { var obj = new XmlSerializable("<root/>"); var xr = new XamlObjectReader(obj); Read_XmlSerializable(xr); }
[Test] // If it is root, it is not serialized as IXmlSerializable. public void Read_XmlSerializable () { var obj = new XmlSerializable ("<root/>"); var xr = new XamlObjectReader (obj); Read_XmlSerializable (xr); }
public XmlSerializableWrapper (XmlSerializable val) { this.val = val; }
public void Write_XmlSerializable() { var obj = new XmlSerializable("<root/>"); Assert.AreEqual(ReadXml("XmlSerializable.xml").Trim(), XamlServices.Save(obj), "#1"); }
public XmlSerializableWrapper(XmlSerializable val) { this.val = val; }