fibonacci.cs

来自「Professional ASP.NET source code」· CS 代码 · 共 42 行

CS
42
字号
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.0.2723.0
//
//     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.0.2723.0.
// 
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.Web.Services;


[System.Web.Services.WebServiceBindingAttribute(Name="FibonacciSoap", Namespace="http://tempuri.org/")]
public class Fibonacci : System.Web.Services.Protocols.SoapHttpClientProtocol {
    
    public Fibonacci() {
        this.Url = "http://localhost/wrox/4885/WebServices/Expose/Fibonacci/Fibonacci_cs.asmx";
    }
    
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSeqNumber", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
    public int GetSeqNumber(int fibIndex) {
        object[] results = this.Invoke("GetSeqNumber", new object[] {fibIndex});
        return ((int)(results[0]));
    }
    
    public System.IAsyncResult BeginGetSeqNumber(int fibIndex, System.AsyncCallback callback, object asyncState) {
        return this.BeginInvoke("GetSeqNumber", new object[] {fibIndex}, callback, asyncState);
    }
    
    public int EndGetSeqNumber(System.IAsyncResult asyncResult) {
        object[] results = this.EndInvoke(asyncResult);
        return ((int)(results[0]));
    }
}

⌨️ 快捷键说明

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