コード例 #1
0
ファイル: Reference.cs プロジェクト: cmacivor/netcoresandbox
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(NoneyaWebServiceClient.GetEndpointAddress(EndpointConfiguration.NoneyaEndpointAddressToServer));
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: cmacivor/netcoresandbox
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(NoneyaWebServiceClient.GetBindingForEndpoint(EndpointConfiguration.NoneyaEndpointAddressToServer));
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: cmacivor/netcoresandbox
 public NoneyaWebServiceClient(EndpointConfiguration endpointConfiguration) :
     base(NoneyaWebServiceClient.GetBindingForEndpoint(endpointConfiguration), NoneyaWebServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: cmacivor/netcoresandbox
 public NoneyaWebServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(NoneyaWebServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #5
0
ファイル: Reference.cs プロジェクト: cmacivor/netcoresandbox
 public NoneyaWebServiceClient() :
     base(NoneyaWebServiceClient.GetDefaultBinding(), NoneyaWebServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.NoneyaEndpointAddressToServer.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }