private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ServiceInterfaceClientBase.GetEndpointAddress(EndpointConfiguration.NetTcpBinding_IServiceInterface));
 }
 public ServiceInterfaceClientBase(System.ServiceModel.InstanceContext callbackInstance, EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(callbackInstance, ServiceInterfaceClientBase.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(ServiceInterfaceClientBase.GetBindingForEndpoint(EndpointConfiguration.NetTcpBinding_IServiceInterface));
 }
 public ServiceInterfaceClientBase(System.ServiceModel.InstanceContext callbackInstance) :
     base(callbackInstance, ServiceInterfaceClientBase.GetDefaultBinding(), ServiceInterfaceClientBase.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.NetTcpBinding_IServiceInterface.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }