예제 #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress(string endpointAddress)
 {
     return(AuthorizerInternalClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IAuthorizerInternal, endpointAddress));
 }
예제 #2
0
 public AuthorizerInternalClient(EndpointConfiguration endpointConfiguration, string endpointAddress) :
     base(AuthorizerInternalClient.GetBindingForEndpoint(endpointConfiguration), AuthorizerInternalClient.GetEndpointAddress(endpointConfiguration, endpointAddress))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }