* ClientCredentials.cs : more SL3 changes. * ClientBase.cs, ChannelFactory_1.cs, ChannelFactory.cs : more SL3 changes. svn path=/trunk/mcs/; revision=147179
@@ -1,3 +1,7 @@
+2009-12-01 Atsushi Enomoto <[email protected]>
+
+ * ClientCredentials.cs : more SL3 changes.
2009-11-25 Atsushi Enomoto <[email protected]>
* ClientCredentials.cs : it is part of SL3 API, so adjusted for it.
@@ -40,7 +40,9 @@ using System.ServiceModel.Security.Tokens;
namespace System.ServiceModel.Description
{
public class ClientCredentials
-#if !NET_2_1
+#if NET_2_1
+ : IEndpointBehavior
+#else
: SecurityCredentialsManager, IEndpointBehavior
#endif
@@ -1,3 +1,8 @@
+ * ClientBase.cs, ChannelFactory_1.cs, ChannelFactory.cs :
+ more SL3 changes.
2009-12-01 Atsushi Enomoto <[email protected]>
* SilverlightClientConfigLoader.cs : do not enter infinite loop at
@@ -67,11 +67,9 @@ namespace System.ServiceModel
get { return service_endpoint; }
}
public ClientCredentials Credentials {
get { return Endpoint.Behaviors.Find<ClientCredentials> (); }
-#endif
protected internal override TimeSpan DefaultCloseTimeout {
get { return Endpoint.Binding.CloseTimeout; }
@@ -154,9 +154,7 @@ namespace System.ServiceModel
ContractDescription cd = ContractDescription.GetContract (typeof (TChannel));
ServiceEndpoint ep = new ServiceEndpoint (cd);
ep.Behaviors.Add (new ClientCredentials ());
return ep;
@@ -173,11 +173,9 @@ namespace System.ServiceModel
public ClientCredentials ClientCredentials {
get { return ChannelFactory.Credentials; }
public ServiceEndpoint Endpoint {
get { return factory.Endpoint; }