示例#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");
        }
示例#2
0
        public void Read_StaticExtensionWrapper()
        {
            var obj = new StaticExtensionWrapper()
            {
                Param = new StaticExtension("StaticExtensionWrapper.Foo")
            };
            var r = new XamlObjectReader(obj);

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