Пример #1
0
        public void Write_TypeExtensionWrapper()
        {
            var obj = new TypeExtensionWrapper()
            {
                Param = new TypeExtension("Foo")
            };

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

            Read_TypeExtensionWrapper(r);
        }
Пример #3
0
		public void Read_TypeExtensionWrapper ()
		{
			var obj = new TypeExtensionWrapper () { Param = new TypeExtension ("Foo") };
			var r = new XamlObjectReader (obj);
			Read_TypeExtensionWrapper (r);
		}