示例#1
0
文件: Reference.cs 项目: mcrear/wcf
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(CalculatorRpcEncClient.GetEndpointAddress(EndpointConfiguration.Basic_ICalculatorRpcEnc));
 }
示例#2
0
文件: Reference.cs 项目: mcrear/wcf
 public CalculatorRpcEncClient(EndpointConfiguration endpointConfiguration) :
     base(CalculatorRpcEncClient.GetBindingForEndpoint(endpointConfiguration), CalculatorRpcEncClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }