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

namespace TriggerDemoGui.ApiWebService {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ApiWebService.IDmeApiWebService")]
    public interface IDmeApiWebService {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/Init", ReplyAction="http://tempuri.org/IDmeApiWebService/InitResponse")]
        void Init();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/Init", ReplyAction="http://tempuri.org/IDmeApiWebService/InitResponse")]
        System.Threading.Tasks.Task InitAsync();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/ReInit", ReplyAction="http://tempuri.org/IDmeApiWebService/ReInitResponse")]
        void ReInit();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/ReInit", ReplyAction="http://tempuri.org/IDmeApiWebService/ReInitResponse")]
        System.Threading.Tasks.Task ReInitAsync();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/GetErors", ReplyAction="http://tempuri.org/IDmeApiWebService/GetErorsResponse")]
        string[] GetErors();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/GetErors", ReplyAction="http://tempuri.org/IDmeApiWebService/GetErorsResponse")]
        System.Threading.Tasks.Task<string[]> GetErorsAsync();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/GetLoadedProjects", ReplyAction="http://tempuri.org/IDmeApiWebService/GetLoadedProjectsResponse")]
        string[] GetLoadedProjects();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/GetLoadedProjects", ReplyAction="http://tempuri.org/IDmeApiWebService/GetLoadedProjectsResponse")]
        System.Threading.Tasks.Task<string[]> GetLoadedProjectsAsync();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/MatchAndInsert", ReplyAction="http://tempuri.org/IDmeApiWebService/MatchAndInsertResponse")]
        void MatchAndInsert(string projName, long id, string[] values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/MatchAndInsert", ReplyAction="http://tempuri.org/IDmeApiWebService/MatchAndInsertResponse")]
        System.Threading.Tasks.Task MatchAndInsertAsync(string projName, long id, string[] values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/MatchAndInsertSync", ReplyAction="http://tempuri.org/IDmeApiWebService/MatchAndInsertSyncResponse")]
        string MatchAndInsertSync(string projName, long id, string[] values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/MatchAndInsertSync", ReplyAction="http://tempuri.org/IDmeApiWebService/MatchAndInsertSyncResponse")]
        System.Threading.Tasks.Task<string> MatchAndInsertSyncAsync(string projName, long id, string[] values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/GetPathes", ReplyAction="http://tempuri.org/IDmeApiWebService/GetPathesResponse")]
        string[] GetPathes();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/GetPathes", ReplyAction="http://tempuri.org/IDmeApiWebService/GetPathesResponse")]
        System.Threading.Tasks.Task<string[]> GetPathesAsync();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/AddToCachedTable", ReplyAction="http://tempuri.org/IDmeApiWebService/AddToCachedTableResponse")]
        bool AddToCachedTable(string projName, string[] matchihgValues);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/AddToCachedTable", ReplyAction="http://tempuri.org/IDmeApiWebService/AddToCachedTableResponse")]
        System.Threading.Tasks.Task<bool> AddToCachedTableAsync(string projName, string[] matchihgValues);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/GetVersion", ReplyAction="http://tempuri.org/IDmeApiWebService/GetVersionResponse")]
        string GetVersion();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDmeApiWebService/GetVersion", ReplyAction="http://tempuri.org/IDmeApiWebService/GetVersionResponse")]
        System.Threading.Tasks.Task<string> GetVersionAsync();
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IDmeApiWebServiceChannel : TriggerDemoGui.ApiWebService.IDmeApiWebService, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class DmeApiWebServiceClient : System.ServiceModel.ClientBase<TriggerDemoGui.ApiWebService.IDmeApiWebService>, TriggerDemoGui.ApiWebService.IDmeApiWebService {
        
        public DmeApiWebServiceClient() {
        }
        
        public DmeApiWebServiceClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public DmeApiWebServiceClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public DmeApiWebServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public DmeApiWebServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public void Init() {
            base.Channel.Init();
        }
        
        public System.Threading.Tasks.Task InitAsync() {
            return base.Channel.InitAsync();
        }
        
        public void ReInit() {
            base.Channel.ReInit();
        }
        
        public System.Threading.Tasks.Task ReInitAsync() {
            return base.Channel.ReInitAsync();
        }
        
        public string[] GetErors() {
            return base.Channel.GetErors();
        }
        
        public System.Threading.Tasks.Task<string[]> GetErorsAsync() {
            return base.Channel.GetErorsAsync();
        }
        
        public string[] GetLoadedProjects() {
            return base.Channel.GetLoadedProjects();
        }
        
        public System.Threading.Tasks.Task<string[]> GetLoadedProjectsAsync() {
            return base.Channel.GetLoadedProjectsAsync();
        }
        
        public void MatchAndInsert(string projName, long id, string[] values) {
            base.Channel.MatchAndInsert(projName, id, values);
        }
        
        public System.Threading.Tasks.Task MatchAndInsertAsync(string projName, long id, string[] values) {
            return base.Channel.MatchAndInsertAsync(projName, id, values);
        }
        
        public string MatchAndInsertSync(string projName, long id, string[] values) {
            return base.Channel.MatchAndInsertSync(projName, id, values);
        }
        
        public System.Threading.Tasks.Task<string> MatchAndInsertSyncAsync(string projName, long id, string[] values) {
            return base.Channel.MatchAndInsertSyncAsync(projName, id, values);
        }
        
        public string[] GetPathes() {
            return base.Channel.GetPathes();
        }
        
        public System.Threading.Tasks.Task<string[]> GetPathesAsync() {
            return base.Channel.GetPathesAsync();
        }
        
        public bool AddToCachedTable(string projName, string[] matchihgValues) {
            return base.Channel.AddToCachedTable(projName, matchihgValues);
        }
        
        public System.Threading.Tasks.Task<bool> AddToCachedTableAsync(string projName, string[] matchihgValues) {
            return base.Channel.AddToCachedTableAsync(projName, matchihgValues);
        }
        
        public string GetVersion() {
            return base.Channel.GetVersion();
        }
        
        public System.Threading.Tasks.Task<string> GetVersionAsync() {
            return base.Channel.GetVersionAsync();
        }
    }
}
