소스 검색

2010-06-17 Atsushi Enomoto <[email protected]>

	* Binding.cs : add commented-out code for MessageVersion replacement.
	* TransactionFlowBindingElement.cs : implement (almost dummy).


svn path=/trunk/mcs/; revision=159060
Atsushi Eno 15 년 전
부모
커밋
2a864db5d5

+ 2 - 0
mcs/class/System.ServiceModel/System.ServiceModel.Channels/Binding.cs

@@ -84,7 +84,9 @@ namespace System.ServiceModel.Channels
 
 		public abstract string Scheme { get; }
 
+		// FIXME: replace with a simple one-liner code (not working somehow).
 		public MessageVersion MessageVersion {
+//			get { return GetProperty<MessageVersion> (new BindingParameterCollection ()); }
 			get {
 				foreach (BindingElement e in CreateBindingElements ()) {
 					MessageEncodingBindingElement me = e as MessageEncodingBindingElement;

+ 5 - 0
mcs/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog

@@ -1,3 +1,8 @@
+2010-06-17  Atsushi Enomoto  <[email protected]>
+
+	* Binding.cs : add commented-out code for MessageVersion replacement.
+	* TransactionFlowBindingElement.cs : implement (almost dummy).
+
 2010-06-15  Atsushi Enomoto  <[email protected]>
 
 	* TcpReplyChannel.cs : accept TCP channel on ReceiveRequest(). This

+ 1 - 1
mcs/class/System.ServiceModel/System.ServiceModel.Channels/TransactionFlowBindingElement.cs

@@ -62,7 +62,7 @@ namespace System.ServiceModel.Channels
 		[MonoTODO]
 		public override T GetProperty<T> (BindingContext context)
 		{
-			throw new NotImplementedException ();
+			return context.GetInnerProperty<T> ();
 		}
 
 		public override bool CanBuildChannelFactory<TChannel> (BindingContext context)