2009-04-16 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Thu, 16 Apr 2009 09:42:47 +0000 (09:42 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Thu, 16 Apr 2009 09:42:47 +0000 (09:42 -0000)
* DuplexChannelFactory.cs : a bit of constructor implementation.

svn path=/trunk/mcs/; revision=131872

mcs/class/System.ServiceModel/System.ServiceModel/ChangeLog
mcs/class/System.ServiceModel/System.ServiceModel/DuplexChannelFactory.cs

index 708432979c56b9d2413feb0abc4c6ce593e3b931..777c78e0913942c8dc6579edd8ca539599116573 100755 (executable)
@@ -1,3 +1,7 @@
+2009-04-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DuplexChannelFactory.cs : a bit of constructor implementation.
+
 2009-04-08  Atsushi Enomoto  <atsushi@ximian.com>
 
        * NetPeerTcpBinding.cs : ListenIPAddress is IPAddress here too.
index f839bbab0cf5f091b719b115ee00a2422484b9fc..6bf3570f198bec739cf759679ab4f19e41f82f82 100644 (file)
@@ -42,57 +42,60 @@ namespace System.ServiceModel
                
                [MonoTODO]
                public DuplexChannelFactory (object callbackInstance)
+                       : this (new InstanceContext (callbackInstance))
                {
                }
 
                [MonoTODO]
                public DuplexChannelFactory (object callbackInstance,
                        string endpointConfigurationName)
+                       : this (new InstanceContext (callbackInstance), endpointConfigurationName)
                {
-                       throw new NotImplementedException ();
                }
 
                [MonoTODO]
                public DuplexChannelFactory (object callbackInstance,
                        string endpointConfigurationName,
                        EndpointAddress remoteAddress)
+                       : this (new InstanceContext (callbackInstance), endpointConfigurationName, remoteAddress)
                {
-                       throw new NotImplementedException ();
                }
 
                [MonoTODO]
                public DuplexChannelFactory (object callbackInstance,
                        ServiceEndpoint endpoint)
+                       : this (new InstanceContext (callbackInstance), endpoint)
                {
-                       throw new NotImplementedException ();
                }
 
                [MonoTODO]
                public DuplexChannelFactory (object callbackInstance,
                        Binding binding)
+                       : this (new InstanceContext (callbackInstance), binding)
                {
-                       throw new NotImplementedException ();
                }
 
                [MonoTODO]
                public DuplexChannelFactory (object callbackInstance,
                        Binding binding,
                        EndpointAddress remoteAddress)
+                       : this (new InstanceContext (callbackInstance), binding, remoteAddress)
                {
-                       throw new NotImplementedException ();
                }
 
                [MonoTODO]
                public DuplexChannelFactory (InstanceContext callbackInstance,
                        Binding binding)
+                       : base (binding)
                {
-                       throw new NotImplementedException ();
+                       callback_instance = callbackInstance;
                }
 
                [MonoTODO]
                public DuplexChannelFactory (InstanceContext callbackInstance,
                        Binding binding,
-                       EndpointAddress remoteAddress) : base (binding, remoteAddress)
+                       EndpointAddress remoteAddress)
+                       : base (binding, remoteAddress)
                {
                        callback_instance = callbackInstance;
                }
@@ -101,22 +104,25 @@ namespace System.ServiceModel
                public DuplexChannelFactory (InstanceContext callbackInstance,
                        string endpointConfigurationName,
                        EndpointAddress remoteAddress)
+                       : base (endpointConfigurationName, remoteAddress)
                {
-                       throw new NotImplementedException ();
+                       callback_instance = callbackInstance;
                }
 
                [MonoTODO]
                public DuplexChannelFactory (InstanceContext callbackInstance,
                        string endpointConfigurationName)
+                       : base (endpointConfigurationName)
                {
-                       throw new NotImplementedException ();
+                       callback_instance = callbackInstance;
                }
 
                [MonoTODO]
                public DuplexChannelFactory (InstanceContext callbackInstance,
                        ServiceEndpoint endpoint)
+                       : base (endpoint)
                {
-                       throw new NotImplementedException ();
+                       callback_instance = callbackInstance;
                }
                
                [MonoTODO]