예제 #1
0
파일: Reference.cs 프로젝트: nesfit/ITSec
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ChatServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IChatService));
 }
예제 #2
0
파일: Reference.cs 프로젝트: nesfit/ITSec
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(ChatServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IChatService));
 }
예제 #3
0
파일: Reference.cs 프로젝트: nesfit/ITSec
 public ChatServiceClient(EndpointConfiguration endpointConfiguration) :
     base(ChatServiceClient.GetBindingForEndpoint(endpointConfiguration), ChatServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #4
0
파일: Reference.cs 프로젝트: nesfit/ITSec
 public ChatServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(ChatServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #5
0
파일: Reference.cs 프로젝트: nesfit/ITSec
 public ChatServiceClient() :
     base(ChatServiceClient.GetDefaultBinding(), ChatServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IChatService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }