Beispiel #1
0
        public void Write_TypeExtensionWrapper()
        {
            var obj = new TypeExtensionWrapper()
            {
                Param = new TypeExtension("Foo")
            };

            Assert.AreEqual(ReadXml("TypeExtensionWrapper.xml").Trim(), XamlServices.Save(obj), "#1");
        }
Beispiel #2
0
        public void Read_TypeExtensionWrapper()
        {
            var obj = new TypeExtensionWrapper()
            {
                Param = new TypeExtension("Foo")
            };
            var r = new XamlObjectReader(obj);

            Read_TypeExtensionWrapper(r);
        }