Esempio n. 1
0
        public void Write_StaticExtensionWrapper()
        {
            var obj = new StaticExtensionWrapper()
            {
                Param = new StaticExtension("StaticExtensionWrapper.Foo")
            };

            Assert.AreEqual(ReadXml("StaticExtensionWrapper.xml").Trim(), XamlServices.Save(obj), "#1");
        }
Esempio n. 2
0
        public void Read_StaticExtensionWrapper()
        {
            var obj = new StaticExtensionWrapper()
            {
                Param = new StaticExtension("StaticExtensionWrapper.Foo")
            };
            var r = new XamlObjectReader(obj);

            Read_StaticExtensionWrapper(r);
        }
Esempio n. 3
0
		public void Read_StaticExtensionWrapper ()
		{
			var obj = new StaticExtensionWrapper () { Param = new StaticExtension ("StaticExtensionWrapper.Foo") };
			var r = new XamlObjectReader (obj);
			Read_StaticExtensionWrapper (r);
		}