public void GetPropertyMessageVersion()
        {
            var m  = new WebMessageEncodingBindingElement();
            var bc = new BindingContext(new CustomBinding(), new BindingParameterCollection());

            Assert.AreEqual(MessageVersion.None, m.GetProperty <MessageVersion> (bc), "#1");
        }
		public void GetPropertyMessageVersion ()
		{
			var m = new WebMessageEncodingBindingElement ();
			var bc = new BindingContext (new CustomBinding (), new BindingParameterCollection ());
			Assert.AreEqual (MessageVersion.None, m.GetProperty<MessageVersion> (bc), "#1");
		}
Пример #3
0
 public override T GetProperty <T>(BindingContext context)
 {
     return(wme.GetProperty <T>(context));
 }