?? reference.cs
字號:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.0.3705.209
//
// 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 Microsoft.VSDesigner, Version 1.0.3705.209.
//
namespace UsingHugeInteger.localhost {
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="HugeIntegerSoap", Namespace="http://www.deitel.com/cspfep1/ch18/")]
public class HugeInteger : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public HugeInteger() {
this.Url = "http://localhost/HugeInteger/HugeInteger.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.deitel.com/cspfep1/ch18/Add", RequestNamespace="http://www.deitel.com/cspfep1/ch18/", ResponseNamespace="http://www.deitel.com/cspfep1/ch18/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Add(string first, string second) {
object[] results = this.Invoke("Add", new object[] {
first,
second});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginAdd(string first, string second, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Add", new object[] {
first,
second}, callback, asyncState);
}
/// <remarks/>
public string EndAdd(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.deitel.com/cspfep1/ch18/Subtract", RequestNamespace="http://www.deitel.com/cspfep1/ch18/", ResponseNamespace="http://www.deitel.com/cspfep1/ch18/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string Subtract(string first, string second) {
object[] results = this.Invoke("Subtract", new object[] {
first,
second});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSubtract(string first, string second, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Subtract", new object[] {
first,
second}, callback, asyncState);
}
/// <remarks/>
public string EndSubtract(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.deitel.com/cspfep1/ch18/Bigger", RequestNamespace="http://www.deitel.com/cspfep1/ch18/", ResponseNamespace="http://www.deitel.com/cspfep1/ch18/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool Bigger(string first, string second) {
object[] results = this.Invoke("Bigger", new object[] {
first,
second});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginBigger(string first, string second, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Bigger", new object[] {
first,
second}, callback, asyncState);
}
/// <remarks/>
public bool EndBigger(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.deitel.com/cspfep1/ch18/Smaller", RequestNamespace="http://www.deitel.com/cspfep1/ch18/", ResponseNamespace="http://www.deitel.com/cspfep1/ch18/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool Smaller(string first, string second) {
object[] results = this.Invoke("Smaller", new object[] {
first,
second});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSmaller(string first, string second, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Smaller", new object[] {
first,
second}, callback, asyncState);
}
/// <remarks/>
public bool EndSmaller(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.deitel.com/cspfep1/ch18/EqualTo", RequestNamespace="http://www.deitel.com/cspfep1/ch18/", ResponseNamespace="http://www.deitel.com/cspfep1/ch18/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool EqualTo(string first, string second) {
object[] results = this.Invoke("EqualTo", new object[] {
first,
second});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginEqualTo(string first, string second, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("EqualTo", new object[] {
first,
second}, callback, asyncState);
}
/// <remarks/>
public bool EndEqualTo(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -