📄 moolahclass.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.0.3705.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.3705.0.
//
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="MoolahClassSoap", Namespace="http://localhost/MoolahSolution/")]
public class MoolahClass : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public MoolahClass() {
this.Url = "http://localhost/MoolahSolution/MoolahService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://localhost/MoolahSolution/GetWorth", RequestNamespace="http://localhost/MoolahSolution/", ResponseNamespace="http://localhost/MoolahSolution/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetWorth(int donation) {
object[] results = this.Invoke("GetWorth", new object[] {
donation});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetWorth(int donation, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetWorth", new object[] {
donation}, callback, asyncState);
}
/// <remarks/>
public int EndGetWorth(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://localhost/MoolahSolution/GetYourDebt", RequestNamespace="http://localhost/MoolahSolution/", ResponseNamespace="http://localhost/MoolahSolution/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetYourDebt() {
object[] results = this.Invoke("GetYourDebt", new object[0]);
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetYourDebt(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetYourDebt", new object[0], callback, asyncState);
}
/// <remarks/>
public int EndGetYourDebt(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -