예제 #1
0
        public void Read_XDataWrapper()
        {
            var obj = new XDataWrapper()
            {
                Markup = new XData()
                {
                    Text = "<my_xdata/>"
                }
            };
            var r = new XamlObjectReader(obj);

            while (!r.IsEof)
            {
                r.Read();
            }
        }
예제 #2
0
 public void Read_XDataWrapper()
 {
     Assert.Throws <XamlObjectReaderException>(() =>
     {
         var obj = new XDataWrapper()
         {
             Markup = new XData()
             {
                 Text = "<my_xdata/>"
             }
         };
         var r = new XamlObjectReader(obj);
         while (!r.IsEof)
         {
             r.Read();
         }
     });
 }
예제 #3
0
		public void Read_XDataWrapper ()
		{
			var obj = new XDataWrapper () { Markup = new XData () {Text = "<my_xdata/>" } };
			var r = new XamlObjectReader (obj);
			while (!r.IsEof)
				r.Read ();
		}