Author: atsushi
Date: 2008-02-08 04:26:56 -0500 (Fri, 08 Feb 2008)
New Revision: 95227
Modified:
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/BindingContext.cs
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog
Log:
2008-02-08 Atsushi Enomoto <[EMAIL PROTECTED]>
* BindingContext.cs : RemainingBindingElements is not just a dummy
collection but is actually user-controlled.
Modified:
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/BindingContext.cs
===================================================================
---
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/BindingContext.cs
2008-02-08 09:13:36 UTC (rev 95226)
+++
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/BindingContext.cs
2008-02-08 09:26:56 UTC (rev 95227)
@@ -41,6 +41,7 @@
CustomBinding binding;
BindingParameterCollection parameters;
BindingElementCollection elements = empty_collection;
+ BindingElementCollection remaining_elements;
Uri listen_uri_base;
string listen_uri_relative;
ListenUriMode listen_uri_mode;
@@ -102,7 +103,11 @@
}
public BindingElementCollection RemainingBindingElements {
- get { return new BindingElementCollection (elements); }
+ get {
+ if (remaining_elements == null)
+ remaining_elements = new
BindingElementCollection ();
+ return remaining_elements;
+ }
}
internal BindingElement DequeueBindingElement ()
Modified:
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog
===================================================================
---
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog
2008-02-08 09:13:36 UTC (rev 95226)
+++
trunk/olive/class/System.ServiceModel/System.ServiceModel.Channels/ChangeLog
2008-02-08 09:26:56 UTC (rev 95227)
@@ -1,5 +1,10 @@
2008-02-08 Atsushi Enomoto <[EMAIL PROTECTED]>
+ * BindingContext.cs : RemainingBindingElements is not just a dummy
+ collection but is actually user-controlled.
+
+2008-02-08 Atsushi Enomoto <[EMAIL PROTECTED]>
+
* TcpChannelFactory.cs, TcpChannelListener.cs,
HttpChannelFactory.cs, HttpChannelListener.cs,
MsmqChannelFactory.cs, MsmqChannelListener.cs,
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches