Reference.cs 3.83 KB
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.34014
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace PerformanceTestProject.EmailValidatorServiceReference {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="EmailValidatorServiceReference.IEmailValidator")]
    public interface IEmailValidator {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmailValidator/ValidateAddress", ReplyAction="http://tempuri.org/IEmailValidator/ValidateAddressResponse")]
        bool ValidateAddress(string emailAddress);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmailValidator/RegisterAdress", ReplyAction="http://tempuri.org/IEmailValidator/RegisterAdressResponse")]
        int RegisterAdress(string emailAddress);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmailValidator/GetAdress", ReplyAction="http://tempuri.org/IEmailValidator/GetAdressResponse")]
        string GetAdress(int userID);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmailValidator/checkIfFull", ReplyAction="http://tempuri.org/IEmailValidator/checkIfFullResponse")]
        bool checkIfFull();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmailValidator/checkIfFull2", ReplyAction="http://tempuri.org/IEmailValidator/checkIfFull2Response")]
        bool checkIfFull2();
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IEmailValidatorChannel : PerformanceTestProject.EmailValidatorServiceReference.IEmailValidator, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class EmailValidatorClient : System.ServiceModel.ClientBase<PerformanceTestProject.EmailValidatorServiceReference.IEmailValidator>, PerformanceTestProject.EmailValidatorServiceReference.IEmailValidator {
        
        public EmailValidatorClient() {
        }
        
        public EmailValidatorClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public EmailValidatorClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public EmailValidatorClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public EmailValidatorClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public bool ValidateAddress(string emailAddress) {
            return base.Channel.ValidateAddress(emailAddress);
        }
        
        public int RegisterAdress(string emailAddress) {
            return base.Channel.RegisterAdress(emailAddress);
        }
        
        public string GetAdress(int userID) {
            return base.Channel.GetAdress(userID);
        }
        
        public bool checkIfFull() {
            return base.Channel.checkIfFull();
        }
        
        public bool checkIfFull2() {
            return base.Channel.checkIfFull2();
        }
    }
}