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

        public AuthorizerInternalClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
            base(AuthorizerInternalClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
        {
            this.Endpoint.Name = endpointConfiguration.ToString();
            ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
        }
コード例 #5
0
ファイル: Reference.cs プロジェクト: bkorn68/VueNew2
 public AuthorizerInternalClient(string endpointAddress) :
     base(AuthorizerInternalClient.GetDefaultBinding(), AuthorizerInternalClient.GetDefaultEndpointAddress(endpointAddress))
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IAuthorizerInternal.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }