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