Explorar el Código

2009-09-02 Atsushi Enomoto <[email protected]>

	* WebMessageEncodingBindingElement.cs : implement GetProperty<T>().


svn path=/trunk/mcs/; revision=141119
Atsushi Eno hace 16 años
padre
commit
fb98aedb8e

+ 4 - 0
mcs/class/System.ServiceModel.Web/System.ServiceModel.Channels/ChangeLog

@@ -1,3 +1,7 @@
+2009-09-02  Atsushi Enomoto  <[email protected]>
+
+	* WebMessageEncodingBindingElement.cs : implement GetProperty<T>().
+
 2008-02-16  Atsushi Enomoto  <[email protected]>
 
 	* WebMessageEncodingBindingElement.cs : some TODO cleanup.

+ 3 - 2
mcs/class/System.ServiceModel.Web/System.ServiceModel.Channels/WebMessageEncodingBindingElement.cs

@@ -134,10 +134,11 @@ namespace System.ServiceModel.Channels
 			return new WebMessageEncoderFactory (this);
 		}
 
-		[MonoTODO]
 		public override T GetProperty<T> (BindingContext context)
 		{
-			throw new NotImplementedException ();
+			if (typeof (T) == typeof (XmlDictionaryReaderQuotas))
+				return (T) (object) ReaderQuotas;
+			return context.GetInnerProperty<T> ();
 		}
 
 		[MonoTODO]