⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reference.cs

📁 可以运行在windowCE上的智能词典
💻 CS
字号:
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.2032
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// 此源代码是由 Microsoft.VSDesigner 1.1.4322.2032 版自动生成。
// 
namespace SmartDic.com.aonaware.services {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="DictServiceSoap", Namespace="http://services.aonaware.com/webservices/")]
    public class DictService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public DictService() {
            this.Url = "http://services.aonaware.com/DictService/DictService.asmx";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://services.aonaware.com/webservices/ServerInfo", RequestNamespace="http://services.aonaware.com/webservices/", ResponseNamespace="http://services.aonaware.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string ServerInfo() {
            object[] results = this.Invoke("ServerInfo", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("ServerInfo", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public string EndServerInfo(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://services.aonaware.com/webservices/DictionaryList", RequestNamespace="http://services.aonaware.com/webservices/", ResponseNamespace="http://services.aonaware.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public Dictionary[] DictionaryList() {
            object[] results = this.Invoke("DictionaryList", new object[0]);
            return ((Dictionary[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("DictionaryList", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public Dictionary[] EndDictionaryList(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((Dictionary[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://services.aonaware.com/webservices/DictionaryInfo", RequestNamespace="http://services.aonaware.com/webservices/", ResponseNamespace="http://services.aonaware.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string DictionaryInfo(string dictId) {
            object[] results = this.Invoke("DictionaryInfo", new object[] {
                        dictId});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("DictionaryInfo", new object[] {
                        dictId}, callback, asyncState);
        }
        
        /// <remarks/>
        public string EndDictionaryInfo(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://services.aonaware.com/webservices/Define", RequestNamespace="http://services.aonaware.com/webservices/", ResponseNamespace="http://services.aonaware.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public WordDefinition Define(string word) {
            object[] results = this.Invoke("Define", new object[] {
                        word});
            return ((WordDefinition)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("Define", new object[] {
                        word}, callback, asyncState);
        }
        
        /// <remarks/>
        public WordDefinition EndDefine(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((WordDefinition)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://services.aonaware.com/webservices/DefineInDict", RequestNamespace="http://services.aonaware.com/webservices/", ResponseNamespace="http://services.aonaware.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public WordDefinition DefineInDict(string dictId, string word) {
            object[] results = this.Invoke("DefineInDict", new object[] {
                        dictId,
                        word});
            return ((WordDefinition)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("DefineInDict", new object[] {
                        dictId,
                        word}, callback, asyncState);
        }
        
        /// <remarks/>
        public WordDefinition EndDefineInDict(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((WordDefinition)(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://services.aonaware.com/webservices/StrategyList", RequestNamespace="http://services.aonaware.com/webservices/", ResponseNamespace="http://services.aonaware.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public Strategy[] StrategyList() {
            object[] results = this.Invoke("StrategyList", new object[0]);
            return ((Strategy[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("StrategyList", new object[0], callback, asyncState);
        }
        
        /// <remarks/>
        public Strategy[] EndStrategyList(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((Strategy[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://services.aonaware.com/webservices/Match", RequestNamespace="http://services.aonaware.com/webservices/", ResponseNamespace="http://services.aonaware.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public DictionaryWord[] Match(string word, string strategy) {
            object[] results = this.Invoke("Match", new object[] {
                        word,
                        strategy});
            return ((DictionaryWord[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("Match", new object[] {
                        word,
                        strategy}, callback, asyncState);
        }
        
        /// <remarks/>
        public DictionaryWord[] EndMatch(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((DictionaryWord[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://services.aonaware.com/webservices/MatchInDict", RequestNamespace="http://services.aonaware.com/webservices/", ResponseNamespace="http://services.aonaware.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) {
            object[] results = this.Invoke("MatchInDict", new object[] {
                        dictId,
                        word,
                        strategy});
            return ((DictionaryWord[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("MatchInDict", new object[] {
                        dictId,
                        word,
                        strategy}, callback, asyncState);
        }
        
        /// <remarks/>
        public DictionaryWord[] EndMatchInDict(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((DictionaryWord[])(results[0]));
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")]
    public class Dictionary {
        
        /// <remarks/>
        public string Id;
        
        /// <remarks/>
        public string Name;
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")]
    public class DictionaryWord {
        
        /// <remarks/>
        public string DictionaryId;
        
        /// <remarks/>
        public string Word;
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")]
    public class Strategy {
        
        /// <remarks/>
        public string Id;
        
        /// <remarks/>
        public string Description;
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")]
    public class Definition {
        
        /// <remarks/>
        public string Word;
        
        /// <remarks/>
        public Dictionary Dictionary;
        
        /// <remarks/>
        public string WordDefinition;
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")]
    public class WordDefinition {
        
        /// <remarks/>
        public string Word;
        
        /// <remarks/>
        public Definition[] Definitions;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -