pinvokeservice.cs

来自「c#源代码」· CS 代码 · 共 114 行

CS
114
字号
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.573
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by wsdl, Version=1.1.4322.573.
// 
namespace ICSharpCode.PInvokeAddIn.WebServices {
    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="PInvokeServiceSoap", Namespace="http://www.pinvoke.net/webservices/")]
    public class PInvokeService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public PInvokeService() {
            this.Url = "http://www.pinvoke.net/pinvokeservice.asmx";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.pinvoke.net/webservices/GetResultsForFunction", RequestNamespace="http://www.pinvoke.net/webservices/", ResponseNamespace="http://www.pinvoke.net/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
        public SignatureInfo[] GetResultsForFunction(string functionName, string moduleName) {
            object[] results = this.Invoke("GetResultsForFunction", new object[] {
                        functionName,
                        moduleName});
            return ((SignatureInfo[])(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetResultsForFunction(string functionName, string moduleName, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetResultsForFunction", new object[] {
                        functionName,
                        moduleName}, callback, asyncState);
        }
        
        /// <remarks/>
        public SignatureInfo[] EndGetResultsForFunction(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((SignatureInfo[])(results[0]));
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.pinvoke.net/webservices/ContributeSignaturesAndTypes", RequestNamespace="http://www.pinvoke.net/webservices/", ResponseNamespace="http://www.pinvoke.net/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string ContributeSignaturesAndTypes(string code, string language, string userName) {
            object[] results = this.Invoke("ContributeSignaturesAndTypes", new object[] {
                        code,
                        language,
                        userName});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginContributeSignaturesAndTypes(string code, string language, string userName, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("ContributeSignaturesAndTypes", new object[] {
                        code,
                        language,
                        userName}, callback, asyncState);
        }
        
        /// <remarks/>
        public string EndContributeSignaturesAndTypes(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.pinvoke.net/webservices/")]
    public class SignatureInfo {
        
        /// <remarks/>
        public string Signature;
        
        /// <remarks/>
        public string Language;
        
        /// <remarks/>
        public string LastAuthor;
        
        /// <remarks/>
        public System.DateTime LastModified;
        
        /// <remarks/>
        public string Module;
        
        /// <remarks/>
        public string Url;
        
        /// <remarks/>
        public string AlternativeManagedAPI;
        
        /// <remarks/>
        public string Summary;
        
        /// <remarks/>
        public string SignatureComments;
    }
}

⌨️ 快捷键说明

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