Пример #1
0
        public void ComplexPositionalParameterWrapper()
        {
            var obj = new ComplexPositionalParameterWrapper()
            {
                Param = new ComplexPositionalParameterClass(new ComplexPositionalParameterValue()
                {
                    Foo = "foo"
                })
            };

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

            ComplexPositionalParameters(r);
        }
Пример #3
0
		public void ComplexPositionalParameters ()
		{
			var obj = new ComplexPositionalParameterWrapper () { Param = new ComplexPositionalParameterClass (new ComplexPositionalParameterValue () { Foo = "foo" })};
			var r = new XamlObjectReader (obj);
			ComplexPositionalParameters (r);
		}