예제 #1
0
파일: Reference.cs 프로젝트: fhy01/Garderie
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(GarderieServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IGarderieService));
 }
예제 #2
0
파일: Reference.cs 프로젝트: fhy01/Garderie
 public GarderieServiceClient(EndpointConfiguration endpointConfiguration) :
     base(GarderieServiceClient.GetBindingForEndpoint(endpointConfiguration), GarderieServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }