📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by Microsoft.CompactFramework.Design.Data, Version 2.0.50727.42.
//
namespace HardwareDistributor.net.mappoint.staging {
using System.Diagnostics;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Xml.Serialization;
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="CommonServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
public partial class CommonServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
private CustomerInfoHeader customerInfoHeaderValueField;
private UserInfoHeader userInfoHeaderValueField;
/// <remarks/>
public CommonServiceSoap() {
this.Url = "http://findv3.staging.mappoint.net/Find-30/Common.asmx";
}
public CustomerInfoHeader CustomerInfoHeaderValue {
get {
return this.customerInfoHeaderValueField;
}
set {
this.customerInfoHeaderValueField = value;
}
}
public UserInfoHeader UserInfoHeaderValue {
get {
return this.userInfoHeaderValueField;
}
set {
this.userInfoHeaderValueField = value;
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetVersionInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public VersionInfo[] GetVersionInfo() {
object[] results = this.Invoke("GetVersionInfo", new object[0]);
return ((VersionInfo[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetVersionInfo(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetVersionInfo", new object[0], callback, asyncState);
}
/// <remarks/>
public VersionInfo[] EndGetVersionInfo(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((VersionInfo[])(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetCountryRegionInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public CountryRegionInfo[] GetCountryRegionInfo(int[] entityIDs) {
object[] results = this.Invoke("GetCountryRegionInfo", new object[] {
entityIDs});
return ((CountryRegionInfo[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetCountryRegionInfo(int[] entityIDs, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCountryRegionInfo", new object[] {
entityIDs}, callback, asyncState);
}
/// <remarks/>
public CountryRegionInfo[] EndGetCountryRegionInfo(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((CountryRegionInfo[])(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetEntityTypes", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public EntityType[] GetEntityTypes(string dataSourceName) {
object[] results = this.Invoke("GetEntityTypes", new object[] {
dataSourceName});
return ((EntityType[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetEntityTypes(string dataSourceName, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetEntityTypes", new object[] {
dataSourceName}, callback, asyncState);
}
/// <remarks/>
public EntityType[] EndGetEntityTypes(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((EntityType[])(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetDataSourceInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public DataSource[] GetDataSourceInfo(string[] dataSourceNames) {
object[] results = this.Invoke("GetDataSourceInfo", new object[] {
dataSourceNames});
return ((DataSource[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetDataSourceInfo(string[] dataSourceNames, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetDataSourceInfo", new object[] {
dataSourceNames}, callback, asyncState);
}
/// <remarks/>
public DataSource[] EndGetDataSourceInfo(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((DataSource[])(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetGreatCircleDistances", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public double[] GetGreatCircleDistances(LatLong[] latLongs) {
object[] results = this.Invoke("GetGreatCircleDistances", new object[] {
latLongs});
return ((double[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetGreatCircleDistances(LatLong[] latLongs, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetGreatCircleDistances", new object[] {
latLongs}, callback, asyncState);
}
/// <remarks/>
public double[] EndGetGreatCircleDistances(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((double[])(results[0]));
}
}
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="FindServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
public partial class FindServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
private CustomerInfoFindHeader customerInfoFindHeaderValueField;
private UserInfoFindHeader userInfoFindHeaderValueField;
/// <remarks/>
public FindServiceSoap() {
this.Url = "http://findv3.staging.mappoint.net/Find-30/FindService.asmx";
}
public CustomerInfoFindHeader CustomerInfoFindHeaderValue {
get {
return this.customerInfoFindHeaderValueField;
}
set {
this.customerInfoFindHeaderValueField = value;
}
}
public UserInfoFindHeader UserInfoFindHeaderValue {
get {
return this.userInfoFindHeaderValueField;
}
set {
this.userInfoFindHeaderValueField = value;
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/Find", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FindResults Find(FindSpecification specification) {
object[] results = this.Invoke("Find", new object[] {
specification});
return ((FindResults)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginFind(FindSpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Find", new object[] {
specification}, callback, asyncState);
}
/// <remarks/>
public FindResults EndFind(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FindResults)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindAddress", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FindResults FindAddress(FindAddressSpecification specification) {
object[] results = this.Invoke("FindAddress", new object[] {
specification});
return ((FindResults)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginFindAddress(FindAddressSpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FindAddress", new object[] {
specification}, callback, asyncState);
}
/// <remarks/>
public FindResults EndFindAddress(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FindResults)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/ParseAddress", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public Address ParseAddress(string inputAddress, string countryRegion) {
object[] results = this.Invoke("ParseAddress", new object[] {
inputAddress,
countryRegion});
return ((Address)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginParseAddress(string inputAddress, string countryRegion, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ParseAddress", new object[] {
inputAddress,
countryRegion}, callback, asyncState);
}
/// <remarks/>
public Address EndParseAddress(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Address)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetLocationInfo", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public Location[] GetLocationInfo(LatLong location, string dataSourceName, GetInfoOptions options) {
object[] results = this.Invoke("GetLocationInfo", new object[] {
location,
dataSourceName,
options});
return ((Location[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetLocationInfo(LatLong location, string dataSourceName, GetInfoOptions options, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetLocationInfo", new object[] {
location,
dataSourceName,
options}, callback, asyncState);
}
/// <remarks/>
public Location[] EndGetLocationInfo(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((Location[])(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindNearby", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FindResults FindNearby(FindNearbySpecification specification) {
object[] results = this.Invoke("FindNearby", new object[] {
specification});
return ((FindResults)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginFindNearby(FindNearbySpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FindNearby", new object[] {
specification}, callback, asyncState);
}
/// <remarks/>
public FindResults EndFindNearby(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((FindResults)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindByProperty", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public FindResults FindByProperty(FindByPropertySpecification specification) {
object[] results = this.Invoke("FindByProperty", new object[] {
specification});
return ((FindResults)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginFindByProperty(FindByPropertySpecification specification, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("FindByProperty", new object[] {
specification}, callback, asyncState);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -