PageRenderTime 73ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

/IronPython_Main/Languages/IronPython/Samples/WinFormsMapPoint/WinForms/MapPointWebServiceHelper/Web References/net.mappoint.staging/Reference.cs

#
C# | 6076 lines | 4419 code | 1010 blank | 647 comment | 148 complexity | 3a10a2e02560dfe9fbbfdcad590b6832 MD5 | raw file
Possible License(s): GPL-2.0, MPL-2.0-no-copyleft-exception, CPL-1.0, CC-BY-SA-3.0, BSD-3-Clause, ISC, AGPL-3.0, LGPL-2.1, Apache-2.0
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:2.0.50727.3053
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. //
  11. // This source code was auto-generated by Microsoft.VSDesigner, Version 2.0.50727.3053.
  12. //
  13. #pragma warning disable 1591
  14. namespace MapPointWebServiceProject.net.mappoint.staging {
  15. using System.Diagnostics;
  16. using System.Web.Services;
  17. using System.ComponentModel;
  18. using System.Web.Services.Protocols;
  19. using System;
  20. using System.Xml.Serialization;
  21. /// <remarks/>
  22. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  23. [System.Diagnostics.DebuggerStepThroughAttribute()]
  24. [System.ComponentModel.DesignerCategoryAttribute("code")]
  25. [System.Web.Services.WebServiceBindingAttribute(Name="CommonServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
  26. [System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
  27. [System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
  28. public partial class CommonServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
  29. private CustomerInfoHeader customerInfoHeaderValueField;
  30. private UserInfoHeader userInfoHeaderValueField;
  31. private System.Threading.SendOrPostCallback GetVersionInfoOperationCompleted;
  32. private System.Threading.SendOrPostCallback GetCountryRegionInfoOperationCompleted;
  33. private System.Threading.SendOrPostCallback GetEntityTypesOperationCompleted;
  34. private System.Threading.SendOrPostCallback GetDataSourceInfoOperationCompleted;
  35. private System.Threading.SendOrPostCallback GetGreatCircleDistancesOperationCompleted;
  36. private bool useDefaultCredentialsSetExplicitly;
  37. /// <remarks/>
  38. public CommonServiceSoap() {
  39. this.Url = "http://findv3.staging.mappoint.net/Find-30/Common.asmx";
  40. if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
  41. this.UseDefaultCredentials = true;
  42. this.useDefaultCredentialsSetExplicitly = false;
  43. }
  44. else {
  45. this.useDefaultCredentialsSetExplicitly = true;
  46. }
  47. }
  48. public CustomerInfoHeader CustomerInfoHeaderValue {
  49. get {
  50. return this.customerInfoHeaderValueField;
  51. }
  52. set {
  53. this.customerInfoHeaderValueField = value;
  54. }
  55. }
  56. public UserInfoHeader UserInfoHeaderValue {
  57. get {
  58. return this.userInfoHeaderValueField;
  59. }
  60. set {
  61. this.userInfoHeaderValueField = value;
  62. }
  63. }
  64. public new string Url {
  65. get {
  66. return base.Url;
  67. }
  68. set {
  69. if ((((this.IsLocalFileSystemWebService(base.Url) == true)
  70. && (this.useDefaultCredentialsSetExplicitly == false))
  71. && (this.IsLocalFileSystemWebService(value) == false))) {
  72. base.UseDefaultCredentials = false;
  73. }
  74. base.Url = value;
  75. }
  76. }
  77. public new bool UseDefaultCredentials {
  78. get {
  79. return base.UseDefaultCredentials;
  80. }
  81. set {
  82. base.UseDefaultCredentials = value;
  83. this.useDefaultCredentialsSetExplicitly = true;
  84. }
  85. }
  86. /// <remarks/>
  87. public event GetVersionInfoCompletedEventHandler GetVersionInfoCompleted;
  88. /// <remarks/>
  89. public event GetCountryRegionInfoCompletedEventHandler GetCountryRegionInfoCompleted;
  90. /// <remarks/>
  91. public event GetEntityTypesCompletedEventHandler GetEntityTypesCompleted;
  92. /// <remarks/>
  93. public event GetDataSourceInfoCompletedEventHandler GetDataSourceInfoCompleted;
  94. /// <remarks/>
  95. public event GetGreatCircleDistancesCompletedEventHandler GetGreatCircleDistancesCompleted;
  96. /// <remarks/>
  97. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
  98. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
  99. [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)]
  100. public VersionInfo[] GetVersionInfo() {
  101. object[] results = this.Invoke("GetVersionInfo", new object[0]);
  102. return ((VersionInfo[])(results[0]));
  103. }
  104. /// <remarks/>
  105. public System.IAsyncResult BeginGetVersionInfo(System.AsyncCallback callback, object asyncState) {
  106. return this.BeginInvoke("GetVersionInfo", new object[0], callback, asyncState);
  107. }
  108. /// <remarks/>
  109. public VersionInfo[] EndGetVersionInfo(System.IAsyncResult asyncResult) {
  110. object[] results = this.EndInvoke(asyncResult);
  111. return ((VersionInfo[])(results[0]));
  112. }
  113. /// <remarks/>
  114. public void GetVersionInfoAsync() {
  115. this.GetVersionInfoAsync(null);
  116. }
  117. /// <remarks/>
  118. public void GetVersionInfoAsync(object userState) {
  119. if ((this.GetVersionInfoOperationCompleted == null)) {
  120. this.GetVersionInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVersionInfoOperationCompleted);
  121. }
  122. this.InvokeAsync("GetVersionInfo", new object[0], this.GetVersionInfoOperationCompleted, userState);
  123. }
  124. private void OnGetVersionInfoOperationCompleted(object arg) {
  125. if ((this.GetVersionInfoCompleted != null)) {
  126. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  127. this.GetVersionInfoCompleted(this, new GetVersionInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  128. }
  129. }
  130. /// <remarks/>
  131. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
  132. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
  133. [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)]
  134. public CountryRegionInfo[] GetCountryRegionInfo(int[] entityIDs) {
  135. object[] results = this.Invoke("GetCountryRegionInfo", new object[] {
  136. entityIDs});
  137. return ((CountryRegionInfo[])(results[0]));
  138. }
  139. /// <remarks/>
  140. public System.IAsyncResult BeginGetCountryRegionInfo(int[] entityIDs, System.AsyncCallback callback, object asyncState) {
  141. return this.BeginInvoke("GetCountryRegionInfo", new object[] {
  142. entityIDs}, callback, asyncState);
  143. }
  144. /// <remarks/>
  145. public CountryRegionInfo[] EndGetCountryRegionInfo(System.IAsyncResult asyncResult) {
  146. object[] results = this.EndInvoke(asyncResult);
  147. return ((CountryRegionInfo[])(results[0]));
  148. }
  149. /// <remarks/>
  150. public void GetCountryRegionInfoAsync(int[] entityIDs) {
  151. this.GetCountryRegionInfoAsync(entityIDs, null);
  152. }
  153. /// <remarks/>
  154. public void GetCountryRegionInfoAsync(int[] entityIDs, object userState) {
  155. if ((this.GetCountryRegionInfoOperationCompleted == null)) {
  156. this.GetCountryRegionInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCountryRegionInfoOperationCompleted);
  157. }
  158. this.InvokeAsync("GetCountryRegionInfo", new object[] {
  159. entityIDs}, this.GetCountryRegionInfoOperationCompleted, userState);
  160. }
  161. private void OnGetCountryRegionInfoOperationCompleted(object arg) {
  162. if ((this.GetCountryRegionInfoCompleted != null)) {
  163. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  164. this.GetCountryRegionInfoCompleted(this, new GetCountryRegionInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  165. }
  166. }
  167. /// <remarks/>
  168. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
  169. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
  170. [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)]
  171. public EntityType[] GetEntityTypes(string dataSourceName) {
  172. object[] results = this.Invoke("GetEntityTypes", new object[] {
  173. dataSourceName});
  174. return ((EntityType[])(results[0]));
  175. }
  176. /// <remarks/>
  177. public System.IAsyncResult BeginGetEntityTypes(string dataSourceName, System.AsyncCallback callback, object asyncState) {
  178. return this.BeginInvoke("GetEntityTypes", new object[] {
  179. dataSourceName}, callback, asyncState);
  180. }
  181. /// <remarks/>
  182. public EntityType[] EndGetEntityTypes(System.IAsyncResult asyncResult) {
  183. object[] results = this.EndInvoke(asyncResult);
  184. return ((EntityType[])(results[0]));
  185. }
  186. /// <remarks/>
  187. public void GetEntityTypesAsync(string dataSourceName) {
  188. this.GetEntityTypesAsync(dataSourceName, null);
  189. }
  190. /// <remarks/>
  191. public void GetEntityTypesAsync(string dataSourceName, object userState) {
  192. if ((this.GetEntityTypesOperationCompleted == null)) {
  193. this.GetEntityTypesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetEntityTypesOperationCompleted);
  194. }
  195. this.InvokeAsync("GetEntityTypes", new object[] {
  196. dataSourceName}, this.GetEntityTypesOperationCompleted, userState);
  197. }
  198. private void OnGetEntityTypesOperationCompleted(object arg) {
  199. if ((this.GetEntityTypesCompleted != null)) {
  200. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  201. this.GetEntityTypesCompleted(this, new GetEntityTypesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  202. }
  203. }
  204. /// <remarks/>
  205. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
  206. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
  207. [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)]
  208. public DataSource[] GetDataSourceInfo(string[] dataSourceNames) {
  209. object[] results = this.Invoke("GetDataSourceInfo", new object[] {
  210. dataSourceNames});
  211. return ((DataSource[])(results[0]));
  212. }
  213. /// <remarks/>
  214. public System.IAsyncResult BeginGetDataSourceInfo(string[] dataSourceNames, System.AsyncCallback callback, object asyncState) {
  215. return this.BeginInvoke("GetDataSourceInfo", new object[] {
  216. dataSourceNames}, callback, asyncState);
  217. }
  218. /// <remarks/>
  219. public DataSource[] EndGetDataSourceInfo(System.IAsyncResult asyncResult) {
  220. object[] results = this.EndInvoke(asyncResult);
  221. return ((DataSource[])(results[0]));
  222. }
  223. /// <remarks/>
  224. public void GetDataSourceInfoAsync(string[] dataSourceNames) {
  225. this.GetDataSourceInfoAsync(dataSourceNames, null);
  226. }
  227. /// <remarks/>
  228. public void GetDataSourceInfoAsync(string[] dataSourceNames, object userState) {
  229. if ((this.GetDataSourceInfoOperationCompleted == null)) {
  230. this.GetDataSourceInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDataSourceInfoOperationCompleted);
  231. }
  232. this.InvokeAsync("GetDataSourceInfo", new object[] {
  233. dataSourceNames}, this.GetDataSourceInfoOperationCompleted, userState);
  234. }
  235. private void OnGetDataSourceInfoOperationCompleted(object arg) {
  236. if ((this.GetDataSourceInfoCompleted != null)) {
  237. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  238. this.GetDataSourceInfoCompleted(this, new GetDataSourceInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  239. }
  240. }
  241. /// <remarks/>
  242. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoHeaderValue")]
  243. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoHeaderValue")]
  244. [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)]
  245. public double[] GetGreatCircleDistances(LatLong[] latLongs) {
  246. object[] results = this.Invoke("GetGreatCircleDistances", new object[] {
  247. latLongs});
  248. return ((double[])(results[0]));
  249. }
  250. /// <remarks/>
  251. public System.IAsyncResult BeginGetGreatCircleDistances(LatLong[] latLongs, System.AsyncCallback callback, object asyncState) {
  252. return this.BeginInvoke("GetGreatCircleDistances", new object[] {
  253. latLongs}, callback, asyncState);
  254. }
  255. /// <remarks/>
  256. public double[] EndGetGreatCircleDistances(System.IAsyncResult asyncResult) {
  257. object[] results = this.EndInvoke(asyncResult);
  258. return ((double[])(results[0]));
  259. }
  260. /// <remarks/>
  261. public void GetGreatCircleDistancesAsync(LatLong[] latLongs) {
  262. this.GetGreatCircleDistancesAsync(latLongs, null);
  263. }
  264. /// <remarks/>
  265. public void GetGreatCircleDistancesAsync(LatLong[] latLongs, object userState) {
  266. if ((this.GetGreatCircleDistancesOperationCompleted == null)) {
  267. this.GetGreatCircleDistancesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGreatCircleDistancesOperationCompleted);
  268. }
  269. this.InvokeAsync("GetGreatCircleDistances", new object[] {
  270. latLongs}, this.GetGreatCircleDistancesOperationCompleted, userState);
  271. }
  272. private void OnGetGreatCircleDistancesOperationCompleted(object arg) {
  273. if ((this.GetGreatCircleDistancesCompleted != null)) {
  274. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  275. this.GetGreatCircleDistancesCompleted(this, new GetGreatCircleDistancesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  276. }
  277. }
  278. /// <remarks/>
  279. public new void CancelAsync(object userState) {
  280. base.CancelAsync(userState);
  281. }
  282. private bool IsLocalFileSystemWebService(string url) {
  283. if (((url == null)
  284. || (url == string.Empty))) {
  285. return false;
  286. }
  287. System.Uri wsUri = new System.Uri(url);
  288. if (((wsUri.Port >= 1024)
  289. && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
  290. return true;
  291. }
  292. return false;
  293. }
  294. }
  295. /// <remarks/>
  296. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  297. [System.Diagnostics.DebuggerStepThroughAttribute()]
  298. [System.ComponentModel.DesignerCategoryAttribute("code")]
  299. [System.Web.Services.WebServiceBindingAttribute(Name="FindServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
  300. [System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
  301. [System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
  302. public partial class FindServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
  303. private CustomerInfoFindHeader customerInfoFindHeaderValueField;
  304. private UserInfoFindHeader userInfoFindHeaderValueField;
  305. private System.Threading.SendOrPostCallback FindOperationCompleted;
  306. private System.Threading.SendOrPostCallback FindAddressOperationCompleted;
  307. private System.Threading.SendOrPostCallback ParseAddressOperationCompleted;
  308. private System.Threading.SendOrPostCallback GetLocationInfoOperationCompleted;
  309. private System.Threading.SendOrPostCallback FindNearbyOperationCompleted;
  310. private System.Threading.SendOrPostCallback FindByPropertyOperationCompleted;
  311. private System.Threading.SendOrPostCallback FindByIDOperationCompleted;
  312. private System.Threading.SendOrPostCallback FindNearRouteOperationCompleted;
  313. private System.Threading.SendOrPostCallback FindPolygonOperationCompleted;
  314. private bool useDefaultCredentialsSetExplicitly;
  315. /// <remarks/>
  316. public FindServiceSoap() {
  317. this.Url = "http://findv3.staging.mappoint.net/Find-30/FindService.asmx";
  318. if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
  319. this.UseDefaultCredentials = true;
  320. this.useDefaultCredentialsSetExplicitly = false;
  321. }
  322. else {
  323. this.useDefaultCredentialsSetExplicitly = true;
  324. }
  325. }
  326. public CustomerInfoFindHeader CustomerInfoFindHeaderValue {
  327. get {
  328. return this.customerInfoFindHeaderValueField;
  329. }
  330. set {
  331. this.customerInfoFindHeaderValueField = value;
  332. }
  333. }
  334. public UserInfoFindHeader UserInfoFindHeaderValue {
  335. get {
  336. return this.userInfoFindHeaderValueField;
  337. }
  338. set {
  339. this.userInfoFindHeaderValueField = value;
  340. }
  341. }
  342. public new string Url {
  343. get {
  344. return base.Url;
  345. }
  346. set {
  347. if ((((this.IsLocalFileSystemWebService(base.Url) == true)
  348. && (this.useDefaultCredentialsSetExplicitly == false))
  349. && (this.IsLocalFileSystemWebService(value) == false))) {
  350. base.UseDefaultCredentials = false;
  351. }
  352. base.Url = value;
  353. }
  354. }
  355. public new bool UseDefaultCredentials {
  356. get {
  357. return base.UseDefaultCredentials;
  358. }
  359. set {
  360. base.UseDefaultCredentials = value;
  361. this.useDefaultCredentialsSetExplicitly = true;
  362. }
  363. }
  364. /// <remarks/>
  365. public event FindCompletedEventHandler FindCompleted;
  366. /// <remarks/>
  367. public event FindAddressCompletedEventHandler FindAddressCompleted;
  368. /// <remarks/>
  369. public event ParseAddressCompletedEventHandler ParseAddressCompleted;
  370. /// <remarks/>
  371. public event GetLocationInfoCompletedEventHandler GetLocationInfoCompleted;
  372. /// <remarks/>
  373. public event FindNearbyCompletedEventHandler FindNearbyCompleted;
  374. /// <remarks/>
  375. public event FindByPropertyCompletedEventHandler FindByPropertyCompleted;
  376. /// <remarks/>
  377. public event FindByIDCompletedEventHandler FindByIDCompleted;
  378. /// <remarks/>
  379. public event FindNearRouteCompletedEventHandler FindNearRouteCompleted;
  380. /// <remarks/>
  381. public event FindPolygonCompletedEventHandler FindPolygonCompleted;
  382. /// <remarks/>
  383. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  384. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  385. [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)]
  386. public FindResults Find(FindSpecification specification) {
  387. object[] results = this.Invoke("Find", new object[] {
  388. specification});
  389. return ((FindResults)(results[0]));
  390. }
  391. /// <remarks/>
  392. public System.IAsyncResult BeginFind(FindSpecification specification, System.AsyncCallback callback, object asyncState) {
  393. return this.BeginInvoke("Find", new object[] {
  394. specification}, callback, asyncState);
  395. }
  396. /// <remarks/>
  397. public FindResults EndFind(System.IAsyncResult asyncResult) {
  398. object[] results = this.EndInvoke(asyncResult);
  399. return ((FindResults)(results[0]));
  400. }
  401. /// <remarks/>
  402. public void FindAsync(FindSpecification specification) {
  403. this.FindAsync(specification, null);
  404. }
  405. /// <remarks/>
  406. public void FindAsync(FindSpecification specification, object userState) {
  407. if ((this.FindOperationCompleted == null)) {
  408. this.FindOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindOperationCompleted);
  409. }
  410. this.InvokeAsync("Find", new object[] {
  411. specification}, this.FindOperationCompleted, userState);
  412. }
  413. private void OnFindOperationCompleted(object arg) {
  414. if ((this.FindCompleted != null)) {
  415. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  416. this.FindCompleted(this, new FindCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  417. }
  418. }
  419. /// <remarks/>
  420. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  421. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  422. [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)]
  423. public FindResults FindAddress(FindAddressSpecification specification) {
  424. object[] results = this.Invoke("FindAddress", new object[] {
  425. specification});
  426. return ((FindResults)(results[0]));
  427. }
  428. /// <remarks/>
  429. public System.IAsyncResult BeginFindAddress(FindAddressSpecification specification, System.AsyncCallback callback, object asyncState) {
  430. return this.BeginInvoke("FindAddress", new object[] {
  431. specification}, callback, asyncState);
  432. }
  433. /// <remarks/>
  434. public FindResults EndFindAddress(System.IAsyncResult asyncResult) {
  435. object[] results = this.EndInvoke(asyncResult);
  436. return ((FindResults)(results[0]));
  437. }
  438. /// <remarks/>
  439. public void FindAddressAsync(FindAddressSpecification specification) {
  440. this.FindAddressAsync(specification, null);
  441. }
  442. /// <remarks/>
  443. public void FindAddressAsync(FindAddressSpecification specification, object userState) {
  444. if ((this.FindAddressOperationCompleted == null)) {
  445. this.FindAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindAddressOperationCompleted);
  446. }
  447. this.InvokeAsync("FindAddress", new object[] {
  448. specification}, this.FindAddressOperationCompleted, userState);
  449. }
  450. private void OnFindAddressOperationCompleted(object arg) {
  451. if ((this.FindAddressCompleted != null)) {
  452. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  453. this.FindAddressCompleted(this, new FindAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  454. }
  455. }
  456. /// <remarks/>
  457. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  458. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  459. [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)]
  460. public Address ParseAddress(string inputAddress, string countryRegion) {
  461. object[] results = this.Invoke("ParseAddress", new object[] {
  462. inputAddress,
  463. countryRegion});
  464. return ((Address)(results[0]));
  465. }
  466. /// <remarks/>
  467. public System.IAsyncResult BeginParseAddress(string inputAddress, string countryRegion, System.AsyncCallback callback, object asyncState) {
  468. return this.BeginInvoke("ParseAddress", new object[] {
  469. inputAddress,
  470. countryRegion}, callback, asyncState);
  471. }
  472. /// <remarks/>
  473. public Address EndParseAddress(System.IAsyncResult asyncResult) {
  474. object[] results = this.EndInvoke(asyncResult);
  475. return ((Address)(results[0]));
  476. }
  477. /// <remarks/>
  478. public void ParseAddressAsync(string inputAddress, string countryRegion) {
  479. this.ParseAddressAsync(inputAddress, countryRegion, null);
  480. }
  481. /// <remarks/>
  482. public void ParseAddressAsync(string inputAddress, string countryRegion, object userState) {
  483. if ((this.ParseAddressOperationCompleted == null)) {
  484. this.ParseAddressOperationCompleted = new System.Threading.SendOrPostCallback(this.OnParseAddressOperationCompleted);
  485. }
  486. this.InvokeAsync("ParseAddress", new object[] {
  487. inputAddress,
  488. countryRegion}, this.ParseAddressOperationCompleted, userState);
  489. }
  490. private void OnParseAddressOperationCompleted(object arg) {
  491. if ((this.ParseAddressCompleted != null)) {
  492. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  493. this.ParseAddressCompleted(this, new ParseAddressCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  494. }
  495. }
  496. /// <remarks/>
  497. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  498. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  499. [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)]
  500. public Location[] GetLocationInfo(LatLong location, string dataSourceName, GetInfoOptions options) {
  501. object[] results = this.Invoke("GetLocationInfo", new object[] {
  502. location,
  503. dataSourceName,
  504. options});
  505. return ((Location[])(results[0]));
  506. }
  507. /// <remarks/>
  508. public System.IAsyncResult BeginGetLocationInfo(LatLong location, string dataSourceName, GetInfoOptions options, System.AsyncCallback callback, object asyncState) {
  509. return this.BeginInvoke("GetLocationInfo", new object[] {
  510. location,
  511. dataSourceName,
  512. options}, callback, asyncState);
  513. }
  514. /// <remarks/>
  515. public Location[] EndGetLocationInfo(System.IAsyncResult asyncResult) {
  516. object[] results = this.EndInvoke(asyncResult);
  517. return ((Location[])(results[0]));
  518. }
  519. /// <remarks/>
  520. public void GetLocationInfoAsync(LatLong location, string dataSourceName, GetInfoOptions options) {
  521. this.GetLocationInfoAsync(location, dataSourceName, options, null);
  522. }
  523. /// <remarks/>
  524. public void GetLocationInfoAsync(LatLong location, string dataSourceName, GetInfoOptions options, object userState) {
  525. if ((this.GetLocationInfoOperationCompleted == null)) {
  526. this.GetLocationInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetLocationInfoOperationCompleted);
  527. }
  528. this.InvokeAsync("GetLocationInfo", new object[] {
  529. location,
  530. dataSourceName,
  531. options}, this.GetLocationInfoOperationCompleted, userState);
  532. }
  533. private void OnGetLocationInfoOperationCompleted(object arg) {
  534. if ((this.GetLocationInfoCompleted != null)) {
  535. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  536. this.GetLocationInfoCompleted(this, new GetLocationInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  537. }
  538. }
  539. /// <remarks/>
  540. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  541. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  542. [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)]
  543. public FindResults FindNearby(FindNearbySpecification specification) {
  544. object[] results = this.Invoke("FindNearby", new object[] {
  545. specification});
  546. return ((FindResults)(results[0]));
  547. }
  548. /// <remarks/>
  549. public System.IAsyncResult BeginFindNearby(FindNearbySpecification specification, System.AsyncCallback callback, object asyncState) {
  550. return this.BeginInvoke("FindNearby", new object[] {
  551. specification}, callback, asyncState);
  552. }
  553. /// <remarks/>
  554. public FindResults EndFindNearby(System.IAsyncResult asyncResult) {
  555. object[] results = this.EndInvoke(asyncResult);
  556. return ((FindResults)(results[0]));
  557. }
  558. /// <remarks/>
  559. public void FindNearbyAsync(FindNearbySpecification specification) {
  560. this.FindNearbyAsync(specification, null);
  561. }
  562. /// <remarks/>
  563. public void FindNearbyAsync(FindNearbySpecification specification, object userState) {
  564. if ((this.FindNearbyOperationCompleted == null)) {
  565. this.FindNearbyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindNearbyOperationCompleted);
  566. }
  567. this.InvokeAsync("FindNearby", new object[] {
  568. specification}, this.FindNearbyOperationCompleted, userState);
  569. }
  570. private void OnFindNearbyOperationCompleted(object arg) {
  571. if ((this.FindNearbyCompleted != null)) {
  572. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  573. this.FindNearbyCompleted(this, new FindNearbyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  574. }
  575. }
  576. /// <remarks/>
  577. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  578. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  579. [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)]
  580. public FindResults FindByProperty(FindByPropertySpecification specification) {
  581. object[] results = this.Invoke("FindByProperty", new object[] {
  582. specification});
  583. return ((FindResults)(results[0]));
  584. }
  585. /// <remarks/>
  586. public System.IAsyncResult BeginFindByProperty(FindByPropertySpecification specification, System.AsyncCallback callback, object asyncState) {
  587. return this.BeginInvoke("FindByProperty", new object[] {
  588. specification}, callback, asyncState);
  589. }
  590. /// <remarks/>
  591. public FindResults EndFindByProperty(System.IAsyncResult asyncResult) {
  592. object[] results = this.EndInvoke(asyncResult);
  593. return ((FindResults)(results[0]));
  594. }
  595. /// <remarks/>
  596. public void FindByPropertyAsync(FindByPropertySpecification specification) {
  597. this.FindByPropertyAsync(specification, null);
  598. }
  599. /// <remarks/>
  600. public void FindByPropertyAsync(FindByPropertySpecification specification, object userState) {
  601. if ((this.FindByPropertyOperationCompleted == null)) {
  602. this.FindByPropertyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindByPropertyOperationCompleted);
  603. }
  604. this.InvokeAsync("FindByProperty", new object[] {
  605. specification}, this.FindByPropertyOperationCompleted, userState);
  606. }
  607. private void OnFindByPropertyOperationCompleted(object arg) {
  608. if ((this.FindByPropertyCompleted != null)) {
  609. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  610. this.FindByPropertyCompleted(this, new FindByPropertyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  611. }
  612. }
  613. /// <remarks/>
  614. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  615. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  616. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindByID", 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)]
  617. public FindResults FindByID(FindByIDSpecification specification) {
  618. object[] results = this.Invoke("FindByID", new object[] {
  619. specification});
  620. return ((FindResults)(results[0]));
  621. }
  622. /// <remarks/>
  623. public System.IAsyncResult BeginFindByID(FindByIDSpecification specification, System.AsyncCallback callback, object asyncState) {
  624. return this.BeginInvoke("FindByID", new object[] {
  625. specification}, callback, asyncState);
  626. }
  627. /// <remarks/>
  628. public FindResults EndFindByID(System.IAsyncResult asyncResult) {
  629. object[] results = this.EndInvoke(asyncResult);
  630. return ((FindResults)(results[0]));
  631. }
  632. /// <remarks/>
  633. public void FindByIDAsync(FindByIDSpecification specification) {
  634. this.FindByIDAsync(specification, null);
  635. }
  636. /// <remarks/>
  637. public void FindByIDAsync(FindByIDSpecification specification, object userState) {
  638. if ((this.FindByIDOperationCompleted == null)) {
  639. this.FindByIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindByIDOperationCompleted);
  640. }
  641. this.InvokeAsync("FindByID", new object[] {
  642. specification}, this.FindByIDOperationCompleted, userState);
  643. }
  644. private void OnFindByIDOperationCompleted(object arg) {
  645. if ((this.FindByIDCompleted != null)) {
  646. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  647. this.FindByIDCompleted(this, new FindByIDCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  648. }
  649. }
  650. /// <remarks/>
  651. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  652. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  653. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindNearRoute", 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)]
  654. public FindResults FindNearRoute(FindNearRouteSpecification specification) {
  655. object[] results = this.Invoke("FindNearRoute", new object[] {
  656. specification});
  657. return ((FindResults)(results[0]));
  658. }
  659. /// <remarks/>
  660. public System.IAsyncResult BeginFindNearRoute(FindNearRouteSpecification specification, System.AsyncCallback callback, object asyncState) {
  661. return this.BeginInvoke("FindNearRoute", new object[] {
  662. specification}, callback, asyncState);
  663. }
  664. /// <remarks/>
  665. public FindResults EndFindNearRoute(System.IAsyncResult asyncResult) {
  666. object[] results = this.EndInvoke(asyncResult);
  667. return ((FindResults)(results[0]));
  668. }
  669. /// <remarks/>
  670. public void FindNearRouteAsync(FindNearRouteSpecification specification) {
  671. this.FindNearRouteAsync(specification, null);
  672. }
  673. /// <remarks/>
  674. public void FindNearRouteAsync(FindNearRouteSpecification specification, object userState) {
  675. if ((this.FindNearRouteOperationCompleted == null)) {
  676. this.FindNearRouteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindNearRouteOperationCompleted);
  677. }
  678. this.InvokeAsync("FindNearRoute", new object[] {
  679. specification}, this.FindNearRouteOperationCompleted, userState);
  680. }
  681. private void OnFindNearRouteOperationCompleted(object arg) {
  682. if ((this.FindNearRouteCompleted != null)) {
  683. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  684. this.FindNearRouteCompleted(this, new FindNearRouteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  685. }
  686. }
  687. /// <remarks/>
  688. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoFindHeaderValue")]
  689. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoFindHeaderValue")]
  690. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/FindPolygon", 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)]
  691. public FindResults FindPolygon(FindPolygonSpecification specification) {
  692. object[] results = this.Invoke("FindPolygon", new object[] {
  693. specification});
  694. return ((FindResults)(results[0]));
  695. }
  696. /// <remarks/>
  697. public System.IAsyncResult BeginFindPolygon(FindPolygonSpecification specification, System.AsyncCallback callback, object asyncState) {
  698. return this.BeginInvoke("FindPolygon", new object[] {
  699. specification}, callback, asyncState);
  700. }
  701. /// <remarks/>
  702. public FindResults EndFindPolygon(System.IAsyncResult asyncResult) {
  703. object[] results = this.EndInvoke(asyncResult);
  704. return ((FindResults)(results[0]));
  705. }
  706. /// <remarks/>
  707. public void FindPolygonAsync(FindPolygonSpecification specification) {
  708. this.FindPolygonAsync(specification, null);
  709. }
  710. /// <remarks/>
  711. public void FindPolygonAsync(FindPolygonSpecification specification, object userState) {
  712. if ((this.FindPolygonOperationCompleted == null)) {
  713. this.FindPolygonOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFindPolygonOperationCompleted);
  714. }
  715. this.InvokeAsync("FindPolygon", new object[] {
  716. specification}, this.FindPolygonOperationCompleted, userState);
  717. }
  718. private void OnFindPolygonOperationCompleted(object arg) {
  719. if ((this.FindPolygonCompleted != null)) {
  720. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  721. this.FindPolygonCompleted(this, new FindPolygonCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  722. }
  723. }
  724. /// <remarks/>
  725. public new void CancelAsync(object userState) {
  726. base.CancelAsync(userState);
  727. }
  728. private bool IsLocalFileSystemWebService(string url) {
  729. if (((url == null)
  730. || (url == string.Empty))) {
  731. return false;
  732. }
  733. System.Uri wsUri = new System.Uri(url);
  734. if (((wsUri.Port >= 1024)
  735. && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
  736. return true;
  737. }
  738. return false;
  739. }
  740. }
  741. /// <remarks/>
  742. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  743. [System.Diagnostics.DebuggerStepThroughAttribute()]
  744. [System.ComponentModel.DesignerCategoryAttribute("code")]
  745. [System.Web.Services.WebServiceBindingAttribute(Name="RouteServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
  746. [System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
  747. [System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
  748. public partial class RouteServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
  749. private CustomerInfoRouteHeader customerInfoRouteHeaderValueField;
  750. private UserInfoRouteHeader userInfoRouteHeaderValueField;
  751. private System.Threading.SendOrPostCallback CalculateSimpleRouteOperationCompleted;
  752. private System.Threading.SendOrPostCallback CalculateRouteOperationCompleted;
  753. private bool useDefaultCredentialsSetExplicitly;
  754. /// <remarks/>
  755. public RouteServiceSoap() {
  756. this.Url = "http://routev3.staging.mappoint.net/Route-30/RouteService.asmx";
  757. if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
  758. this.UseDefaultCredentials = true;
  759. this.useDefaultCredentialsSetExplicitly = false;
  760. }
  761. else {
  762. this.useDefaultCredentialsSetExplicitly = true;
  763. }
  764. }
  765. public CustomerInfoRouteHeader CustomerInfoRouteHeaderValue {
  766. get {
  767. return this.customerInfoRouteHeaderValueField;
  768. }
  769. set {
  770. this.customerInfoRouteHeaderValueField = value;
  771. }
  772. }
  773. public UserInfoRouteHeader UserInfoRouteHeaderValue {
  774. get {
  775. return this.userInfoRouteHeaderValueField;
  776. }
  777. set {
  778. this.userInfoRouteHeaderValueField = value;
  779. }
  780. }
  781. public new string Url {
  782. get {
  783. return base.Url;
  784. }
  785. set {
  786. if ((((this.IsLocalFileSystemWebService(base.Url) == true)
  787. && (this.useDefaultCredentialsSetExplicitly == false))
  788. && (this.IsLocalFileSystemWebService(value) == false))) {
  789. base.UseDefaultCredentials = false;
  790. }
  791. base.Url = value;
  792. }
  793. }
  794. public new bool UseDefaultCredentials {
  795. get {
  796. return base.UseDefaultCredentials;
  797. }
  798. set {
  799. base.UseDefaultCredentials = value;
  800. this.useDefaultCredentialsSetExplicitly = true;
  801. }
  802. }
  803. /// <remarks/>
  804. public event CalculateSimpleRouteCompletedEventHandler CalculateSimpleRouteCompleted;
  805. /// <remarks/>
  806. public event CalculateRouteCompletedEventHandler CalculateRouteCompleted;
  807. /// <remarks/>
  808. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRouteHeaderValue")]
  809. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRouteHeaderValue")]
  810. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/CalculateSimpleRoute", 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)]
  811. public Route CalculateSimpleRoute(LatLong[] latLongs, string dataSourceName, SegmentPreference preference) {
  812. object[] results = this.Invoke("CalculateSimpleRoute", new object[] {
  813. latLongs,
  814. dataSourceName,
  815. preference});
  816. return ((Route)(results[0]));
  817. }
  818. /// <remarks/>
  819. public System.IAsyncResult BeginCalculateSimpleRoute(LatLong[] latLongs, string dataSourceName, SegmentPreference preference, System.AsyncCallback callback, object asyncState) {
  820. return this.BeginInvoke("CalculateSimpleRoute", new object[] {
  821. latLongs,
  822. dataSourceName,
  823. preference}, callback, asyncState);
  824. }
  825. /// <remarks/>
  826. public Route EndCalculateSimpleRoute(System.IAsyncResult asyncResult) {
  827. object[] results = this.EndInvoke(asyncResult);
  828. return ((Route)(results[0]));
  829. }
  830. /// <remarks/>
  831. public void CalculateSimpleRouteAsync(LatLong[] latLongs, string dataSourceName, SegmentPreference preference) {
  832. this.CalculateSimpleRouteAsync(latLongs, dataSourceName, preference, null);
  833. }
  834. /// <remarks/>
  835. public void CalculateSimpleRouteAsync(LatLong[] latLongs, string dataSourceName, SegmentPreference preference, object userState) {
  836. if ((this.CalculateSimpleRouteOperationCompleted == null)) {
  837. this.CalculateSimpleRouteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCalculateSimpleRouteOperationCompleted);
  838. }
  839. this.InvokeAsync("CalculateSimpleRoute", new object[] {
  840. latLongs,
  841. dataSourceName,
  842. preference}, this.CalculateSimpleRouteOperationCompleted, userState);
  843. }
  844. private void OnCalculateSimpleRouteOperationCompleted(object arg) {
  845. if ((this.CalculateSimpleRouteCompleted != null)) {
  846. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  847. this.CalculateSimpleRouteCompleted(this, new CalculateSimpleRouteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  848. }
  849. }
  850. /// <remarks/>
  851. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRouteHeaderValue")]
  852. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRouteHeaderValue")]
  853. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/CalculateRoute", 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)]
  854. public Route CalculateRoute(RouteSpecification specification) {
  855. object[] results = this.Invoke("CalculateRoute", new object[] {
  856. specification});
  857. return ((Route)(results[0]));
  858. }
  859. /// <remarks/>
  860. public System.IAsyncResult BeginCalculateRoute(RouteSpecification specification, System.AsyncCallback callback, object asyncState) {
  861. return this.BeginInvoke("CalculateRoute", new object[] {
  862. specification}, callback, asyncState);
  863. }
  864. /// <remarks/>
  865. public Route EndCalculateRoute(System.IAsyncResult asyncResult) {
  866. object[] results = this.EndInvoke(asyncResult);
  867. return ((Route)(results[0]));
  868. }
  869. /// <remarks/>
  870. public void CalculateRouteAsync(RouteSpecification specification) {
  871. this.CalculateRouteAsync(specification, null);
  872. }
  873. /// <remarks/>
  874. public void CalculateRouteAsync(RouteSpecification specification, object userState) {
  875. if ((this.CalculateRouteOperationCompleted == null)) {
  876. this.CalculateRouteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCalculateRouteOperationCompleted);
  877. }
  878. this.InvokeAsync("CalculateRoute", new object[] {
  879. specification}, this.CalculateRouteOperationCompleted, userState);
  880. }
  881. private void OnCalculateRouteOperationCompleted(object arg) {
  882. if ((this.CalculateRouteCompleted != null)) {
  883. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  884. this.CalculateRouteCompleted(this, new CalculateRouteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  885. }
  886. }
  887. /// <remarks/>
  888. public new void CancelAsync(object userState) {
  889. base.CancelAsync(userState);
  890. }
  891. private bool IsLocalFileSystemWebService(string url) {
  892. if (((url == null)
  893. || (url == string.Empty))) {
  894. return false;
  895. }
  896. System.Uri wsUri = new System.Uri(url);
  897. if (((wsUri.Port >= 1024)
  898. && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
  899. return true;
  900. }
  901. return false;
  902. }
  903. }
  904. /// <remarks/>
  905. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  906. [System.Diagnostics.DebuggerStepThroughAttribute()]
  907. [System.ComponentModel.DesignerCategoryAttribute("code")]
  908. [System.Web.Services.WebServiceBindingAttribute(Name="RenderServiceSoap", Namespace="http://s.mappoint.net/mappoint-30/")]
  909. [System.Xml.Serialization.XmlIncludeAttribute(typeof(MapPointConstants))]
  910. [System.Xml.Serialization.XmlIncludeAttribute(typeof(FindResult[]))]
  911. public partial class RenderServiceSoap : System.Web.Services.Protocols.SoapHttpClientProtocol {
  912. private CustomerInfoRenderHeader customerInfoRenderHeaderValueField;
  913. private UserInfoRenderHeader userInfoRenderHeaderValueField;
  914. private System.Threading.SendOrPostCallback GetMapOperationCompleted;
  915. private System.Threading.SendOrPostCallback ConvertToPointOperationCompleted;
  916. private System.Threading.SendOrPostCallback ConvertToLatLongOperationCompleted;
  917. private System.Threading.SendOrPostCallback GetBestMapViewOperationCompleted;
  918. private System.Threading.SendOrPostCallback GetLineDriveMapOperationCompleted;
  919. private bool useDefaultCredentialsSetExplicitly;
  920. /// <remarks/>
  921. public RenderServiceSoap() {
  922. this.Url = "http://renderv3.staging.mappoint.net/Render-30/RenderService.asmx";
  923. if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
  924. this.UseDefaultCredentials = true;
  925. this.useDefaultCredentialsSetExplicitly = false;
  926. }
  927. else {
  928. this.useDefaultCredentialsSetExplicitly = true;
  929. }
  930. }
  931. public CustomerInfoRenderHeader CustomerInfoRenderHeaderValue {
  932. get {
  933. return this.customerInfoRenderHeaderValueField;
  934. }
  935. set {
  936. this.customerInfoRenderHeaderValueField = value;
  937. }
  938. }
  939. public UserInfoRenderHeader UserInfoRenderHeaderValue {
  940. get {
  941. return this.userInfoRenderHeaderValueField;
  942. }
  943. set {
  944. this.userInfoRenderHeaderValueField = value;
  945. }
  946. }
  947. public new string Url {
  948. get {
  949. return base.Url;
  950. }
  951. set {
  952. if ((((this.IsLocalFileSystemWebService(base.Url) == true)
  953. && (this.useDefaultCredentialsSetExplicitly == false))
  954. && (this.IsLocalFileSystemWebService(value) == false))) {
  955. base.UseDefaultCredentials = false;
  956. }
  957. base.Url = value;
  958. }
  959. }
  960. public new bool UseDefaultCredentials {
  961. get {
  962. return base.UseDefaultCredentials;
  963. }
  964. set {
  965. base.UseDefaultCredentials = value;
  966. this.useDefaultCredentialsSetExplicitly = true;
  967. }
  968. }
  969. /// <remarks/>
  970. public event GetMapCompletedEventHandler GetMapCompleted;
  971. /// <remarks/>
  972. public event ConvertToPointCompletedEventHandler ConvertToPointCompleted;
  973. /// <remarks/>
  974. public event ConvertToLatLongCompletedEventHandler ConvertToLatLongCompleted;
  975. /// <remarks/>
  976. public event GetBestMapViewCompletedEventHandler GetBestMapViewCompleted;
  977. /// <remarks/>
  978. public event GetLineDriveMapCompletedEventHandler GetLineDriveMapCompleted;
  979. /// <remarks/>
  980. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRenderHeaderValue")]
  981. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRenderHeaderValue")]
  982. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetMap", 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)]
  983. public MapImage[] GetMap(MapSpecification specification) {
  984. object[] results = this.Invoke("GetMap", new object[] {
  985. specification});
  986. return ((MapImage[])(results[0]));
  987. }
  988. /// <remarks/>
  989. public System.IAsyncResult BeginGetMap(MapSpecification specification, System.AsyncCallback callback, object asyncState) {
  990. return this.BeginInvoke("GetMap", new object[] {
  991. specification}, callback, asyncState);
  992. }
  993. /// <remarks/>
  994. public MapImage[] EndGetMap(System.IAsyncResult asyncResult) {
  995. object[] results = this.EndInvoke(asyncResult);
  996. return ((MapImage[])(results[0]));
  997. }
  998. /// <remarks/>
  999. public void GetMapAsync(MapSpecification specification) {
  1000. this.GetMapAsync(specification, null);
  1001. }
  1002. /// <remarks/>
  1003. public void GetMapAsync(MapSpecification specification, object userState) {
  1004. if ((this.GetMapOperationCompleted == null)) {
  1005. this.GetMapOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMapOperationCompleted);
  1006. }
  1007. this.InvokeAsync("GetMap", new object[] {
  1008. specification}, this.GetMapOperationCompleted, userState);
  1009. }
  1010. private void OnGetMapOperationCompleted(object arg) {
  1011. if ((this.GetMapCompleted != null)) {
  1012. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  1013. this.GetMapCompleted(this, new GetMapCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  1014. }
  1015. }
  1016. /// <remarks/>
  1017. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRenderHeaderValue")]
  1018. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRenderHeaderValue")]
  1019. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/ConvertToPoint", 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)]
  1020. public PixelCoord[] ConvertToPoint(LatLong[] latLong, MapView view, int width, int height) {
  1021. object[] results = this.Invoke("ConvertToPoint", new object[] {
  1022. latLong,
  1023. view,
  1024. width,
  1025. height});
  1026. return ((PixelCoord[])(results[0]));
  1027. }
  1028. /// <remarks/>
  1029. public System.IAsyncResult BeginConvertToPoint(LatLong[] latLong, MapView view, int width, int height, System.AsyncCallback callback, object asyncState) {
  1030. return this.BeginInvoke("ConvertToPoint", new object[] {
  1031. latLong,
  1032. view,
  1033. width,
  1034. height}, callback, asyncState);
  1035. }
  1036. /// <remarks/>
  1037. public PixelCoord[] EndConvertToPoint(System.IAsyncResult asyncResult) {
  1038. object[] results = this.EndInvoke(asyncResult);
  1039. return ((PixelCoord[])(results[0]));
  1040. }
  1041. /// <remarks/>
  1042. public void ConvertToPointAsync(LatLong[] latLong, MapView view, int width, int height) {
  1043. this.ConvertToPointAsync(latLong, view, width, height, null);
  1044. }
  1045. /// <remarks/>
  1046. public void ConvertToPointAsync(LatLong[] latLong, MapView view, int width, int height, object userState) {
  1047. if ((this.ConvertToPointOperationCompleted == null)) {
  1048. this.ConvertToPointOperationCompleted = new System.Threading.SendOrPostCallback(this.OnConvertToPointOperationCompleted);
  1049. }
  1050. this.InvokeAsync("ConvertToPoint", new object[] {
  1051. latLong,
  1052. view,
  1053. width,
  1054. height}, this.ConvertToPointOperationCompleted, userState);
  1055. }
  1056. private void OnConvertToPointOperationCompleted(object arg) {
  1057. if ((this.ConvertToPointCompleted != null)) {
  1058. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  1059. this.ConvertToPointCompleted(this, new ConvertToPointCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  1060. }
  1061. }
  1062. /// <remarks/>
  1063. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRenderHeaderValue")]
  1064. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRenderHeaderValue")]
  1065. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/ConvertToLatLong", 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)]
  1066. public LatLong[] ConvertToLatLong(PixelCoord[] pixels, MapView view, int width, int height) {
  1067. object[] results = this.Invoke("ConvertToLatLong", new object[] {
  1068. pixels,
  1069. view,
  1070. width,
  1071. height});
  1072. return ((LatLong[])(results[0]));
  1073. }
  1074. /// <remarks/>
  1075. public System.IAsyncResult BeginConvertToLatLong(PixelCoord[] pixels, MapView view, int width, int height, System.AsyncCallback callback, object asyncState) {
  1076. return this.BeginInvoke("ConvertToLatLong", new object[] {
  1077. pixels,
  1078. view,
  1079. width,
  1080. height}, callback, asyncState);
  1081. }
  1082. /// <remarks/>
  1083. public LatLong[] EndConvertToLatLong(System.IAsyncResult asyncResult) {
  1084. object[] results = this.EndInvoke(asyncResult);
  1085. return ((LatLong[])(results[0]));
  1086. }
  1087. /// <remarks/>
  1088. public void ConvertToLatLongAsync(PixelCoord[] pixels, MapView view, int width, int height) {
  1089. this.ConvertToLatLongAsync(pixels, view, width, height, null);
  1090. }
  1091. /// <remarks/>
  1092. public void ConvertToLatLongAsync(PixelCoord[] pixels, MapView view, int width, int height, object userState) {
  1093. if ((this.ConvertToLatLongOperationCompleted == null)) {
  1094. this.ConvertToLatLongOperationCompleted = new System.Threading.SendOrPostCallback(this.OnConvertToLatLongOperationCompleted);
  1095. }
  1096. this.InvokeAsync("ConvertToLatLong", new object[] {
  1097. pixels,
  1098. view,
  1099. width,
  1100. height}, this.ConvertToLatLongOperationCompleted, userState);
  1101. }
  1102. private void OnConvertToLatLongOperationCompleted(object arg) {
  1103. if ((this.ConvertToLatLongCompleted != null)) {
  1104. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  1105. this.ConvertToLatLongCompleted(this, new ConvertToLatLongCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  1106. }
  1107. }
  1108. /// <remarks/>
  1109. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRenderHeaderValue")]
  1110. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRenderHeaderValue")]
  1111. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetBestMapView", 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)]
  1112. public MapViewRepresentations GetBestMapView(Location[] locations, string dataSourceName) {
  1113. object[] results = this.Invoke("GetBestMapView", new object[] {
  1114. locations,
  1115. dataSourceName});
  1116. return ((MapViewRepresentations)(results[0]));
  1117. }
  1118. /// <remarks/>
  1119. public System.IAsyncResult BeginGetBestMapView(Location[] locations, string dataSourceName, System.AsyncCallback callback, object asyncState) {
  1120. return this.BeginInvoke("GetBestMapView", new object[] {
  1121. locations,
  1122. dataSourceName}, callback, asyncState);
  1123. }
  1124. /// <remarks/>
  1125. public MapViewRepresentations EndGetBestMapView(System.IAsyncResult asyncResult) {
  1126. object[] results = this.EndInvoke(asyncResult);
  1127. return ((MapViewRepresentations)(results[0]));
  1128. }
  1129. /// <remarks/>
  1130. public void GetBestMapViewAsync(Location[] locations, string dataSourceName) {
  1131. this.GetBestMapViewAsync(locations, dataSourceName, null);
  1132. }
  1133. /// <remarks/>
  1134. public void GetBestMapViewAsync(Location[] locations, string dataSourceName, object userState) {
  1135. if ((this.GetBestMapViewOperationCompleted == null)) {
  1136. this.GetBestMapViewOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetBestMapViewOperationCompleted);
  1137. }
  1138. this.InvokeAsync("GetBestMapView", new object[] {
  1139. locations,
  1140. dataSourceName}, this.GetBestMapViewOperationCompleted, userState);
  1141. }
  1142. private void OnGetBestMapViewOperationCompleted(object arg) {
  1143. if ((this.GetBestMapViewCompleted != null)) {
  1144. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  1145. this.GetBestMapViewCompleted(this, new GetBestMapViewCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  1146. }
  1147. }
  1148. /// <remarks/>
  1149. [System.Web.Services.Protocols.SoapHeaderAttribute("UserInfoRenderHeaderValue")]
  1150. [System.Web.Services.Protocols.SoapHeaderAttribute("CustomerInfoRenderHeaderValue")]
  1151. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://s.mappoint.net/mappoint-30/GetLineDriveMap", 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)]
  1152. public LineDriveMapImage[] GetLineDriveMap(LineDriveMapSpecification specification) {
  1153. object[] results = this.Invoke("GetLineDriveMap", new object[] {
  1154. specification});
  1155. return ((LineDriveMapImage[])(results[0]));
  1156. }
  1157. /// <remarks/>
  1158. public System.IAsyncResult BeginGetLineDriveMap(LineDriveMapSpecification specification, System.AsyncCallback callback, object asyncState) {
  1159. return this.BeginInvoke("GetLineDriveMap", new object[] {
  1160. specification}, callback, asyncState);
  1161. }
  1162. /// <remarks/>
  1163. public LineDriveMapImage[] EndGetLineDriveMap(System.IAsyncResult asyncResult) {
  1164. object[] results = this.EndInvoke(asyncResult);
  1165. return ((LineDriveMapImage[])(results[0]));
  1166. }
  1167. /// <remarks/>
  1168. public void GetLineDriveMapAsync(LineDriveMapSpecification specification) {
  1169. this.GetLineDriveMapAsync(specification, null);
  1170. }
  1171. /// <remarks/>
  1172. public void GetLineDriveMapAsync(LineDriveMapSpecification specification, object userState) {
  1173. if ((this.GetLineDriveMapOperationCompleted == null)) {
  1174. this.GetLineDriveMapOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetLineDriveMapOperationCompleted);
  1175. }
  1176. this.InvokeAsync("GetLineDriveMap", new object[] {
  1177. specification}, this.GetLineDriveMapOperationCompleted, userState);
  1178. }
  1179. private void OnGetLineDriveMapOperationCompleted(object arg) {
  1180. if ((this.GetLineDriveMapCompleted != null)) {
  1181. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  1182. this.GetLineDriveMapCompleted(this, new GetLineDriveMapCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  1183. }
  1184. }
  1185. /// <remarks/>
  1186. public new void CancelAsync(object userState) {
  1187. base.CancelAsync(userState);
  1188. }
  1189. private bool IsLocalFileSystemWebService(string url) {
  1190. if (((url == null)
  1191. || (url == string.Empty))) {
  1192. return false;
  1193. }
  1194. System.Uri wsUri = new System.Uri(url);
  1195. if (((wsUri.Port >= 1024)
  1196. && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
  1197. return true;
  1198. }
  1199. return false;
  1200. }
  1201. }
  1202. /// <remarks/>
  1203. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1204. [System.SerializableAttribute()]
  1205. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1206. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1207. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1208. [System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
  1209. public partial class UserInfoRouteHeader : UserInfoHeader {
  1210. }
  1211. /// <remarks/>
  1212. [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserInfoRenderHeader))]
  1213. [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserInfoRouteHeader))]
  1214. [System.Xml.Serialization.XmlIncludeAttribute(typeof(UserInfoFindHeader))]
  1215. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1216. [System.SerializableAttribute()]
  1217. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1218. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1219. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1220. [System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
  1221. public partial class UserInfoHeader : System.Web.Services.Protocols.SoapHeader {
  1222. private CultureInfo cultureField;
  1223. private DistanceUnit defaultDistanceUnitField;
  1224. private CountryRegionContext contextField;
  1225. /// <remarks/>
  1226. public CultureInfo Culture {
  1227. get {
  1228. return this.cultureField;
  1229. }
  1230. set {
  1231. this.cultureField = value;
  1232. }
  1233. }
  1234. /// <remarks/>
  1235. public DistanceUnit DefaultDistanceUnit {
  1236. get {
  1237. return this.defaultDistanceUnitField;
  1238. }
  1239. set {
  1240. this.defaultDistanceUnitField = value;
  1241. }
  1242. }
  1243. /// <remarks/>
  1244. public CountryRegionContext Context {
  1245. get {
  1246. return this.contextField;
  1247. }
  1248. set {
  1249. this.contextField = value;
  1250. }
  1251. }
  1252. }
  1253. /// <remarks/>
  1254. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1255. [System.SerializableAttribute()]
  1256. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1257. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1258. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1259. public partial class CultureInfo {
  1260. private string nameField;
  1261. private int lcidField;
  1262. /// <remarks/>
  1263. public string Name {
  1264. get {
  1265. return this.nameField;
  1266. }
  1267. set {
  1268. this.nameField = value;
  1269. }
  1270. }
  1271. /// <remarks/>
  1272. public int Lcid {
  1273. get {
  1274. return this.lcidField;
  1275. }
  1276. set {
  1277. this.lcidField = value;
  1278. }
  1279. }
  1280. }
  1281. /// <remarks/>
  1282. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1283. [System.SerializableAttribute()]
  1284. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1285. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1286. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1287. public partial class LineDriveMapImage {
  1288. private MimeData mimeDataField;
  1289. private string urlField;
  1290. private MapViewRepresentations viewField;
  1291. private int firstDirectionIDField;
  1292. private int lastDirectionIDField;
  1293. /// <remarks/>
  1294. public MimeData MimeData {
  1295. get {
  1296. return this.mimeDataField;
  1297. }
  1298. set {
  1299. this.mimeDataField = value;
  1300. }
  1301. }
  1302. /// <remarks/>
  1303. public string Url {
  1304. get {
  1305. return this.urlField;
  1306. }
  1307. set {
  1308. this.urlField = value;
  1309. }
  1310. }
  1311. /// <remarks/>
  1312. public MapViewRepresentations View {
  1313. get {
  1314. return this.viewField;
  1315. }
  1316. set {
  1317. this.viewField = value;
  1318. }
  1319. }
  1320. /// <remarks/>
  1321. public int FirstDirectionID {
  1322. get {
  1323. return this.firstDirectionIDField;
  1324. }
  1325. set {
  1326. this.firstDirectionIDField = value;
  1327. }
  1328. }
  1329. /// <remarks/>
  1330. public int LastDirectionID {
  1331. get {
  1332. return this.lastDirectionIDField;
  1333. }
  1334. set {
  1335. this.lastDirectionIDField = value;
  1336. }
  1337. }
  1338. }
  1339. /// <remarks/>
  1340. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1341. [System.SerializableAttribute()]
  1342. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1343. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1344. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1345. public partial class MimeData {
  1346. private byte[] bitsField;
  1347. private string contentIDField;
  1348. private string mimeTypeField;
  1349. /// <remarks/>
  1350. [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
  1351. public byte[] Bits {
  1352. get {
  1353. return this.bitsField;
  1354. }
  1355. set {
  1356. this.bitsField = value;
  1357. }
  1358. }
  1359. /// <remarks/>
  1360. public string ContentID {
  1361. get {
  1362. return this.contentIDField;
  1363. }
  1364. set {
  1365. this.contentIDField = value;
  1366. }
  1367. }
  1368. /// <remarks/>
  1369. public string MimeType {
  1370. get {
  1371. return this.mimeTypeField;
  1372. }
  1373. set {
  1374. this.mimeTypeField = value;
  1375. }
  1376. }
  1377. }
  1378. /// <remarks/>
  1379. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1380. [System.SerializableAttribute()]
  1381. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1382. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1383. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1384. public partial class MapViewRepresentations {
  1385. private ViewByScale byScaleField;
  1386. private ViewByHeightWidth byHeightWidthField;
  1387. private ViewByBoundingRectangle byBoundingRectangleField;
  1388. /// <remarks/>
  1389. public ViewByScale ByScale {
  1390. get {
  1391. return this.byScaleField;
  1392. }
  1393. set {
  1394. this.byScaleField = value;
  1395. }
  1396. }
  1397. /// <remarks/>
  1398. public ViewByHeightWidth ByHeightWidth {
  1399. get {
  1400. return this.byHeightWidthField;
  1401. }
  1402. set {
  1403. this.byHeightWidthField = value;
  1404. }
  1405. }
  1406. /// <remarks/>
  1407. public ViewByBoundingRectangle ByBoundingRectangle {
  1408. get {
  1409. return this.byBoundingRectangleField;
  1410. }
  1411. set {
  1412. this.byBoundingRectangleField = value;
  1413. }
  1414. }
  1415. }
  1416. /// <remarks/>
  1417. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1418. [System.SerializableAttribute()]
  1419. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1420. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1421. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1422. public partial class ViewByScale : MapView {
  1423. private double mapScaleField;
  1424. private LatLong centerPointField;
  1425. public ViewByScale() {
  1426. this.mapScaleField = 0;
  1427. }
  1428. /// <remarks/>
  1429. [System.ComponentModel.DefaultValueAttribute(0)]
  1430. public double MapScale {
  1431. get {
  1432. return this.mapScaleField;
  1433. }
  1434. set {
  1435. this.mapScaleField = value;
  1436. }
  1437. }
  1438. /// <remarks/>
  1439. public LatLong CenterPoint {
  1440. get {
  1441. return this.centerPointField;
  1442. }
  1443. set {
  1444. this.centerPointField = value;
  1445. }
  1446. }
  1447. }
  1448. /// <remarks/>
  1449. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1450. [System.SerializableAttribute()]
  1451. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1452. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1453. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1454. public partial class LatLong {
  1455. private double latitudeField;
  1456. private double longitudeField;
  1457. public LatLong() {
  1458. this.latitudeField = 0;
  1459. this.longitudeField = 0;
  1460. }
  1461. /// <remarks/>
  1462. [System.ComponentModel.DefaultValueAttribute(0)]
  1463. public double Latitude {
  1464. get {
  1465. return this.latitudeField;
  1466. }
  1467. set {
  1468. this.latitudeField = value;
  1469. }
  1470. }
  1471. /// <remarks/>
  1472. [System.ComponentModel.DefaultValueAttribute(0)]
  1473. public double Longitude {
  1474. get {
  1475. return this.longitudeField;
  1476. }
  1477. set {
  1478. this.longitudeField = value;
  1479. }
  1480. }
  1481. }
  1482. /// <remarks/>
  1483. [System.Xml.Serialization.XmlIncludeAttribute(typeof(ViewByBoundingRectangle))]
  1484. [System.Xml.Serialization.XmlIncludeAttribute(typeof(ViewByHeightWidth))]
  1485. [System.Xml.Serialization.XmlIncludeAttribute(typeof(ViewByBoundingLocations))]
  1486. [System.Xml.Serialization.XmlIncludeAttribute(typeof(ViewByScale))]
  1487. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1488. [System.SerializableAttribute()]
  1489. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1490. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1491. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1492. public abstract partial class MapView {
  1493. }
  1494. /// <remarks/>
  1495. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1496. [System.SerializableAttribute()]
  1497. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1498. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1499. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1500. public partial class ViewByBoundingRectangle : MapView {
  1501. private LatLongRectangle boundingRectangleField;
  1502. /// <remarks/>
  1503. public LatLongRectangle BoundingRectangle {
  1504. get {
  1505. return this.boundingRectangleField;
  1506. }
  1507. set {
  1508. this.boundingRectangleField = value;
  1509. }
  1510. }
  1511. }
  1512. /// <remarks/>
  1513. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1514. [System.SerializableAttribute()]
  1515. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1516. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1517. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1518. public partial class LatLongRectangle {
  1519. private LatLong southwestField;
  1520. private LatLong northeastField;
  1521. /// <remarks/>
  1522. public LatLong Southwest {
  1523. get {
  1524. return this.southwestField;
  1525. }
  1526. set {
  1527. this.southwestField = value;
  1528. }
  1529. }
  1530. /// <remarks/>
  1531. public LatLong Northeast {
  1532. get {
  1533. return this.northeastField;
  1534. }
  1535. set {
  1536. this.northeastField = value;
  1537. }
  1538. }
  1539. }
  1540. /// <remarks/>
  1541. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1542. [System.SerializableAttribute()]
  1543. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1544. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1545. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1546. public partial class ViewByHeightWidth : MapView {
  1547. private double heightField;
  1548. private double widthField;
  1549. private LatLong centerPointField;
  1550. public ViewByHeightWidth() {
  1551. this.heightField = 0;
  1552. this.widthField = 0;
  1553. }
  1554. /// <remarks/>
  1555. [System.ComponentModel.DefaultValueAttribute(0)]
  1556. public double Height {
  1557. get {
  1558. return this.heightField;
  1559. }
  1560. set {
  1561. this.heightField = value;
  1562. }
  1563. }
  1564. /// <remarks/>
  1565. [System.ComponentModel.DefaultValueAttribute(0)]
  1566. public double Width {
  1567. get {
  1568. return this.widthField;
  1569. }
  1570. set {
  1571. this.widthField = value;
  1572. }
  1573. }
  1574. /// <remarks/>
  1575. public LatLong CenterPoint {
  1576. get {
  1577. return this.centerPointField;
  1578. }
  1579. set {
  1580. this.centerPointField = value;
  1581. }
  1582. }
  1583. }
  1584. /// <remarks/>
  1585. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1586. [System.SerializableAttribute()]
  1587. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1588. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1589. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1590. public partial class ViewByBoundingLocations : MapView {
  1591. private Location[] locationsField;
  1592. /// <remarks/>
  1593. public Location[] Locations {
  1594. get {
  1595. return this.locationsField;
  1596. }
  1597. set {
  1598. this.locationsField = value;
  1599. }
  1600. }
  1601. }
  1602. /// <remarks/>
  1603. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1604. [System.SerializableAttribute()]
  1605. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1606. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1607. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1608. public partial class Location {
  1609. private LatLong latLongField;
  1610. private Entity entityField;
  1611. private Address addressField;
  1612. private MapViewRepresentations bestMapViewField;
  1613. private string dataSourceNameField;
  1614. /// <remarks/>
  1615. public LatLong LatLong {
  1616. get {
  1617. return this.latLongField;
  1618. }
  1619. set {
  1620. this.latLongField = value;
  1621. }
  1622. }
  1623. /// <remarks/>
  1624. public Entity Entity {
  1625. get {
  1626. return this.entityField;
  1627. }
  1628. set {
  1629. this.entityField = value;
  1630. }
  1631. }
  1632. /// <remarks/>
  1633. public Address Address {
  1634. get {
  1635. return this.addressField;
  1636. }
  1637. set {
  1638. this.addressField = value;
  1639. }
  1640. }
  1641. /// <remarks/>
  1642. public MapViewRepresentations BestMapView {
  1643. get {
  1644. return this.bestMapViewField;
  1645. }
  1646. set {
  1647. this.bestMapViewField = value;
  1648. }
  1649. }
  1650. /// <remarks/>
  1651. public string DataSourceName {
  1652. get {
  1653. return this.dataSourceNameField;
  1654. }
  1655. set {
  1656. this.dataSourceNameField = value;
  1657. }
  1658. }
  1659. }
  1660. /// <remarks/>
  1661. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1662. [System.SerializableAttribute()]
  1663. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1664. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1665. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1666. public partial class Entity {
  1667. private int idField;
  1668. private string nameField;
  1669. private string displayNameField;
  1670. private string typeNameField;
  1671. private EntityPropertyValue[] propertiesField;
  1672. /// <remarks/>
  1673. public int ID {
  1674. get {
  1675. return this.idField;
  1676. }
  1677. set {
  1678. this.idField = value;
  1679. }
  1680. }
  1681. /// <remarks/>
  1682. public string Name {
  1683. get {
  1684. return this.nameField;
  1685. }
  1686. set {
  1687. this.nameField = value;
  1688. }
  1689. }
  1690. /// <remarks/>
  1691. public string DisplayName {
  1692. get {
  1693. return this.displayNameField;
  1694. }
  1695. set {
  1696. this.displayNameField = value;
  1697. }
  1698. }
  1699. /// <remarks/>
  1700. public string TypeName {
  1701. get {
  1702. return this.typeNameField;
  1703. }
  1704. set {
  1705. this.typeNameField = value;
  1706. }
  1707. }
  1708. /// <remarks/>
  1709. [System.Xml.Serialization.XmlArrayItemAttribute("Property")]
  1710. public EntityPropertyValue[] Properties {
  1711. get {
  1712. return this.propertiesField;
  1713. }
  1714. set {
  1715. this.propertiesField = value;
  1716. }
  1717. }
  1718. }
  1719. /// <remarks/>
  1720. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1721. [System.SerializableAttribute()]
  1722. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1723. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1724. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1725. public partial class EntityPropertyValue {
  1726. private string nameField;
  1727. private object valueField;
  1728. /// <remarks/>
  1729. public string Name {
  1730. get {
  1731. return this.nameField;
  1732. }
  1733. set {
  1734. this.nameField = value;
  1735. }
  1736. }
  1737. /// <remarks/>
  1738. public object Value {
  1739. get {
  1740. return this.valueField;
  1741. }
  1742. set {
  1743. this.valueField = value;
  1744. }
  1745. }
  1746. }
  1747. /// <remarks/>
  1748. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1749. [System.SerializableAttribute()]
  1750. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1751. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1752. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1753. public partial class Address {
  1754. private string addressLineField;
  1755. private string primaryCityField;
  1756. private string secondaryCityField;
  1757. private string subdivisionField;
  1758. private string postalCodeField;
  1759. private string countryRegionField;
  1760. private string formattedAddressField;
  1761. /// <remarks/>
  1762. public string AddressLine {
  1763. get {
  1764. return this.addressLineField;
  1765. }
  1766. set {
  1767. this.addressLineField = value;
  1768. }
  1769. }
  1770. /// <remarks/>
  1771. public string PrimaryCity {
  1772. get {
  1773. return this.primaryCityField;
  1774. }
  1775. set {
  1776. this.primaryCityField = value;
  1777. }
  1778. }
  1779. /// <remarks/>
  1780. public string SecondaryCity {
  1781. get {
  1782. return this.secondaryCityField;
  1783. }
  1784. set {
  1785. this.secondaryCityField = value;
  1786. }
  1787. }
  1788. /// <remarks/>
  1789. public string Subdivision {
  1790. get {
  1791. return this.subdivisionField;
  1792. }
  1793. set {
  1794. this.subdivisionField = value;
  1795. }
  1796. }
  1797. /// <remarks/>
  1798. public string PostalCode {
  1799. get {
  1800. return this.postalCodeField;
  1801. }
  1802. set {
  1803. this.postalCodeField = value;
  1804. }
  1805. }
  1806. /// <remarks/>
  1807. public string CountryRegion {
  1808. get {
  1809. return this.countryRegionField;
  1810. }
  1811. set {
  1812. this.countryRegionField = value;
  1813. }
  1814. }
  1815. /// <remarks/>
  1816. public string FormattedAddress {
  1817. get {
  1818. return this.formattedAddressField;
  1819. }
  1820. set {
  1821. this.formattedAddressField = value;
  1822. }
  1823. }
  1824. }
  1825. /// <remarks/>
  1826. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1827. [System.SerializableAttribute()]
  1828. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1829. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1830. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1831. public partial class LineDriveMapOptions {
  1832. private ImageFormat formatField;
  1833. private MapReturnType returnTypeField;
  1834. private MapFontSize fontSizeField;
  1835. private PaletteType paletteTypeField;
  1836. private string destinationIconDataSourceField;
  1837. private string destinationIconNameField;
  1838. public LineDriveMapOptions() {
  1839. this.returnTypeField = MapReturnType.ReturnImage;
  1840. this.fontSizeField = MapFontSize.Smaller;
  1841. }
  1842. /// <remarks/>
  1843. public ImageFormat Format {
  1844. get {
  1845. return this.formatField;
  1846. }
  1847. set {
  1848. this.formatField = value;
  1849. }
  1850. }
  1851. /// <remarks/>
  1852. [System.ComponentModel.DefaultValueAttribute(MapReturnType.ReturnImage)]
  1853. public MapReturnType ReturnType {
  1854. get {
  1855. return this.returnTypeField;
  1856. }
  1857. set {
  1858. this.returnTypeField = value;
  1859. }
  1860. }
  1861. /// <remarks/>
  1862. [System.ComponentModel.DefaultValueAttribute(MapFontSize.Smaller)]
  1863. public MapFontSize FontSize {
  1864. get {
  1865. return this.fontSizeField;
  1866. }
  1867. set {
  1868. this.fontSizeField = value;
  1869. }
  1870. }
  1871. /// <remarks/>
  1872. public PaletteType PaletteType {
  1873. get {
  1874. return this.paletteTypeField;
  1875. }
  1876. set {
  1877. this.paletteTypeField = value;
  1878. }
  1879. }
  1880. /// <remarks/>
  1881. public string DestinationIconDataSource {
  1882. get {
  1883. return this.destinationIconDataSourceField;
  1884. }
  1885. set {
  1886. this.destinationIconDataSourceField = value;
  1887. }
  1888. }
  1889. /// <remarks/>
  1890. public string DestinationIconName {
  1891. get {
  1892. return this.destinationIconNameField;
  1893. }
  1894. set {
  1895. this.destinationIconNameField = value;
  1896. }
  1897. }
  1898. }
  1899. /// <remarks/>
  1900. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1901. [System.SerializableAttribute()]
  1902. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1903. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1904. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1905. public partial class ImageFormat {
  1906. private string mimeTypeField;
  1907. private int heightField;
  1908. private int widthField;
  1909. public ImageFormat() {
  1910. this.mimeTypeField = "image/gif";
  1911. this.heightField = 240;
  1912. this.widthField = 296;
  1913. }
  1914. /// <remarks/>
  1915. [System.ComponentModel.DefaultValueAttribute("image/gif")]
  1916. public string MimeType {
  1917. get {
  1918. return this.mimeTypeField;
  1919. }
  1920. set {
  1921. this.mimeTypeField = value;
  1922. }
  1923. }
  1924. /// <remarks/>
  1925. [System.ComponentModel.DefaultValueAttribute(240)]
  1926. public int Height {
  1927. get {
  1928. return this.heightField;
  1929. }
  1930. set {
  1931. this.heightField = value;
  1932. }
  1933. }
  1934. /// <remarks/>
  1935. [System.ComponentModel.DefaultValueAttribute(296)]
  1936. public int Width {
  1937. get {
  1938. return this.widthField;
  1939. }
  1940. set {
  1941. this.widthField = value;
  1942. }
  1943. }
  1944. }
  1945. /// <remarks/>
  1946. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1947. [System.SerializableAttribute()]
  1948. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1949. public enum MapReturnType {
  1950. /// <remarks/>
  1951. ReturnImage,
  1952. /// <remarks/>
  1953. ReturnUrl,
  1954. /// <remarks/>
  1955. ReturnSecureUrl,
  1956. }
  1957. /// <remarks/>
  1958. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1959. [System.SerializableAttribute()]
  1960. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1961. public enum MapFontSize {
  1962. /// <remarks/>
  1963. Smallest,
  1964. /// <remarks/>
  1965. Smaller,
  1966. /// <remarks/>
  1967. Medium,
  1968. /// <remarks/>
  1969. Larger,
  1970. /// <remarks/>
  1971. Largest,
  1972. }
  1973. /// <remarks/>
  1974. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1975. [System.SerializableAttribute()]
  1976. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1977. public enum PaletteType {
  1978. /// <remarks/>
  1979. Color,
  1980. /// <remarks/>
  1981. GrayScale,
  1982. /// <remarks/>
  1983. Monochrome,
  1984. }
  1985. /// <remarks/>
  1986. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  1987. [System.SerializableAttribute()]
  1988. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1989. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1990. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  1991. public partial class LineDriveMapSpecification {
  1992. private Route routeField;
  1993. private LineDriveMapOptions optionsField;
  1994. /// <remarks/>
  1995. public Route Route {
  1996. get {
  1997. return this.routeField;
  1998. }
  1999. set {
  2000. this.routeField = value;
  2001. }
  2002. }
  2003. /// <remarks/>
  2004. public LineDriveMapOptions Options {
  2005. get {
  2006. return this.optionsField;
  2007. }
  2008. set {
  2009. this.optionsField = value;
  2010. }
  2011. }
  2012. }
  2013. /// <remarks/>
  2014. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2015. [System.SerializableAttribute()]
  2016. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2017. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2018. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2019. public partial class Route {
  2020. private RouteSpecification specificationField;
  2021. private RouteItinerary itineraryField;
  2022. private CalculatedRouteRepresentation calculatedRepresentationField;
  2023. /// <remarks/>
  2024. public RouteSpecification Specification {
  2025. get {
  2026. return this.specificationField;
  2027. }
  2028. set {
  2029. this.specificationField = value;
  2030. }
  2031. }
  2032. /// <remarks/>
  2033. public RouteItinerary Itinerary {
  2034. get {
  2035. return this.itineraryField;
  2036. }
  2037. set {
  2038. this.itineraryField = value;
  2039. }
  2040. }
  2041. /// <remarks/>
  2042. public CalculatedRouteRepresentation CalculatedRepresentation {
  2043. get {
  2044. return this.calculatedRepresentationField;
  2045. }
  2046. set {
  2047. this.calculatedRepresentationField = value;
  2048. }
  2049. }
  2050. }
  2051. /// <remarks/>
  2052. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2053. [System.SerializableAttribute()]
  2054. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2055. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2056. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2057. public partial class RouteSpecification {
  2058. private SegmentSpecification[] segmentsField;
  2059. private RouteResultMask resultMaskField;
  2060. private string dataSourceNameField;
  2061. private DriverProfile driverProfileField;
  2062. /// <remarks/>
  2063. public SegmentSpecification[] Segments {
  2064. get {
  2065. return this.segmentsField;
  2066. }
  2067. set {
  2068. this.segmentsField = value;
  2069. }
  2070. }
  2071. /// <remarks/>
  2072. public RouteResultMask ResultMask {
  2073. get {
  2074. return this.resultMaskField;
  2075. }
  2076. set {
  2077. this.resultMaskField = value;
  2078. }
  2079. }
  2080. /// <remarks/>
  2081. public string DataSourceName {
  2082. get {
  2083. return this.dataSourceNameField;
  2084. }
  2085. set {
  2086. this.dataSourceNameField = value;
  2087. }
  2088. }
  2089. /// <remarks/>
  2090. public DriverProfile DriverProfile {
  2091. get {
  2092. return this.driverProfileField;
  2093. }
  2094. set {
  2095. this.driverProfileField = value;
  2096. }
  2097. }
  2098. }
  2099. /// <remarks/>
  2100. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2101. [System.SerializableAttribute()]
  2102. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2103. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2104. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2105. public partial class SegmentSpecification {
  2106. private Waypoint waypointField;
  2107. private SegmentOptions optionsField;
  2108. /// <remarks/>
  2109. public Waypoint Waypoint {
  2110. get {
  2111. return this.waypointField;
  2112. }
  2113. set {
  2114. this.waypointField = value;
  2115. }
  2116. }
  2117. /// <remarks/>
  2118. public SegmentOptions Options {
  2119. get {
  2120. return this.optionsField;
  2121. }
  2122. set {
  2123. this.optionsField = value;
  2124. }
  2125. }
  2126. }
  2127. /// <remarks/>
  2128. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2129. [System.SerializableAttribute()]
  2130. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2131. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2132. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2133. public partial class Waypoint {
  2134. private Location locationField;
  2135. private SnapType snapField;
  2136. private string nameField;
  2137. private Location calculatedLocationField;
  2138. /// <remarks/>
  2139. public Location Location {
  2140. get {
  2141. return this.locationField;
  2142. }
  2143. set {
  2144. this.locationField = value;
  2145. }
  2146. }
  2147. /// <remarks/>
  2148. public SnapType Snap {
  2149. get {
  2150. return this.snapField;
  2151. }
  2152. set {
  2153. this.snapField = value;
  2154. }
  2155. }
  2156. /// <remarks/>
  2157. public string Name {
  2158. get {
  2159. return this.nameField;
  2160. }
  2161. set {
  2162. this.nameField = value;
  2163. }
  2164. }
  2165. /// <remarks/>
  2166. public Location CalculatedLocation {
  2167. get {
  2168. return this.calculatedLocationField;
  2169. }
  2170. set {
  2171. this.calculatedLocationField = value;
  2172. }
  2173. }
  2174. }
  2175. /// <remarks/>
  2176. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2177. [System.SerializableAttribute()]
  2178. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2179. public enum SnapType {
  2180. /// <remarks/>
  2181. Normal,
  2182. /// <remarks/>
  2183. City,
  2184. /// <remarks/>
  2185. NearestRoad,
  2186. }
  2187. /// <remarks/>
  2188. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2189. [System.SerializableAttribute()]
  2190. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2191. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2192. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2193. public partial class SegmentOptions {
  2194. private SegmentPreference preferenceField;
  2195. private bool calculateSegmentMapViewField;
  2196. private bool calculateDirectionMapViewField;
  2197. public SegmentOptions() {
  2198. this.calculateSegmentMapViewField = true;
  2199. this.calculateDirectionMapViewField = true;
  2200. }
  2201. /// <remarks/>
  2202. public SegmentPreference Preference {
  2203. get {
  2204. return this.preferenceField;
  2205. }
  2206. set {
  2207. this.preferenceField = value;
  2208. }
  2209. }
  2210. /// <remarks/>
  2211. [System.ComponentModel.DefaultValueAttribute(true)]
  2212. public bool CalculateSegmentMapView {
  2213. get {
  2214. return this.calculateSegmentMapViewField;
  2215. }
  2216. set {
  2217. this.calculateSegmentMapViewField = value;
  2218. }
  2219. }
  2220. /// <remarks/>
  2221. [System.ComponentModel.DefaultValueAttribute(true)]
  2222. public bool CalculateDirectionMapView {
  2223. get {
  2224. return this.calculateDirectionMapViewField;
  2225. }
  2226. set {
  2227. this.calculateDirectionMapViewField = value;
  2228. }
  2229. }
  2230. }
  2231. /// <remarks/>
  2232. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2233. [System.SerializableAttribute()]
  2234. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2235. public enum SegmentPreference {
  2236. /// <remarks/>
  2237. Quickest,
  2238. /// <remarks/>
  2239. Shortest,
  2240. }
  2241. /// <remarks/>
  2242. [System.FlagsAttribute()]
  2243. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2244. [System.SerializableAttribute()]
  2245. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2246. public enum RouteResultMask {
  2247. /// <remarks/>
  2248. Itinerary = 1,
  2249. /// <remarks/>
  2250. CalculatedRouteRepresentation = 2,
  2251. }
  2252. /// <remarks/>
  2253. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2254. [System.SerializableAttribute()]
  2255. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2256. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2257. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2258. public partial class DriverProfile {
  2259. private int dayStartTimeField;
  2260. private int dayEndTimeField;
  2261. public DriverProfile() {
  2262. this.dayStartTimeField = -1;
  2263. this.dayEndTimeField = -1;
  2264. }
  2265. /// <remarks/>
  2266. [System.ComponentModel.DefaultValueAttribute(-1)]
  2267. public int DayStartTime {
  2268. get {
  2269. return this.dayStartTimeField;
  2270. }
  2271. set {
  2272. this.dayStartTimeField = value;
  2273. }
  2274. }
  2275. /// <remarks/>
  2276. [System.ComponentModel.DefaultValueAttribute(-1)]
  2277. public int DayEndTime {
  2278. get {
  2279. return this.dayEndTimeField;
  2280. }
  2281. set {
  2282. this.dayEndTimeField = value;
  2283. }
  2284. }
  2285. }
  2286. /// <remarks/>
  2287. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2288. [System.SerializableAttribute()]
  2289. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2290. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2291. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2292. public partial class RouteItinerary {
  2293. private Segment[] segmentsField;
  2294. private long tripTimeField;
  2295. private long drivingTimeField;
  2296. private double distanceField;
  2297. private MapViewRepresentations viewField;
  2298. /// <remarks/>
  2299. public Segment[] Segments {
  2300. get {
  2301. return this.segmentsField;
  2302. }
  2303. set {
  2304. this.segmentsField = value;
  2305. }
  2306. }
  2307. /// <remarks/>
  2308. public long TripTime {
  2309. get {
  2310. return this.tripTimeField;
  2311. }
  2312. set {
  2313. this.tripTimeField = value;
  2314. }
  2315. }
  2316. /// <remarks/>
  2317. public long DrivingTime {
  2318. get {
  2319. return this.drivingTimeField;
  2320. }
  2321. set {
  2322. this.drivingTimeField = value;
  2323. }
  2324. }
  2325. /// <remarks/>
  2326. public double Distance {
  2327. get {
  2328. return this.distanceField;
  2329. }
  2330. set {
  2331. this.distanceField = value;
  2332. }
  2333. }
  2334. /// <remarks/>
  2335. public MapViewRepresentations View {
  2336. get {
  2337. return this.viewField;
  2338. }
  2339. set {
  2340. this.viewField = value;
  2341. }
  2342. }
  2343. }
  2344. /// <remarks/>
  2345. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2346. [System.SerializableAttribute()]
  2347. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2348. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2349. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2350. public partial class Segment {
  2351. private Waypoint waypointField;
  2352. private Direction[] directionsField;
  2353. private long tripTimeField;
  2354. private long drivingTimeField;
  2355. private double distanceField;
  2356. private MapViewRepresentations viewField;
  2357. /// <remarks/>
  2358. public Waypoint Waypoint {
  2359. get {
  2360. return this.waypointField;
  2361. }
  2362. set {
  2363. this.waypointField = value;
  2364. }
  2365. }
  2366. /// <remarks/>
  2367. public Direction[] Directions {
  2368. get {
  2369. return this.directionsField;
  2370. }
  2371. set {
  2372. this.directionsField = value;
  2373. }
  2374. }
  2375. /// <remarks/>
  2376. public long TripTime {
  2377. get {
  2378. return this.tripTimeField;
  2379. }
  2380. set {
  2381. this.tripTimeField = value;
  2382. }
  2383. }
  2384. /// <remarks/>
  2385. public long DrivingTime {
  2386. get {
  2387. return this.drivingTimeField;
  2388. }
  2389. set {
  2390. this.drivingTimeField = value;
  2391. }
  2392. }
  2393. /// <remarks/>
  2394. public double Distance {
  2395. get {
  2396. return this.distanceField;
  2397. }
  2398. set {
  2399. this.distanceField = value;
  2400. }
  2401. }
  2402. /// <remarks/>
  2403. public MapViewRepresentations View {
  2404. get {
  2405. return this.viewField;
  2406. }
  2407. set {
  2408. this.viewField = value;
  2409. }
  2410. }
  2411. }
  2412. /// <remarks/>
  2413. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2414. [System.SerializableAttribute()]
  2415. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2416. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2417. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2418. public partial class Direction {
  2419. private LatLong latLongField;
  2420. private DirectionType directionTypeField;
  2421. private DirectionAction actionField;
  2422. private float bearingOutOfTurnField;
  2423. private float bearingIntoTurnField;
  2424. private long durationField;
  2425. private double distanceField;
  2426. private string towardsField;
  2427. private string instructionField;
  2428. private string formattedInstructionField;
  2429. private int idField;
  2430. private MapViewRepresentations viewField;
  2431. /// <remarks/>
  2432. public LatLong LatLong {
  2433. get {
  2434. return this.latLongField;
  2435. }
  2436. set {
  2437. this.latLongField = value;
  2438. }
  2439. }
  2440. /// <remarks/>
  2441. public DirectionType DirectionType {
  2442. get {
  2443. return this.directionTypeField;
  2444. }
  2445. set {
  2446. this.directionTypeField = value;
  2447. }
  2448. }
  2449. /// <remarks/>
  2450. public DirectionAction Action {
  2451. get {
  2452. return this.actionField;
  2453. }
  2454. set {
  2455. this.actionField = value;
  2456. }
  2457. }
  2458. /// <remarks/>
  2459. public float BearingOutOfTurn {
  2460. get {
  2461. return this.bearingOutOfTurnField;
  2462. }
  2463. set {
  2464. this.bearingOutOfTurnField = value;
  2465. }
  2466. }
  2467. /// <remarks/>
  2468. public float BearingIntoTurn {
  2469. get {
  2470. return this.bearingIntoTurnField;
  2471. }
  2472. set {
  2473. this.bearingIntoTurnField = value;
  2474. }
  2475. }
  2476. /// <remarks/>
  2477. public long Duration {
  2478. get {
  2479. return this.durationField;
  2480. }
  2481. set {
  2482. this.durationField = value;
  2483. }
  2484. }
  2485. /// <remarks/>
  2486. public double Distance {
  2487. get {
  2488. return this.distanceField;
  2489. }
  2490. set {
  2491. this.distanceField = value;
  2492. }
  2493. }
  2494. /// <remarks/>
  2495. public string Towards {
  2496. get {
  2497. return this.towardsField;
  2498. }
  2499. set {
  2500. this.towardsField = value;
  2501. }
  2502. }
  2503. /// <remarks/>
  2504. public string Instruction {
  2505. get {
  2506. return this.instructionField;
  2507. }
  2508. set {
  2509. this.instructionField = value;
  2510. }
  2511. }
  2512. /// <remarks/>
  2513. public string FormattedInstruction {
  2514. get {
  2515. return this.formattedInstructionField;
  2516. }
  2517. set {
  2518. this.formattedInstructionField = value;
  2519. }
  2520. }
  2521. /// <remarks/>
  2522. public int ID {
  2523. get {
  2524. return this.idField;
  2525. }
  2526. set {
  2527. this.idField = value;
  2528. }
  2529. }
  2530. /// <remarks/>
  2531. public MapViewRepresentations View {
  2532. get {
  2533. return this.viewField;
  2534. }
  2535. set {
  2536. this.viewField = value;
  2537. }
  2538. }
  2539. }
  2540. /// <remarks/>
  2541. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2542. [System.SerializableAttribute()]
  2543. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2544. public enum DirectionType {
  2545. /// <remarks/>
  2546. Driving,
  2547. /// <remarks/>
  2548. Border,
  2549. /// <remarks/>
  2550. StartOfDay,
  2551. /// <remarks/>
  2552. EndOfDay,
  2553. /// <remarks/>
  2554. Warning,
  2555. /// <remarks/>
  2556. Waypoint,
  2557. }
  2558. /// <remarks/>
  2559. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2560. [System.SerializableAttribute()]
  2561. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2562. public enum DirectionAction {
  2563. /// <remarks/>
  2564. Other,
  2565. /// <remarks/>
  2566. Depart,
  2567. /// <remarks/>
  2568. Arrive,
  2569. /// <remarks/>
  2570. TurnLeft,
  2571. /// <remarks/>
  2572. TurnRight,
  2573. /// <remarks/>
  2574. BearLeft,
  2575. /// <remarks/>
  2576. BearRight,
  2577. /// <remarks/>
  2578. Merge,
  2579. /// <remarks/>
  2580. Continue,
  2581. /// <remarks/>
  2582. TurnBack,
  2583. /// <remarks/>
  2584. TakeRoundabout,
  2585. /// <remarks/>
  2586. ConstructionDelay,
  2587. /// <remarks/>
  2588. ConstructionStop,
  2589. /// <remarks/>
  2590. NameChange,
  2591. /// <remarks/>
  2592. LeftLeft,
  2593. /// <remarks/>
  2594. LeftRight,
  2595. /// <remarks/>
  2596. RightLeft,
  2597. /// <remarks/>
  2598. RightRight,
  2599. /// <remarks/>
  2600. TakeRamp,
  2601. /// <remarks/>
  2602. TakeRampLeft,
  2603. /// <remarks/>
  2604. TakeRampRight,
  2605. /// <remarks/>
  2606. KeepStraight,
  2607. /// <remarks/>
  2608. KeepLeft,
  2609. /// <remarks/>
  2610. KeepRight,
  2611. }
  2612. /// <remarks/>
  2613. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2614. [System.SerializableAttribute()]
  2615. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2616. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2617. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2618. public partial class CalculatedRouteRepresentation {
  2619. private byte[] bitsField;
  2620. /// <remarks/>
  2621. [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")]
  2622. public byte[] Bits {
  2623. get {
  2624. return this.bitsField;
  2625. }
  2626. set {
  2627. this.bitsField = value;
  2628. }
  2629. }
  2630. }
  2631. /// <remarks/>
  2632. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2633. [System.SerializableAttribute()]
  2634. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2635. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2636. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2637. public partial class PixelRectangle {
  2638. private int bottomField;
  2639. private int leftField;
  2640. private int rightField;
  2641. private int topField;
  2642. /// <remarks/>
  2643. public int Bottom {
  2644. get {
  2645. return this.bottomField;
  2646. }
  2647. set {
  2648. this.bottomField = value;
  2649. }
  2650. }
  2651. /// <remarks/>
  2652. public int Left {
  2653. get {
  2654. return this.leftField;
  2655. }
  2656. set {
  2657. this.leftField = value;
  2658. }
  2659. }
  2660. /// <remarks/>
  2661. public int Right {
  2662. get {
  2663. return this.rightField;
  2664. }
  2665. set {
  2666. this.rightField = value;
  2667. }
  2668. }
  2669. /// <remarks/>
  2670. public int Top {
  2671. get {
  2672. return this.topField;
  2673. }
  2674. set {
  2675. this.topField = value;
  2676. }
  2677. }
  2678. }
  2679. /// <remarks/>
  2680. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2681. [System.SerializableAttribute()]
  2682. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2683. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2684. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2685. public partial class HotArea {
  2686. private PixelRectangle iconRectangleField;
  2687. private PixelRectangle labelRectangleField;
  2688. private string pinIDField;
  2689. /// <remarks/>
  2690. public PixelRectangle IconRectangle {
  2691. get {
  2692. return this.iconRectangleField;
  2693. }
  2694. set {
  2695. this.iconRectangleField = value;
  2696. }
  2697. }
  2698. /// <remarks/>
  2699. public PixelRectangle LabelRectangle {
  2700. get {
  2701. return this.labelRectangleField;
  2702. }
  2703. set {
  2704. this.labelRectangleField = value;
  2705. }
  2706. }
  2707. /// <remarks/>
  2708. public string PinID {
  2709. get {
  2710. return this.pinIDField;
  2711. }
  2712. set {
  2713. this.pinIDField = value;
  2714. }
  2715. }
  2716. }
  2717. /// <remarks/>
  2718. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2719. [System.SerializableAttribute()]
  2720. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2721. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2722. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2723. public partial class MapImage {
  2724. private HotArea[] hotAreasField;
  2725. private MimeData mimeDataField;
  2726. private MapViewRepresentations viewField;
  2727. private string urlField;
  2728. /// <remarks/>
  2729. public HotArea[] HotAreas {
  2730. get {
  2731. return this.hotAreasField;
  2732. }
  2733. set {
  2734. this.hotAreasField = value;
  2735. }
  2736. }
  2737. /// <remarks/>
  2738. public MimeData MimeData {
  2739. get {
  2740. return this.mimeDataField;
  2741. }
  2742. set {
  2743. this.mimeDataField = value;
  2744. }
  2745. }
  2746. /// <remarks/>
  2747. public MapViewRepresentations View {
  2748. get {
  2749. return this.viewField;
  2750. }
  2751. set {
  2752. this.viewField = value;
  2753. }
  2754. }
  2755. /// <remarks/>
  2756. public string Url {
  2757. get {
  2758. return this.urlField;
  2759. }
  2760. set {
  2761. this.urlField = value;
  2762. }
  2763. }
  2764. }
  2765. /// <remarks/>
  2766. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2767. [System.SerializableAttribute()]
  2768. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2769. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2770. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2771. public partial class PixelCoord {
  2772. private int xField;
  2773. private int yField;
  2774. /// <remarks/>
  2775. public int X {
  2776. get {
  2777. return this.xField;
  2778. }
  2779. set {
  2780. this.xField = value;
  2781. }
  2782. }
  2783. /// <remarks/>
  2784. public int Y {
  2785. get {
  2786. return this.yField;
  2787. }
  2788. set {
  2789. this.yField = value;
  2790. }
  2791. }
  2792. }
  2793. /// <remarks/>
  2794. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2795. [System.SerializableAttribute()]
  2796. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2797. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2798. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2799. public partial class Pushpin {
  2800. private string iconDataSourceField;
  2801. private string iconNameField;
  2802. private string labelField;
  2803. private LatLong latLongField;
  2804. private string pinIDField;
  2805. private PixelCoord pixelField;
  2806. private bool returnsHotAreaField;
  2807. private bool labelNearbyRoadsField;
  2808. /// <remarks/>
  2809. public string IconDataSource {
  2810. get {
  2811. return this.iconDataSourceField;
  2812. }
  2813. set {
  2814. this.iconDataSourceField = value;
  2815. }
  2816. }
  2817. /// <remarks/>
  2818. public string IconName {
  2819. get {
  2820. return this.iconNameField;
  2821. }
  2822. set {
  2823. this.iconNameField = value;
  2824. }
  2825. }
  2826. /// <remarks/>
  2827. public string Label {
  2828. get {
  2829. return this.labelField;
  2830. }
  2831. set {
  2832. this.labelField = value;
  2833. }
  2834. }
  2835. /// <remarks/>
  2836. public LatLong LatLong {
  2837. get {
  2838. return this.latLongField;
  2839. }
  2840. set {
  2841. this.latLongField = value;
  2842. }
  2843. }
  2844. /// <remarks/>
  2845. public string PinID {
  2846. get {
  2847. return this.pinIDField;
  2848. }
  2849. set {
  2850. this.pinIDField = value;
  2851. }
  2852. }
  2853. /// <remarks/>
  2854. public PixelCoord Pixel {
  2855. get {
  2856. return this.pixelField;
  2857. }
  2858. set {
  2859. this.pixelField = value;
  2860. }
  2861. }
  2862. /// <remarks/>
  2863. public bool ReturnsHotArea {
  2864. get {
  2865. return this.returnsHotAreaField;
  2866. }
  2867. set {
  2868. this.returnsHotAreaField = value;
  2869. }
  2870. }
  2871. /// <remarks/>
  2872. public bool LabelNearbyRoads {
  2873. get {
  2874. return this.labelNearbyRoadsField;
  2875. }
  2876. set {
  2877. this.labelNearbyRoadsField = value;
  2878. }
  2879. }
  2880. }
  2881. /// <remarks/>
  2882. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  2883. [System.SerializableAttribute()]
  2884. [System.Diagnostics.DebuggerStepThroughAttribute()]
  2885. [System.ComponentModel.DesignerCategoryAttribute("code")]
  2886. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  2887. public partial class MapOptions {
  2888. private RouteHighlightColor routeHighlightColorField;
  2889. private RouteHighlightColor constructionDelayHighlightColorField;
  2890. private RouteHighlightColor constructionClosureHighlightColorField;
  2891. private MapFontSize fontSizeField;
  2892. private ImageFormat formatField;
  2893. private bool isOverviewMapField;
  2894. private MapReturnType returnTypeField;
  2895. private double panHorizontalField;
  2896. private double panVerticalField;
  2897. private MapStyle styleField;
  2898. private double zoomField;
  2899. private bool preventIconCollisionsField;
  2900. public MapOptions() {
  2901. this.fontSizeField = MapFontSize.Smaller;
  2902. this.isOverviewMapField = false;
  2903. this.returnTypeField = MapReturnType.ReturnImage;
  2904. this.zoomField = 1;
  2905. this.preventIconCollisionsField = false;
  2906. }
  2907. /// <remarks/>
  2908. public RouteHighlightColor RouteHighlightColor {
  2909. get {
  2910. return this.routeHighlightColorField;
  2911. }
  2912. set {
  2913. this.routeHighlightColorField = value;
  2914. }
  2915. }
  2916. /// <remarks/>
  2917. public RouteHighlightColor ConstructionDelayHighlightColor {
  2918. get {
  2919. return this.constructionDelayHighlightColorField;
  2920. }
  2921. set {
  2922. this.constructionDelayHighlightColorField = value;
  2923. }
  2924. }
  2925. /// <remarks/>
  2926. public RouteHighlightColor ConstructionClosureHighlightColor {
  2927. get {
  2928. return this.constructionClosureHighlightColorField;
  2929. }
  2930. set {
  2931. this.constructionClosureHighlightColorField = value;
  2932. }
  2933. }
  2934. /// <remarks/>
  2935. [System.ComponentModel.DefaultValueAttribute(MapFontSize.Smaller)]
  2936. public MapFontSize FontSize {
  2937. get {
  2938. return this.fontSizeField;
  2939. }
  2940. set {
  2941. this.fontSizeField = value;
  2942. }
  2943. }
  2944. /// <remarks/>
  2945. public ImageFormat Format {
  2946. get {
  2947. return this.formatField;
  2948. }
  2949. set {
  2950. this.formatField = value;
  2951. }
  2952. }
  2953. /// <remarks/>
  2954. [System.ComponentModel.DefaultValueAttribute(false)]
  2955. public bool IsOverviewMap {
  2956. get {
  2957. return this.isOverviewMapField;
  2958. }
  2959. set {
  2960. this.isOverviewMapField = value;
  2961. }
  2962. }
  2963. /// <remarks/>
  2964. [System.ComponentModel.DefaultValueAttribute(MapReturnType.ReturnImage)]
  2965. public MapReturnType ReturnType {
  2966. get {
  2967. return this.returnTypeField;
  2968. }
  2969. set {
  2970. this.returnTypeField = value;
  2971. }
  2972. }
  2973. /// <remarks/>
  2974. public double PanHorizontal {
  2975. get {
  2976. return this.panHorizontalField;
  2977. }
  2978. set {
  2979. this.panHorizontalField = value;
  2980. }
  2981. }
  2982. /// <remarks/>
  2983. public double PanVertical {
  2984. get {
  2985. return this.panVerticalField;
  2986. }
  2987. set {
  2988. this.panVerticalField = value;
  2989. }
  2990. }
  2991. /// <remarks/>
  2992. public MapStyle Style {
  2993. get {
  2994. return this.styleField;
  2995. }
  2996. set {
  2997. this.styleField = value;
  2998. }
  2999. }
  3000. /// <remarks/>
  3001. [System.ComponentModel.DefaultValueAttribute(1)]
  3002. public double Zoom {
  3003. get {
  3004. return this.zoomField;
  3005. }
  3006. set {
  3007. this.zoomField = value;
  3008. }
  3009. }
  3010. /// <remarks/>
  3011. [System.ComponentModel.DefaultValueAttribute(false)]
  3012. public bool PreventIconCollisions {
  3013. get {
  3014. return this.preventIconCollisionsField;
  3015. }
  3016. set {
  3017. this.preventIconCollisionsField = value;
  3018. }
  3019. }
  3020. }
  3021. /// <remarks/>
  3022. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3023. [System.SerializableAttribute()]
  3024. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3025. public enum RouteHighlightColor {
  3026. /// <remarks/>
  3027. DefaultColor,
  3028. /// <remarks/>
  3029. Green,
  3030. /// <remarks/>
  3031. Yellow,
  3032. /// <remarks/>
  3033. Cyan,
  3034. /// <remarks/>
  3035. Red,
  3036. }
  3037. /// <remarks/>
  3038. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3039. [System.SerializableAttribute()]
  3040. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3041. public enum MapStyle {
  3042. /// <remarks/>
  3043. DefaultStyle,
  3044. /// <remarks/>
  3045. Locator,
  3046. /// <remarks/>
  3047. Terrain,
  3048. /// <remarks/>
  3049. Road,
  3050. /// <remarks/>
  3051. Political,
  3052. /// <remarks/>
  3053. Small,
  3054. /// <remarks/>
  3055. LocatorBW,
  3056. /// <remarks/>
  3057. TerrainBW,
  3058. /// <remarks/>
  3059. RoadBW,
  3060. /// <remarks/>
  3061. PoliticalBW,
  3062. /// <remarks/>
  3063. SmallBW,
  3064. /// <remarks/>
  3065. Comprehensive,
  3066. /// <remarks/>
  3067. PhysicalFeatures,
  3068. /// <remarks/>
  3069. Tectonic,
  3070. /// <remarks/>
  3071. EarthByDay,
  3072. /// <remarks/>
  3073. EarthByNight,
  3074. /// <remarks/>
  3075. Ecoregions,
  3076. /// <remarks/>
  3077. Climate,
  3078. /// <remarks/>
  3079. TemperatureJanuary,
  3080. /// <remarks/>
  3081. TemperatureJuly,
  3082. /// <remarks/>
  3083. PrecipitationJanuary,
  3084. /// <remarks/>
  3085. PrecipitationJuly,
  3086. /// <remarks/>
  3087. PrecipitationAnnual,
  3088. /// <remarks/>
  3089. Languages,
  3090. /// <remarks/>
  3091. Religions,
  3092. /// <remarks/>
  3093. PopulationDensity,
  3094. /// <remarks/>
  3095. Parks,
  3096. /// <remarks/>
  3097. TimeZones,
  3098. /// <remarks/>
  3099. Outline,
  3100. /// <remarks/>
  3101. Phone,
  3102. /// <remarks/>
  3103. PhoneBW,
  3104. /// <remarks/>
  3105. Night,
  3106. }
  3107. /// <remarks/>
  3108. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3109. [System.SerializableAttribute()]
  3110. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3111. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3112. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3113. public partial class ElementColor {
  3114. private byte aField;
  3115. private byte rField;
  3116. private byte gField;
  3117. private byte bField;
  3118. /// <remarks/>
  3119. public byte A {
  3120. get {
  3121. return this.aField;
  3122. }
  3123. set {
  3124. this.aField = value;
  3125. }
  3126. }
  3127. /// <remarks/>
  3128. public byte R {
  3129. get {
  3130. return this.rField;
  3131. }
  3132. set {
  3133. this.rField = value;
  3134. }
  3135. }
  3136. /// <remarks/>
  3137. public byte G {
  3138. get {
  3139. return this.gField;
  3140. }
  3141. set {
  3142. this.gField = value;
  3143. }
  3144. }
  3145. /// <remarks/>
  3146. public byte B {
  3147. get {
  3148. return this.bField;
  3149. }
  3150. set {
  3151. this.bField = value;
  3152. }
  3153. }
  3154. }
  3155. /// <remarks/>
  3156. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3157. [System.SerializableAttribute()]
  3158. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3159. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3160. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3161. public partial class Polygon {
  3162. private string dataSourceNameField;
  3163. private int entityIDField;
  3164. private ElementColor borderColorField;
  3165. private ElementColor fillColorField;
  3166. private string labelField;
  3167. /// <remarks/>
  3168. public string DataSourceName {
  3169. get {
  3170. return this.dataSourceNameField;
  3171. }
  3172. set {
  3173. this.dataSourceNameField = value;
  3174. }
  3175. }
  3176. /// <remarks/>
  3177. public int EntityID {
  3178. get {
  3179. return this.entityIDField;
  3180. }
  3181. set {
  3182. this.entityIDField = value;
  3183. }
  3184. }
  3185. /// <remarks/>
  3186. public ElementColor BorderColor {
  3187. get {
  3188. return this.borderColorField;
  3189. }
  3190. set {
  3191. this.borderColorField = value;
  3192. }
  3193. }
  3194. /// <remarks/>
  3195. public ElementColor FillColor {
  3196. get {
  3197. return this.fillColorField;
  3198. }
  3199. set {
  3200. this.fillColorField = value;
  3201. }
  3202. }
  3203. /// <remarks/>
  3204. public string Label {
  3205. get {
  3206. return this.labelField;
  3207. }
  3208. set {
  3209. this.labelField = value;
  3210. }
  3211. }
  3212. }
  3213. /// <remarks/>
  3214. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3215. [System.SerializableAttribute()]
  3216. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3217. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3218. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3219. public partial class MapSpecification {
  3220. private Polygon[] polygonsField;
  3221. private string dataSourceNameField;
  3222. private int[] highlightedEntityIDsField;
  3223. private string[] hideEntityTypesField;
  3224. private MapOptions optionsField;
  3225. private Pushpin[] pushpinsField;
  3226. private Route routeField;
  3227. private MapView[] viewsField;
  3228. /// <remarks/>
  3229. public Polygon[] Polygons {
  3230. get {
  3231. return this.polygonsField;
  3232. }
  3233. set {
  3234. this.polygonsField = value;
  3235. }
  3236. }
  3237. /// <remarks/>
  3238. public string DataSourceName {
  3239. get {
  3240. return this.dataSourceNameField;
  3241. }
  3242. set {
  3243. this.dataSourceNameField = value;
  3244. }
  3245. }
  3246. /// <remarks/>
  3247. public int[] HighlightedEntityIDs {
  3248. get {
  3249. return this.highlightedEntityIDsField;
  3250. }
  3251. set {
  3252. this.highlightedEntityIDsField = value;
  3253. }
  3254. }
  3255. /// <remarks/>
  3256. public string[] HideEntityTypes {
  3257. get {
  3258. return this.hideEntityTypesField;
  3259. }
  3260. set {
  3261. this.hideEntityTypesField = value;
  3262. }
  3263. }
  3264. /// <remarks/>
  3265. public MapOptions Options {
  3266. get {
  3267. return this.optionsField;
  3268. }
  3269. set {
  3270. this.optionsField = value;
  3271. }
  3272. }
  3273. /// <remarks/>
  3274. public Pushpin[] Pushpins {
  3275. get {
  3276. return this.pushpinsField;
  3277. }
  3278. set {
  3279. this.pushpinsField = value;
  3280. }
  3281. }
  3282. /// <remarks/>
  3283. public Route Route {
  3284. get {
  3285. return this.routeField;
  3286. }
  3287. set {
  3288. this.routeField = value;
  3289. }
  3290. }
  3291. /// <remarks/>
  3292. public MapView[] Views {
  3293. get {
  3294. return this.viewsField;
  3295. }
  3296. set {
  3297. this.viewsField = value;
  3298. }
  3299. }
  3300. }
  3301. /// <remarks/>
  3302. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3303. [System.SerializableAttribute()]
  3304. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3305. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3306. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3307. public partial class FindPolygonSpecification {
  3308. private string dataSourceNameField;
  3309. private FindFilter filterField;
  3310. private FindOptions optionsField;
  3311. private SpatialFilter spatialFilterField;
  3312. /// <remarks/>
  3313. public string DataSourceName {
  3314. get {
  3315. return this.dataSourceNameField;
  3316. }
  3317. set {
  3318. this.dataSourceNameField = value;
  3319. }
  3320. }
  3321. /// <remarks/>
  3322. public FindFilter Filter {
  3323. get {
  3324. return this.filterField;
  3325. }
  3326. set {
  3327. this.filterField = value;
  3328. }
  3329. }
  3330. /// <remarks/>
  3331. public FindOptions Options {
  3332. get {
  3333. return this.optionsField;
  3334. }
  3335. set {
  3336. this.optionsField = value;
  3337. }
  3338. }
  3339. /// <remarks/>
  3340. public SpatialFilter SpatialFilter {
  3341. get {
  3342. return this.spatialFilterField;
  3343. }
  3344. set {
  3345. this.spatialFilterField = value;
  3346. }
  3347. }
  3348. }
  3349. /// <remarks/>
  3350. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3351. [System.SerializableAttribute()]
  3352. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3353. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3354. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3355. public partial class FindFilter {
  3356. private string entityTypeNameField;
  3357. private string[] propertyNamesField;
  3358. private WhereClause whereClauseField;
  3359. private SortProperty[] sortPropertiesField;
  3360. private FilterExpression expressionField;
  3361. /// <remarks/>
  3362. public string EntityTypeName {
  3363. get {
  3364. return this.entityTypeNameField;
  3365. }
  3366. set {
  3367. this.entityTypeNameField = value;
  3368. }
  3369. }
  3370. /// <remarks/>
  3371. public string[] PropertyNames {
  3372. get {
  3373. return this.propertyNamesField;
  3374. }
  3375. set {
  3376. this.propertyNamesField = value;
  3377. }
  3378. }
  3379. /// <remarks/>
  3380. public WhereClause WhereClause {
  3381. get {
  3382. return this.whereClauseField;
  3383. }
  3384. set {
  3385. this.whereClauseField = value;
  3386. }
  3387. }
  3388. /// <remarks/>
  3389. public SortProperty[] SortProperties {
  3390. get {
  3391. return this.sortPropertiesField;
  3392. }
  3393. set {
  3394. this.sortPropertiesField = value;
  3395. }
  3396. }
  3397. /// <remarks/>
  3398. public FilterExpression Expression {
  3399. get {
  3400. return this.expressionField;
  3401. }
  3402. set {
  3403. this.expressionField = value;
  3404. }
  3405. }
  3406. }
  3407. /// <remarks/>
  3408. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3409. [System.SerializableAttribute()]
  3410. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3411. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3412. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3413. public partial class WhereClause {
  3414. private EntityPropertyValue[] searchPropertiesField;
  3415. private SearchOperatorFlag searchOperatorField;
  3416. /// <remarks/>
  3417. [System.Xml.Serialization.XmlArrayItemAttribute("Property")]
  3418. public EntityPropertyValue[] SearchProperties {
  3419. get {
  3420. return this.searchPropertiesField;
  3421. }
  3422. set {
  3423. this.searchPropertiesField = value;
  3424. }
  3425. }
  3426. /// <remarks/>
  3427. public SearchOperatorFlag SearchOperator {
  3428. get {
  3429. return this.searchOperatorField;
  3430. }
  3431. set {
  3432. this.searchOperatorField = value;
  3433. }
  3434. }
  3435. }
  3436. /// <remarks/>
  3437. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3438. [System.SerializableAttribute()]
  3439. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3440. public enum SearchOperatorFlag {
  3441. /// <remarks/>
  3442. And,
  3443. /// <remarks/>
  3444. Or,
  3445. }
  3446. /// <remarks/>
  3447. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3448. [System.SerializableAttribute()]
  3449. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3450. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3451. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3452. public partial class SortProperty {
  3453. private string propertyNameField;
  3454. private SortDirection directionField;
  3455. /// <remarks/>
  3456. public string PropertyName {
  3457. get {
  3458. return this.propertyNameField;
  3459. }
  3460. set {
  3461. this.propertyNameField = value;
  3462. }
  3463. }
  3464. /// <remarks/>
  3465. public SortDirection Direction {
  3466. get {
  3467. return this.directionField;
  3468. }
  3469. set {
  3470. this.directionField = value;
  3471. }
  3472. }
  3473. }
  3474. /// <remarks/>
  3475. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3476. [System.SerializableAttribute()]
  3477. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3478. public enum SortDirection {
  3479. /// <remarks/>
  3480. Ascending,
  3481. /// <remarks/>
  3482. Descending,
  3483. }
  3484. /// <remarks/>
  3485. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3486. [System.SerializableAttribute()]
  3487. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3488. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3489. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3490. public partial class FilterExpression {
  3491. private string textField;
  3492. private object[] parametersField;
  3493. /// <remarks/>
  3494. public string Text {
  3495. get {
  3496. return this.textField;
  3497. }
  3498. set {
  3499. this.textField = value;
  3500. }
  3501. }
  3502. /// <remarks/>
  3503. public object[] Parameters {
  3504. get {
  3505. return this.parametersField;
  3506. }
  3507. set {
  3508. this.parametersField = value;
  3509. }
  3510. }
  3511. }
  3512. /// <remarks/>
  3513. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3514. [System.SerializableAttribute()]
  3515. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3516. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3517. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3518. public partial class FindOptions {
  3519. private FindRange rangeField;
  3520. private int searchContextField;
  3521. private FindResultMask resultMaskField;
  3522. private double thresholdScoreField;
  3523. public FindOptions() {
  3524. this.thresholdScoreField = 0.85;
  3525. }
  3526. /// <remarks/>
  3527. public FindRange Range {
  3528. get {
  3529. return this.rangeField;
  3530. }
  3531. set {
  3532. this.rangeField = value;
  3533. }
  3534. }
  3535. /// <remarks/>
  3536. public int SearchContext {
  3537. get {
  3538. return this.searchContextField;
  3539. }
  3540. set {
  3541. this.searchContextField = value;
  3542. }
  3543. }
  3544. /// <remarks/>
  3545. public FindResultMask ResultMask {
  3546. get {
  3547. return this.resultMaskField;
  3548. }
  3549. set {
  3550. this.resultMaskField = value;
  3551. }
  3552. }
  3553. /// <remarks/>
  3554. [System.ComponentModel.DefaultValueAttribute(0.85)]
  3555. public double ThresholdScore {
  3556. get {
  3557. return this.thresholdScoreField;
  3558. }
  3559. set {
  3560. this.thresholdScoreField = value;
  3561. }
  3562. }
  3563. }
  3564. /// <remarks/>
  3565. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3566. [System.SerializableAttribute()]
  3567. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3568. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3569. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3570. public partial class FindRange {
  3571. private int startIndexField;
  3572. private int countField;
  3573. public FindRange() {
  3574. this.startIndexField = 0;
  3575. this.countField = 25;
  3576. }
  3577. /// <remarks/>
  3578. [System.ComponentModel.DefaultValueAttribute(0)]
  3579. public int StartIndex {
  3580. get {
  3581. return this.startIndexField;
  3582. }
  3583. set {
  3584. this.startIndexField = value;
  3585. }
  3586. }
  3587. /// <remarks/>
  3588. [System.ComponentModel.DefaultValueAttribute(25)]
  3589. public int Count {
  3590. get {
  3591. return this.countField;
  3592. }
  3593. set {
  3594. this.countField = value;
  3595. }
  3596. }
  3597. }
  3598. /// <remarks/>
  3599. [System.FlagsAttribute()]
  3600. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3601. [System.SerializableAttribute()]
  3602. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3603. public enum FindResultMask {
  3604. /// <remarks/>
  3605. LatLongFlag = 1,
  3606. /// <remarks/>
  3607. EntityFlag = 2,
  3608. /// <remarks/>
  3609. AddressFlag = 4,
  3610. /// <remarks/>
  3611. BestMapViewFlag = 8,
  3612. /// <remarks/>
  3613. MatchDetailsFlag = 16,
  3614. }
  3615. /// <remarks/>
  3616. [System.Xml.Serialization.XmlIncludeAttribute(typeof(LatLongRectangleSpatialFilter))]
  3617. [System.Xml.Serialization.XmlIncludeAttribute(typeof(LatLongSpatialFilter))]
  3618. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3619. [System.SerializableAttribute()]
  3620. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3621. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3622. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3623. public abstract partial class SpatialFilter {
  3624. }
  3625. /// <remarks/>
  3626. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3627. [System.SerializableAttribute()]
  3628. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3629. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3630. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3631. public partial class LatLongRectangleSpatialFilter : SpatialFilter {
  3632. private LatLongRectangle boundingRectangleField;
  3633. private SpatialRelation polygonRectangleRelationField;
  3634. /// <remarks/>
  3635. public LatLongRectangle BoundingRectangle {
  3636. get {
  3637. return this.boundingRectangleField;
  3638. }
  3639. set {
  3640. this.boundingRectangleField = value;
  3641. }
  3642. }
  3643. /// <remarks/>
  3644. public SpatialRelation PolygonRectangleRelation {
  3645. get {
  3646. return this.polygonRectangleRelationField;
  3647. }
  3648. set {
  3649. this.polygonRectangleRelationField = value;
  3650. }
  3651. }
  3652. }
  3653. /// <remarks/>
  3654. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3655. [System.SerializableAttribute()]
  3656. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3657. public enum SpatialRelation {
  3658. /// <remarks/>
  3659. WithinArea,
  3660. /// <remarks/>
  3661. TouchesArea,
  3662. }
  3663. /// <remarks/>
  3664. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3665. [System.SerializableAttribute()]
  3666. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3667. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3668. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3669. public partial class LatLongSpatialFilter : SpatialFilter {
  3670. private LatLong latLongField;
  3671. /// <remarks/>
  3672. public LatLong LatLong {
  3673. get {
  3674. return this.latLongField;
  3675. }
  3676. set {
  3677. this.latLongField = value;
  3678. }
  3679. }
  3680. }
  3681. /// <remarks/>
  3682. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3683. [System.SerializableAttribute()]
  3684. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3685. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3686. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3687. public partial class FindNearRouteSpecification {
  3688. private string dataSourceNameField;
  3689. private double distanceField;
  3690. private FindFilter filterField;
  3691. private FindOptions optionsField;
  3692. private Route routeField;
  3693. /// <remarks/>
  3694. public string DataSourceName {
  3695. get {
  3696. return this.dataSourceNameField;
  3697. }
  3698. set {
  3699. this.dataSourceNameField = value;
  3700. }
  3701. }
  3702. /// <remarks/>
  3703. public double Distance {
  3704. get {
  3705. return this.distanceField;
  3706. }
  3707. set {
  3708. this.distanceField = value;
  3709. }
  3710. }
  3711. /// <remarks/>
  3712. public FindFilter Filter {
  3713. get {
  3714. return this.filterField;
  3715. }
  3716. set {
  3717. this.filterField = value;
  3718. }
  3719. }
  3720. /// <remarks/>
  3721. public FindOptions Options {
  3722. get {
  3723. return this.optionsField;
  3724. }
  3725. set {
  3726. this.optionsField = value;
  3727. }
  3728. }
  3729. /// <remarks/>
  3730. public Route Route {
  3731. get {
  3732. return this.routeField;
  3733. }
  3734. set {
  3735. this.routeField = value;
  3736. }
  3737. }
  3738. }
  3739. /// <remarks/>
  3740. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3741. [System.SerializableAttribute()]
  3742. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3743. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3744. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3745. public partial class FindByIDSpecification {
  3746. private string dataSourceNameField;
  3747. private FindFilter filterField;
  3748. private FindOptions optionsField;
  3749. private int[] entityIDsField;
  3750. /// <remarks/>
  3751. public string DataSourceName {
  3752. get {
  3753. return this.dataSourceNameField;
  3754. }
  3755. set {
  3756. this.dataSourceNameField = value;
  3757. }
  3758. }
  3759. /// <remarks/>
  3760. public FindFilter Filter {
  3761. get {
  3762. return this.filterField;
  3763. }
  3764. set {
  3765. this.filterField = value;
  3766. }
  3767. }
  3768. /// <remarks/>
  3769. public FindOptions Options {
  3770. get {
  3771. return this.optionsField;
  3772. }
  3773. set {
  3774. this.optionsField = value;
  3775. }
  3776. }
  3777. /// <remarks/>
  3778. public int[] EntityIDs {
  3779. get {
  3780. return this.entityIDsField;
  3781. }
  3782. set {
  3783. this.entityIDsField = value;
  3784. }
  3785. }
  3786. }
  3787. /// <remarks/>
  3788. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3789. [System.SerializableAttribute()]
  3790. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3791. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3792. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3793. public partial class FindByPropertySpecification {
  3794. private string dataSourceNameField;
  3795. private FindFilter filterField;
  3796. private FindOptions optionsField;
  3797. /// <remarks/>
  3798. public string DataSourceName {
  3799. get {
  3800. return this.dataSourceNameField;
  3801. }
  3802. set {
  3803. this.dataSourceNameField = value;
  3804. }
  3805. }
  3806. /// <remarks/>
  3807. public FindFilter Filter {
  3808. get {
  3809. return this.filterField;
  3810. }
  3811. set {
  3812. this.filterField = value;
  3813. }
  3814. }
  3815. /// <remarks/>
  3816. public FindOptions Options {
  3817. get {
  3818. return this.optionsField;
  3819. }
  3820. set {
  3821. this.optionsField = value;
  3822. }
  3823. }
  3824. }
  3825. /// <remarks/>
  3826. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3827. [System.SerializableAttribute()]
  3828. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3829. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3830. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3831. public partial class FindNearbySpecification {
  3832. private string dataSourceNameField;
  3833. private LatLong latLongField;
  3834. private double distanceField;
  3835. private FindFilter filterField;
  3836. private FindOptions optionsField;
  3837. /// <remarks/>
  3838. public string DataSourceName {
  3839. get {
  3840. return this.dataSourceNameField;
  3841. }
  3842. set {
  3843. this.dataSourceNameField = value;
  3844. }
  3845. }
  3846. /// <remarks/>
  3847. public LatLong LatLong {
  3848. get {
  3849. return this.latLongField;
  3850. }
  3851. set {
  3852. this.latLongField = value;
  3853. }
  3854. }
  3855. /// <remarks/>
  3856. public double Distance {
  3857. get {
  3858. return this.distanceField;
  3859. }
  3860. set {
  3861. this.distanceField = value;
  3862. }
  3863. }
  3864. /// <remarks/>
  3865. public FindFilter Filter {
  3866. get {
  3867. return this.filterField;
  3868. }
  3869. set {
  3870. this.filterField = value;
  3871. }
  3872. }
  3873. /// <remarks/>
  3874. public FindOptions Options {
  3875. get {
  3876. return this.optionsField;
  3877. }
  3878. set {
  3879. this.optionsField = value;
  3880. }
  3881. }
  3882. }
  3883. /// <remarks/>
  3884. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3885. [System.SerializableAttribute()]
  3886. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3887. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3888. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3889. public partial class GetInfoOptions {
  3890. private bool includeAddressesField;
  3891. private bool includeAllEntityTypesField;
  3892. private string[] entityTypesToReturnField;
  3893. public GetInfoOptions() {
  3894. this.includeAddressesField = true;
  3895. this.includeAllEntityTypesField = true;
  3896. }
  3897. /// <remarks/>
  3898. [System.ComponentModel.DefaultValueAttribute(true)]
  3899. public bool IncludeAddresses {
  3900. get {
  3901. return this.includeAddressesField;
  3902. }
  3903. set {
  3904. this.includeAddressesField = value;
  3905. }
  3906. }
  3907. /// <remarks/>
  3908. [System.ComponentModel.DefaultValueAttribute(true)]
  3909. public bool IncludeAllEntityTypes {
  3910. get {
  3911. return this.includeAllEntityTypesField;
  3912. }
  3913. set {
  3914. this.includeAllEntityTypesField = value;
  3915. }
  3916. }
  3917. /// <remarks/>
  3918. public string[] EntityTypesToReturn {
  3919. get {
  3920. return this.entityTypesToReturnField;
  3921. }
  3922. set {
  3923. this.entityTypesToReturnField = value;
  3924. }
  3925. }
  3926. }
  3927. /// <remarks/>
  3928. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3929. [System.SerializableAttribute()]
  3930. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3931. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3932. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3933. public partial class FindAddressSpecification {
  3934. private string dataSourceNameField;
  3935. private Address inputAddressField;
  3936. private FindOptions optionsField;
  3937. /// <remarks/>
  3938. public string DataSourceName {
  3939. get {
  3940. return this.dataSourceNameField;
  3941. }
  3942. set {
  3943. this.dataSourceNameField = value;
  3944. }
  3945. }
  3946. /// <remarks/>
  3947. public Address InputAddress {
  3948. get {
  3949. return this.inputAddressField;
  3950. }
  3951. set {
  3952. this.inputAddressField = value;
  3953. }
  3954. }
  3955. /// <remarks/>
  3956. public FindOptions Options {
  3957. get {
  3958. return this.optionsField;
  3959. }
  3960. set {
  3961. this.optionsField = value;
  3962. }
  3963. }
  3964. }
  3965. /// <remarks/>
  3966. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  3967. [System.SerializableAttribute()]
  3968. [System.Diagnostics.DebuggerStepThroughAttribute()]
  3969. [System.ComponentModel.DesignerCategoryAttribute("code")]
  3970. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  3971. public partial class MapPointConstants {
  3972. private double earthRadiusInKilometersField;
  3973. private double piField;
  3974. private double radiansPerDegreeField;
  3975. private double degreesPerRadianField;
  3976. private double milesPerKilometerField;
  3977. private double kilometersPerMileField;
  3978. private double kilometersPerFootField;
  3979. private double feetPerKilometerField;
  3980. private double findScoreThresholdField;
  3981. private int assumedDpiField;
  3982. private double feetPerMeterField;
  3983. private double metersPerFootField;
  3984. public MapPointConstants() {
  3985. this.earthRadiusInKilometersField = 6378.2;
  3986. this.piField = 3.1415926535897931;
  3987. this.radiansPerDegreeField = 0.017453292519943295;
  3988. this.degreesPerRadianField = 57.295779513082323;
  3989. this.milesPerKilometerField = 0.621371192237334;
  3990. this.kilometersPerMileField = 1.609344;
  3991. this.kilometersPerFootField = 0.0003048;
  3992. this.feetPerKilometerField = 3280.8398950131232;
  3993. this.findScoreThresholdField = 0.85;
  3994. this.assumedDpiField = 96;
  3995. this.feetPerMeterField = 3.280839895013123;
  3996. this.metersPerFootField = 0.3048;
  3997. }
  3998. /// <remarks/>
  3999. [System.ComponentModel.DefaultValueAttribute(6378.2)]
  4000. public double EarthRadiusInKilometers {
  4001. get {
  4002. return this.earthRadiusInKilometersField;
  4003. }
  4004. set {
  4005. this.earthRadiusInKilometersField = value;
  4006. }
  4007. }
  4008. /// <remarks/>
  4009. [System.ComponentModel.DefaultValueAttribute(3.1415926535897931)]
  4010. public double Pi {
  4011. get {
  4012. return this.piField;
  4013. }
  4014. set {
  4015. this.piField = value;
  4016. }
  4017. }
  4018. /// <remarks/>
  4019. [System.ComponentModel.DefaultValueAttribute(0.017453292519943295)]
  4020. public double RadiansPerDegree {
  4021. get {
  4022. return this.radiansPerDegreeField;
  4023. }
  4024. set {
  4025. this.radiansPerDegreeField = value;
  4026. }
  4027. }
  4028. /// <remarks/>
  4029. [System.ComponentModel.DefaultValueAttribute(57.295779513082323)]
  4030. public double DegreesPerRadian {
  4031. get {
  4032. return this.degreesPerRadianField;
  4033. }
  4034. set {
  4035. this.degreesPerRadianField = value;
  4036. }
  4037. }
  4038. /// <remarks/>
  4039. [System.ComponentModel.DefaultValueAttribute(0.621371192237334)]
  4040. public double MilesPerKilometer {
  4041. get {
  4042. return this.milesPerKilometerField;
  4043. }
  4044. set {
  4045. this.milesPerKilometerField = value;
  4046. }
  4047. }
  4048. /// <remarks/>
  4049. [System.ComponentModel.DefaultValueAttribute(1.609344)]
  4050. public double KilometersPerMile {
  4051. get {
  4052. return this.kilometersPerMileField;
  4053. }
  4054. set {
  4055. this.kilometersPerMileField = value;
  4056. }
  4057. }
  4058. /// <remarks/>
  4059. [System.ComponentModel.DefaultValueAttribute(0.0003048)]
  4060. public double KilometersPerFoot {
  4061. get {
  4062. return this.kilometersPerFootField;
  4063. }
  4064. set {
  4065. this.kilometersPerFootField = value;
  4066. }
  4067. }
  4068. /// <remarks/>
  4069. [System.ComponentModel.DefaultValueAttribute(3280.8398950131232)]
  4070. public double FeetPerKilometer {
  4071. get {
  4072. return this.feetPerKilometerField;
  4073. }
  4074. set {
  4075. this.feetPerKilometerField = value;
  4076. }
  4077. }
  4078. /// <remarks/>
  4079. [System.ComponentModel.DefaultValueAttribute(0.85)]
  4080. public double FindScoreThreshold {
  4081. get {
  4082. return this.findScoreThresholdField;
  4083. }
  4084. set {
  4085. this.findScoreThresholdField = value;
  4086. }
  4087. }
  4088. /// <remarks/>
  4089. [System.ComponentModel.DefaultValueAttribute(96)]
  4090. public int AssumedDpi {
  4091. get {
  4092. return this.assumedDpiField;
  4093. }
  4094. set {
  4095. this.assumedDpiField = value;
  4096. }
  4097. }
  4098. /// <remarks/>
  4099. [System.ComponentModel.DefaultValueAttribute(3.280839895013123)]
  4100. public double FeetPerMeter {
  4101. get {
  4102. return this.feetPerMeterField;
  4103. }
  4104. set {
  4105. this.feetPerMeterField = value;
  4106. }
  4107. }
  4108. /// <remarks/>
  4109. [System.ComponentModel.DefaultValueAttribute(0.3048)]
  4110. public double MetersPerFoot {
  4111. get {
  4112. return this.metersPerFootField;
  4113. }
  4114. set {
  4115. this.metersPerFootField = value;
  4116. }
  4117. }
  4118. }
  4119. /// <remarks/>
  4120. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4121. [System.SerializableAttribute()]
  4122. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4123. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4124. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4125. public partial class FindResult {
  4126. private double scoreField;
  4127. private Location foundLocationField;
  4128. /// <remarks/>
  4129. public double Score {
  4130. get {
  4131. return this.scoreField;
  4132. }
  4133. set {
  4134. this.scoreField = value;
  4135. }
  4136. }
  4137. /// <remarks/>
  4138. public Location FoundLocation {
  4139. get {
  4140. return this.foundLocationField;
  4141. }
  4142. set {
  4143. this.foundLocationField = value;
  4144. }
  4145. }
  4146. }
  4147. /// <remarks/>
  4148. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4149. [System.SerializableAttribute()]
  4150. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4151. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4152. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4153. public partial class FindResults {
  4154. private int numberFoundField;
  4155. private int startIndexField;
  4156. private FindResult[] resultsField;
  4157. private double topScoreField;
  4158. /// <remarks/>
  4159. public int NumberFound {
  4160. get {
  4161. return this.numberFoundField;
  4162. }
  4163. set {
  4164. this.numberFoundField = value;
  4165. }
  4166. }
  4167. /// <remarks/>
  4168. public int StartIndex {
  4169. get {
  4170. return this.startIndexField;
  4171. }
  4172. set {
  4173. this.startIndexField = value;
  4174. }
  4175. }
  4176. /// <remarks/>
  4177. public FindResult[] Results {
  4178. get {
  4179. return this.resultsField;
  4180. }
  4181. set {
  4182. this.resultsField = value;
  4183. }
  4184. }
  4185. /// <remarks/>
  4186. public double TopScore {
  4187. get {
  4188. return this.topScoreField;
  4189. }
  4190. set {
  4191. this.topScoreField = value;
  4192. }
  4193. }
  4194. }
  4195. /// <remarks/>
  4196. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4197. [System.SerializableAttribute()]
  4198. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4199. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4200. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4201. public partial class FindSpecification {
  4202. private string dataSourceNameField;
  4203. private string inputPlaceField;
  4204. private string[] entityTypeNamesField;
  4205. private FindOptions optionsField;
  4206. /// <remarks/>
  4207. public string DataSourceName {
  4208. get {
  4209. return this.dataSourceNameField;
  4210. }
  4211. set {
  4212. this.dataSourceNameField = value;
  4213. }
  4214. }
  4215. /// <remarks/>
  4216. public string InputPlace {
  4217. get {
  4218. return this.inputPlaceField;
  4219. }
  4220. set {
  4221. this.inputPlaceField = value;
  4222. }
  4223. }
  4224. /// <remarks/>
  4225. public string[] EntityTypeNames {
  4226. get {
  4227. return this.entityTypeNamesField;
  4228. }
  4229. set {
  4230. this.entityTypeNamesField = value;
  4231. }
  4232. }
  4233. /// <remarks/>
  4234. public FindOptions Options {
  4235. get {
  4236. return this.optionsField;
  4237. }
  4238. set {
  4239. this.optionsField = value;
  4240. }
  4241. }
  4242. }
  4243. /// <remarks/>
  4244. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4245. [System.SerializableAttribute()]
  4246. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4247. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4248. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4249. public partial class DataSource {
  4250. private string nameField;
  4251. private string versionField;
  4252. private string descriptionField;
  4253. private DataSourceCapability capabilityField;
  4254. private int[] entityExtentField;
  4255. /// <remarks/>
  4256. public string Name {
  4257. get {
  4258. return this.nameField;
  4259. }
  4260. set {
  4261. this.nameField = value;
  4262. }
  4263. }
  4264. /// <remarks/>
  4265. public string Version {
  4266. get {
  4267. return this.versionField;
  4268. }
  4269. set {
  4270. this.versionField = value;
  4271. }
  4272. }
  4273. /// <remarks/>
  4274. public string Description {
  4275. get {
  4276. return this.descriptionField;
  4277. }
  4278. set {
  4279. this.descriptionField = value;
  4280. }
  4281. }
  4282. /// <remarks/>
  4283. public DataSourceCapability Capability {
  4284. get {
  4285. return this.capabilityField;
  4286. }
  4287. set {
  4288. this.capabilityField = value;
  4289. }
  4290. }
  4291. /// <remarks/>
  4292. public int[] EntityExtent {
  4293. get {
  4294. return this.entityExtentField;
  4295. }
  4296. set {
  4297. this.entityExtentField = value;
  4298. }
  4299. }
  4300. }
  4301. /// <remarks/>
  4302. [System.FlagsAttribute()]
  4303. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4304. [System.SerializableAttribute()]
  4305. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4306. public enum DataSourceCapability {
  4307. /// <remarks/>
  4308. CanDrawMaps = 1,
  4309. /// <remarks/>
  4310. CanFindPlaces = 2,
  4311. /// <remarks/>
  4312. CanFindNearby = 4,
  4313. /// <remarks/>
  4314. CanRoute = 8,
  4315. /// <remarks/>
  4316. CanFindAddress = 16,
  4317. /// <remarks/>
  4318. HasIcons = 32,
  4319. /// <remarks/>
  4320. DataServiceQuery = 64,
  4321. }
  4322. /// <remarks/>
  4323. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4324. [System.SerializableAttribute()]
  4325. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4326. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4327. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4328. public partial class EntityProperty {
  4329. private string nameField;
  4330. private string displayNameField;
  4331. private string dataTypeField;
  4332. /// <remarks/>
  4333. public string Name {
  4334. get {
  4335. return this.nameField;
  4336. }
  4337. set {
  4338. this.nameField = value;
  4339. }
  4340. }
  4341. /// <remarks/>
  4342. public string DisplayName {
  4343. get {
  4344. return this.displayNameField;
  4345. }
  4346. set {
  4347. this.displayNameField = value;
  4348. }
  4349. }
  4350. /// <remarks/>
  4351. public string DataType {
  4352. get {
  4353. return this.dataTypeField;
  4354. }
  4355. set {
  4356. this.dataTypeField = value;
  4357. }
  4358. }
  4359. }
  4360. /// <remarks/>
  4361. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4362. [System.SerializableAttribute()]
  4363. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4364. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4365. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4366. public partial class EntityType {
  4367. private string nameField;
  4368. private string displayNameField;
  4369. private string parentNameField;
  4370. private string definitionField;
  4371. private EntityProperty[] propertiesField;
  4372. /// <remarks/>
  4373. public string Name {
  4374. get {
  4375. return this.nameField;
  4376. }
  4377. set {
  4378. this.nameField = value;
  4379. }
  4380. }
  4381. /// <remarks/>
  4382. public string DisplayName {
  4383. get {
  4384. return this.displayNameField;
  4385. }
  4386. set {
  4387. this.displayNameField = value;
  4388. }
  4389. }
  4390. /// <remarks/>
  4391. public string ParentName {
  4392. get {
  4393. return this.parentNameField;
  4394. }
  4395. set {
  4396. this.parentNameField = value;
  4397. }
  4398. }
  4399. /// <remarks/>
  4400. public string Definition {
  4401. get {
  4402. return this.definitionField;
  4403. }
  4404. set {
  4405. this.definitionField = value;
  4406. }
  4407. }
  4408. /// <remarks/>
  4409. [System.Xml.Serialization.XmlArrayItemAttribute("Property")]
  4410. public EntityProperty[] Properties {
  4411. get {
  4412. return this.propertiesField;
  4413. }
  4414. set {
  4415. this.propertiesField = value;
  4416. }
  4417. }
  4418. }
  4419. /// <remarks/>
  4420. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4421. [System.SerializableAttribute()]
  4422. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4423. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4424. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4425. public partial class CountryRegionInfo {
  4426. private int entityIDField;
  4427. private LatLong latLongField;
  4428. private string iso2Field;
  4429. private string iso3Field;
  4430. private string friendlyNameField;
  4431. private string officialNameField;
  4432. /// <remarks/>
  4433. public int EntityID {
  4434. get {
  4435. return this.entityIDField;
  4436. }
  4437. set {
  4438. this.entityIDField = value;
  4439. }
  4440. }
  4441. /// <remarks/>
  4442. public LatLong LatLong {
  4443. get {
  4444. return this.latLongField;
  4445. }
  4446. set {
  4447. this.latLongField = value;
  4448. }
  4449. }
  4450. /// <remarks/>
  4451. public string Iso2 {
  4452. get {
  4453. return this.iso2Field;
  4454. }
  4455. set {
  4456. this.iso2Field = value;
  4457. }
  4458. }
  4459. /// <remarks/>
  4460. public string Iso3 {
  4461. get {
  4462. return this.iso3Field;
  4463. }
  4464. set {
  4465. this.iso3Field = value;
  4466. }
  4467. }
  4468. /// <remarks/>
  4469. public string FriendlyName {
  4470. get {
  4471. return this.friendlyNameField;
  4472. }
  4473. set {
  4474. this.friendlyNameField = value;
  4475. }
  4476. }
  4477. /// <remarks/>
  4478. public string OfficialName {
  4479. get {
  4480. return this.officialNameField;
  4481. }
  4482. set {
  4483. this.officialNameField = value;
  4484. }
  4485. }
  4486. }
  4487. /// <remarks/>
  4488. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4489. [System.SerializableAttribute()]
  4490. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4491. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4492. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4493. public partial class VersionInfo {
  4494. private string componentField;
  4495. private string versionField;
  4496. /// <remarks/>
  4497. public string Component {
  4498. get {
  4499. return this.componentField;
  4500. }
  4501. set {
  4502. this.componentField = value;
  4503. }
  4504. }
  4505. /// <remarks/>
  4506. public string Version {
  4507. get {
  4508. return this.versionField;
  4509. }
  4510. set {
  4511. this.versionField = value;
  4512. }
  4513. }
  4514. }
  4515. /// <remarks/>
  4516. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4517. [System.SerializableAttribute()]
  4518. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4519. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4520. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4521. public partial class CountryRegionContext {
  4522. private int entityIDField;
  4523. private string iso2Field;
  4524. public CountryRegionContext() {
  4525. this.entityIDField = 0;
  4526. }
  4527. /// <remarks/>
  4528. [System.ComponentModel.DefaultValueAttribute(0)]
  4529. public int EntityID {
  4530. get {
  4531. return this.entityIDField;
  4532. }
  4533. set {
  4534. this.entityIDField = value;
  4535. }
  4536. }
  4537. /// <remarks/>
  4538. public string Iso2 {
  4539. get {
  4540. return this.iso2Field;
  4541. }
  4542. set {
  4543. this.iso2Field = value;
  4544. }
  4545. }
  4546. }
  4547. /// <remarks/>
  4548. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4549. [System.SerializableAttribute()]
  4550. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4551. public enum DistanceUnit {
  4552. /// <remarks/>
  4553. Kilometer,
  4554. /// <remarks/>
  4555. Mile,
  4556. }
  4557. /// <remarks/>
  4558. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4559. [System.SerializableAttribute()]
  4560. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4561. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4562. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4563. [System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
  4564. public partial class UserInfoRenderHeader : UserInfoHeader {
  4565. }
  4566. /// <remarks/>
  4567. [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerInfoRenderHeader))]
  4568. [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerInfoRouteHeader))]
  4569. [System.Xml.Serialization.XmlIncludeAttribute(typeof(CustomerInfoFindHeader))]
  4570. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4571. [System.SerializableAttribute()]
  4572. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4573. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4574. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4575. [System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
  4576. public partial class CustomerInfoHeader : System.Web.Services.Protocols.SoapHeader {
  4577. private short customLogEntryField;
  4578. /// <remarks/>
  4579. public short CustomLogEntry {
  4580. get {
  4581. return this.customLogEntryField;
  4582. }
  4583. set {
  4584. this.customLogEntryField = value;
  4585. }
  4586. }
  4587. }
  4588. /// <remarks/>
  4589. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4590. [System.SerializableAttribute()]
  4591. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4592. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4593. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4594. [System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
  4595. public partial class CustomerInfoRouteHeader : CustomerInfoHeader {
  4596. }
  4597. /// <remarks/>
  4598. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4599. [System.SerializableAttribute()]
  4600. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4601. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4602. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4603. [System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
  4604. public partial class UserInfoFindHeader : UserInfoHeader {
  4605. }
  4606. /// <remarks/>
  4607. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4608. [System.SerializableAttribute()]
  4609. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4610. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4611. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4612. [System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
  4613. public partial class CustomerInfoRenderHeader : CustomerInfoHeader {
  4614. }
  4615. /// <remarks/>
  4616. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
  4617. [System.SerializableAttribute()]
  4618. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4619. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4620. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://s.mappoint.net/mappoint-30/")]
  4621. [System.Xml.Serialization.XmlRootAttribute(Namespace="http://s.mappoint.net/mappoint-30/", IsNullable=false)]
  4622. public partial class CustomerInfoFindHeader : CustomerInfoHeader {
  4623. }
  4624. /// <remarks/>
  4625. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4626. public delegate void GetVersionInfoCompletedEventHandler(object sender, GetVersionInfoCompletedEventArgs e);
  4627. /// <remarks/>
  4628. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4629. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4630. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4631. public partial class GetVersionInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4632. private object[] results;
  4633. internal GetVersionInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4634. base(exception, cancelled, userState) {
  4635. this.results = results;
  4636. }
  4637. /// <remarks/>
  4638. public VersionInfo[] Result {
  4639. get {
  4640. this.RaiseExceptionIfNecessary();
  4641. return ((VersionInfo[])(this.results[0]));
  4642. }
  4643. }
  4644. }
  4645. /// <remarks/>
  4646. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4647. public delegate void GetCountryRegionInfoCompletedEventHandler(object sender, GetCountryRegionInfoCompletedEventArgs e);
  4648. /// <remarks/>
  4649. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4650. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4651. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4652. public partial class GetCountryRegionInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4653. private object[] results;
  4654. internal GetCountryRegionInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4655. base(exception, cancelled, userState) {
  4656. this.results = results;
  4657. }
  4658. /// <remarks/>
  4659. public CountryRegionInfo[] Result {
  4660. get {
  4661. this.RaiseExceptionIfNecessary();
  4662. return ((CountryRegionInfo[])(this.results[0]));
  4663. }
  4664. }
  4665. }
  4666. /// <remarks/>
  4667. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4668. public delegate void GetEntityTypesCompletedEventHandler(object sender, GetEntityTypesCompletedEventArgs e);
  4669. /// <remarks/>
  4670. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4671. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4672. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4673. public partial class GetEntityTypesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4674. private object[] results;
  4675. internal GetEntityTypesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4676. base(exception, cancelled, userState) {
  4677. this.results = results;
  4678. }
  4679. /// <remarks/>
  4680. public EntityType[] Result {
  4681. get {
  4682. this.RaiseExceptionIfNecessary();
  4683. return ((EntityType[])(this.results[0]));
  4684. }
  4685. }
  4686. }
  4687. /// <remarks/>
  4688. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4689. public delegate void GetDataSourceInfoCompletedEventHandler(object sender, GetDataSourceInfoCompletedEventArgs e);
  4690. /// <remarks/>
  4691. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4692. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4693. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4694. public partial class GetDataSourceInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4695. private object[] results;
  4696. internal GetDataSourceInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4697. base(exception, cancelled, userState) {
  4698. this.results = results;
  4699. }
  4700. /// <remarks/>
  4701. public DataSource[] Result {
  4702. get {
  4703. this.RaiseExceptionIfNecessary();
  4704. return ((DataSource[])(this.results[0]));
  4705. }
  4706. }
  4707. }
  4708. /// <remarks/>
  4709. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4710. public delegate void GetGreatCircleDistancesCompletedEventHandler(object sender, GetGreatCircleDistancesCompletedEventArgs e);
  4711. /// <remarks/>
  4712. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4713. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4714. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4715. public partial class GetGreatCircleDistancesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4716. private object[] results;
  4717. internal GetGreatCircleDistancesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4718. base(exception, cancelled, userState) {
  4719. this.results = results;
  4720. }
  4721. /// <remarks/>
  4722. public double[] Result {
  4723. get {
  4724. this.RaiseExceptionIfNecessary();
  4725. return ((double[])(this.results[0]));
  4726. }
  4727. }
  4728. }
  4729. /// <remarks/>
  4730. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4731. public delegate void FindCompletedEventHandler(object sender, FindCompletedEventArgs e);
  4732. /// <remarks/>
  4733. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4734. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4735. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4736. public partial class FindCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4737. private object[] results;
  4738. internal FindCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4739. base(exception, cancelled, userState) {
  4740. this.results = results;
  4741. }
  4742. /// <remarks/>
  4743. public FindResults Result {
  4744. get {
  4745. this.RaiseExceptionIfNecessary();
  4746. return ((FindResults)(this.results[0]));
  4747. }
  4748. }
  4749. }
  4750. /// <remarks/>
  4751. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4752. public delegate void FindAddressCompletedEventHandler(object sender, FindAddressCompletedEventArgs e);
  4753. /// <remarks/>
  4754. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4755. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4756. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4757. public partial class FindAddressCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4758. private object[] results;
  4759. internal FindAddressCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4760. base(exception, cancelled, userState) {
  4761. this.results = results;
  4762. }
  4763. /// <remarks/>
  4764. public FindResults Result {
  4765. get {
  4766. this.RaiseExceptionIfNecessary();
  4767. return ((FindResults)(this.results[0]));
  4768. }
  4769. }
  4770. }
  4771. /// <remarks/>
  4772. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4773. public delegate void ParseAddressCompletedEventHandler(object sender, ParseAddressCompletedEventArgs e);
  4774. /// <remarks/>
  4775. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4776. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4777. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4778. public partial class ParseAddressCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4779. private object[] results;
  4780. internal ParseAddressCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4781. base(exception, cancelled, userState) {
  4782. this.results = results;
  4783. }
  4784. /// <remarks/>
  4785. public Address Result {
  4786. get {
  4787. this.RaiseExceptionIfNecessary();
  4788. return ((Address)(this.results[0]));
  4789. }
  4790. }
  4791. }
  4792. /// <remarks/>
  4793. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4794. public delegate void GetLocationInfoCompletedEventHandler(object sender, GetLocationInfoCompletedEventArgs e);
  4795. /// <remarks/>
  4796. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4797. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4798. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4799. public partial class GetLocationInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4800. private object[] results;
  4801. internal GetLocationInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4802. base(exception, cancelled, userState) {
  4803. this.results = results;
  4804. }
  4805. /// <remarks/>
  4806. public Location[] Result {
  4807. get {
  4808. this.RaiseExceptionIfNecessary();
  4809. return ((Location[])(this.results[0]));
  4810. }
  4811. }
  4812. }
  4813. /// <remarks/>
  4814. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4815. public delegate void FindNearbyCompletedEventHandler(object sender, FindNearbyCompletedEventArgs e);
  4816. /// <remarks/>
  4817. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4818. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4819. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4820. public partial class FindNearbyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4821. private object[] results;
  4822. internal FindNearbyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4823. base(exception, cancelled, userState) {
  4824. this.results = results;
  4825. }
  4826. /// <remarks/>
  4827. public FindResults Result {
  4828. get {
  4829. this.RaiseExceptionIfNecessary();
  4830. return ((FindResults)(this.results[0]));
  4831. }
  4832. }
  4833. }
  4834. /// <remarks/>
  4835. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4836. public delegate void FindByPropertyCompletedEventHandler(object sender, FindByPropertyCompletedEventArgs e);
  4837. /// <remarks/>
  4838. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4839. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4840. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4841. public partial class FindByPropertyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4842. private object[] results;
  4843. internal FindByPropertyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4844. base(exception, cancelled, userState) {
  4845. this.results = results;
  4846. }
  4847. /// <remarks/>
  4848. public FindResults Result {
  4849. get {
  4850. this.RaiseExceptionIfNecessary();
  4851. return ((FindResults)(this.results[0]));
  4852. }
  4853. }
  4854. }
  4855. /// <remarks/>
  4856. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4857. public delegate void FindByIDCompletedEventHandler(object sender, FindByIDCompletedEventArgs e);
  4858. /// <remarks/>
  4859. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4860. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4861. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4862. public partial class FindByIDCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4863. private object[] results;
  4864. internal FindByIDCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4865. base(exception, cancelled, userState) {
  4866. this.results = results;
  4867. }
  4868. /// <remarks/>
  4869. public FindResults Result {
  4870. get {
  4871. this.RaiseExceptionIfNecessary();
  4872. return ((FindResults)(this.results[0]));
  4873. }
  4874. }
  4875. }
  4876. /// <remarks/>
  4877. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4878. public delegate void FindNearRouteCompletedEventHandler(object sender, FindNearRouteCompletedEventArgs e);
  4879. /// <remarks/>
  4880. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4881. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4882. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4883. public partial class FindNearRouteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4884. private object[] results;
  4885. internal FindNearRouteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4886. base(exception, cancelled, userState) {
  4887. this.results = results;
  4888. }
  4889. /// <remarks/>
  4890. public FindResults Result {
  4891. get {
  4892. this.RaiseExceptionIfNecessary();
  4893. return ((FindResults)(this.results[0]));
  4894. }
  4895. }
  4896. }
  4897. /// <remarks/>
  4898. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4899. public delegate void FindPolygonCompletedEventHandler(object sender, FindPolygonCompletedEventArgs e);
  4900. /// <remarks/>
  4901. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4902. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4903. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4904. public partial class FindPolygonCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4905. private object[] results;
  4906. internal FindPolygonCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4907. base(exception, cancelled, userState) {
  4908. this.results = results;
  4909. }
  4910. /// <remarks/>
  4911. public FindResults Result {
  4912. get {
  4913. this.RaiseExceptionIfNecessary();
  4914. return ((FindResults)(this.results[0]));
  4915. }
  4916. }
  4917. }
  4918. /// <remarks/>
  4919. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4920. public delegate void CalculateSimpleRouteCompletedEventHandler(object sender, CalculateSimpleRouteCompletedEventArgs e);
  4921. /// <remarks/>
  4922. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4923. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4924. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4925. public partial class CalculateSimpleRouteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4926. private object[] results;
  4927. internal CalculateSimpleRouteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4928. base(exception, cancelled, userState) {
  4929. this.results = results;
  4930. }
  4931. /// <remarks/>
  4932. public Route Result {
  4933. get {
  4934. this.RaiseExceptionIfNecessary();
  4935. return ((Route)(this.results[0]));
  4936. }
  4937. }
  4938. }
  4939. /// <remarks/>
  4940. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4941. public delegate void CalculateRouteCompletedEventHandler(object sender, CalculateRouteCompletedEventArgs e);
  4942. /// <remarks/>
  4943. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4944. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4945. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4946. public partial class CalculateRouteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4947. private object[] results;
  4948. internal CalculateRouteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4949. base(exception, cancelled, userState) {
  4950. this.results = results;
  4951. }
  4952. /// <remarks/>
  4953. public Route Result {
  4954. get {
  4955. this.RaiseExceptionIfNecessary();
  4956. return ((Route)(this.results[0]));
  4957. }
  4958. }
  4959. }
  4960. /// <remarks/>
  4961. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4962. public delegate void GetMapCompletedEventHandler(object sender, GetMapCompletedEventArgs e);
  4963. /// <remarks/>
  4964. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4965. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4966. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4967. public partial class GetMapCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4968. private object[] results;
  4969. internal GetMapCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4970. base(exception, cancelled, userState) {
  4971. this.results = results;
  4972. }
  4973. /// <remarks/>
  4974. public MapImage[] Result {
  4975. get {
  4976. this.RaiseExceptionIfNecessary();
  4977. return ((MapImage[])(this.results[0]));
  4978. }
  4979. }
  4980. }
  4981. /// <remarks/>
  4982. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4983. public delegate void ConvertToPointCompletedEventHandler(object sender, ConvertToPointCompletedEventArgs e);
  4984. /// <remarks/>
  4985. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  4986. [System.Diagnostics.DebuggerStepThroughAttribute()]
  4987. [System.ComponentModel.DesignerCategoryAttribute("code")]
  4988. public partial class ConvertToPointCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  4989. private object[] results;
  4990. internal ConvertToPointCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  4991. base(exception, cancelled, userState) {
  4992. this.results = results;
  4993. }
  4994. /// <remarks/>
  4995. public PixelCoord[] Result {
  4996. get {
  4997. this.RaiseExceptionIfNecessary();
  4998. return ((PixelCoord[])(this.results[0]));
  4999. }
  5000. }
  5001. }
  5002. /// <remarks/>
  5003. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  5004. public delegate void ConvertToLatLongCompletedEventHandler(object sender, ConvertToLatLongCompletedEventArgs e);
  5005. /// <remarks/>
  5006. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  5007. [System.Diagnostics.DebuggerStepThroughAttribute()]
  5008. [System.ComponentModel.DesignerCategoryAttribute("code")]
  5009. public partial class ConvertToLatLongCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  5010. private object[] results;
  5011. internal ConvertToLatLongCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  5012. base(exception, cancelled, userState) {
  5013. this.results = results;
  5014. }
  5015. /// <remarks/>
  5016. public LatLong[] Result {
  5017. get {
  5018. this.RaiseExceptionIfNecessary();
  5019. return ((LatLong[])(this.results[0]));
  5020. }
  5021. }
  5022. }
  5023. /// <remarks/>
  5024. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  5025. public delegate void GetBestMapViewCompletedEventHandler(object sender, GetBestMapViewCompletedEventArgs e);
  5026. /// <remarks/>
  5027. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  5028. [System.Diagnostics.DebuggerStepThroughAttribute()]
  5029. [System.ComponentModel.DesignerCategoryAttribute("code")]
  5030. public partial class GetBestMapViewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  5031. private object[] results;
  5032. internal GetBestMapViewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  5033. base(exception, cancelled, userState) {
  5034. this.results = results;
  5035. }
  5036. /// <remarks/>
  5037. public MapViewRepresentations Result {
  5038. get {
  5039. this.RaiseExceptionIfNecessary();
  5040. return ((MapViewRepresentations)(this.results[0]));
  5041. }
  5042. }
  5043. }
  5044. /// <remarks/>
  5045. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  5046. public delegate void GetLineDriveMapCompletedEventHandler(object sender, GetLineDriveMapCompletedEventArgs e);
  5047. /// <remarks/>
  5048. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
  5049. [System.Diagnostics.DebuggerStepThroughAttribute()]
  5050. [System.ComponentModel.DesignerCategoryAttribute("code")]
  5051. public partial class GetLineDriveMapCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  5052. private object[] results;
  5053. internal GetLineDriveMapCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  5054. base(exception, cancelled, userState) {
  5055. this.results = results;
  5056. }
  5057. /// <remarks/>
  5058. public LineDriveMapImage[] Result {
  5059. get {
  5060. this.RaiseExceptionIfNecessary();
  5061. return ((LineDriveMapImage[])(this.results[0]));
  5062. }
  5063. }
  5064. }
  5065. }
  5066. #pragma warning restore 1591