Reference.cs 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Ce code a été généré par un outil.
  4. // Version du runtime :4.0.30319.42000
  5. //
  6. // Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
  7. // le code est régénéré.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. //
  11. // Ce code source a été automatiquement généré par Microsoft.VSDesigner, Version 4.0.30319.42000.
  12. //
  13. #pragma warning disable 1591
  14. namespace CD67.FicheCollege.Entity.WsTiers {
  15. using System;
  16. using System.Web.Services;
  17. using System.Diagnostics;
  18. using System.Web.Services.Protocols;
  19. using System.Xml.Serialization;
  20. using System.ComponentModel;
  21. /// <remarks/>
  22. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  23. [System.Diagnostics.DebuggerStepThroughAttribute()]
  24. [System.ComponentModel.DesignerCategoryAttribute("code")]
  25. [System.Web.Services.WebServiceBindingAttribute(Name="WsTiersSoap", Namespace="http://tempuri.org/")]
  26. public partial class WsTiers : System.Web.Services.Protocols.SoapHttpClientProtocol {
  27. private System.Threading.SendOrPostCallback GetByIdOperationCompleted;
  28. private System.Threading.SendOrPostCallback GetByIdsOperationCompleted;
  29. private System.Threading.SendOrPostCallback GetByOperationCompleted;
  30. private System.Threading.SendOrPostCallback GetAllOperationCompleted;
  31. private System.Threading.SendOrPostCallback GetAllSortedOperationCompleted;
  32. private System.Threading.SendOrPostCallback GetManyByOperationCompleted;
  33. private System.Threading.SendOrPostCallback GetManyBySortedOperationCompleted;
  34. private bool useDefaultCredentialsSetExplicitly;
  35. /// <remarks/>
  36. public WsTiers() {
  37. this.Url = global::CD67.FicheCollege.Entity.Properties.Settings.Default.CD67_FicheCollege_Entity_WsTiers_WsTiers;
  38. if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
  39. this.UseDefaultCredentials = true;
  40. this.useDefaultCredentialsSetExplicitly = false;
  41. }
  42. else {
  43. this.useDefaultCredentialsSetExplicitly = true;
  44. }
  45. }
  46. public new string Url {
  47. get {
  48. return base.Url;
  49. }
  50. set {
  51. if ((((this.IsLocalFileSystemWebService(base.Url) == true)
  52. && (this.useDefaultCredentialsSetExplicitly == false))
  53. && (this.IsLocalFileSystemWebService(value) == false))) {
  54. base.UseDefaultCredentials = false;
  55. }
  56. base.Url = value;
  57. }
  58. }
  59. public new bool UseDefaultCredentials {
  60. get {
  61. return base.UseDefaultCredentials;
  62. }
  63. set {
  64. base.UseDefaultCredentials = value;
  65. this.useDefaultCredentialsSetExplicitly = true;
  66. }
  67. }
  68. /// <remarks/>
  69. public event GetByIdCompletedEventHandler GetByIdCompleted;
  70. /// <remarks/>
  71. public event GetByIdsCompletedEventHandler GetByIdsCompleted;
  72. /// <remarks/>
  73. public event GetByCompletedEventHandler GetByCompleted;
  74. /// <remarks/>
  75. public event GetAllCompletedEventHandler GetAllCompleted;
  76. /// <remarks/>
  77. public event GetAllSortedCompletedEventHandler GetAllSortedCompleted;
  78. /// <remarks/>
  79. public event GetManyByCompletedEventHandler GetManyByCompleted;
  80. /// <remarks/>
  81. public event GetManyBySortedCompletedEventHandler GetManyBySortedCompleted;
  82. /// <remarks/>
  83. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetById", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  84. public Tiers GetById(string Key) {
  85. object[] results = this.Invoke("GetById", new object[] {
  86. Key});
  87. return ((Tiers)(results[0]));
  88. }
  89. /// <remarks/>
  90. public void GetByIdAsync(string Key) {
  91. this.GetByIdAsync(Key, null);
  92. }
  93. /// <remarks/>
  94. public void GetByIdAsync(string Key, object userState) {
  95. if ((this.GetByIdOperationCompleted == null)) {
  96. this.GetByIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetByIdOperationCompleted);
  97. }
  98. this.InvokeAsync("GetById", new object[] {
  99. Key}, this.GetByIdOperationCompleted, userState);
  100. }
  101. private void OnGetByIdOperationCompleted(object arg) {
  102. if ((this.GetByIdCompleted != null)) {
  103. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  104. this.GetByIdCompleted(this, new GetByIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  105. }
  106. }
  107. /// <remarks/>
  108. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetByIds", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  109. public Tiers[] GetByIds(string[] Keys) {
  110. object[] results = this.Invoke("GetByIds", new object[] {
  111. Keys});
  112. return ((Tiers[])(results[0]));
  113. }
  114. /// <remarks/>
  115. public void GetByIdsAsync(string[] Keys) {
  116. this.GetByIdsAsync(Keys, null);
  117. }
  118. /// <remarks/>
  119. public void GetByIdsAsync(string[] Keys, object userState) {
  120. if ((this.GetByIdsOperationCompleted == null)) {
  121. this.GetByIdsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetByIdsOperationCompleted);
  122. }
  123. this.InvokeAsync("GetByIds", new object[] {
  124. Keys}, this.GetByIdsOperationCompleted, userState);
  125. }
  126. private void OnGetByIdsOperationCompleted(object arg) {
  127. if ((this.GetByIdsCompleted != null)) {
  128. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  129. this.GetByIdsCompleted(this, new GetByIdsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  130. }
  131. }
  132. /// <remarks/>
  133. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetBy", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  134. public Tiers GetBy(string FilterExpression) {
  135. object[] results = this.Invoke("GetBy", new object[] {
  136. FilterExpression});
  137. return ((Tiers)(results[0]));
  138. }
  139. /// <remarks/>
  140. public void GetByAsync(string FilterExpression) {
  141. this.GetByAsync(FilterExpression, null);
  142. }
  143. /// <remarks/>
  144. public void GetByAsync(string FilterExpression, object userState) {
  145. if ((this.GetByOperationCompleted == null)) {
  146. this.GetByOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetByOperationCompleted);
  147. }
  148. this.InvokeAsync("GetBy", new object[] {
  149. FilterExpression}, this.GetByOperationCompleted, userState);
  150. }
  151. private void OnGetByOperationCompleted(object arg) {
  152. if ((this.GetByCompleted != null)) {
  153. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  154. this.GetByCompleted(this, new GetByCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  155. }
  156. }
  157. /// <remarks/>
  158. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetAll", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  159. public Tiers[] GetAll() {
  160. object[] results = this.Invoke("GetAll", new object[0]);
  161. return ((Tiers[])(results[0]));
  162. }
  163. /// <remarks/>
  164. public void GetAllAsync() {
  165. this.GetAllAsync(null);
  166. }
  167. /// <remarks/>
  168. public void GetAllAsync(object userState) {
  169. if ((this.GetAllOperationCompleted == null)) {
  170. this.GetAllOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllOperationCompleted);
  171. }
  172. this.InvokeAsync("GetAll", new object[0], this.GetAllOperationCompleted, userState);
  173. }
  174. private void OnGetAllOperationCompleted(object arg) {
  175. if ((this.GetAllCompleted != null)) {
  176. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  177. this.GetAllCompleted(this, new GetAllCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  178. }
  179. }
  180. /// <remarks/>
  181. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetAllSorted", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  182. public Tiers[] GetAllSorted(string SortField, bool SortAscendant) {
  183. object[] results = this.Invoke("GetAllSorted", new object[] {
  184. SortField,
  185. SortAscendant});
  186. return ((Tiers[])(results[0]));
  187. }
  188. /// <remarks/>
  189. public void GetAllSortedAsync(string SortField, bool SortAscendant) {
  190. this.GetAllSortedAsync(SortField, SortAscendant, null);
  191. }
  192. /// <remarks/>
  193. public void GetAllSortedAsync(string SortField, bool SortAscendant, object userState) {
  194. if ((this.GetAllSortedOperationCompleted == null)) {
  195. this.GetAllSortedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllSortedOperationCompleted);
  196. }
  197. this.InvokeAsync("GetAllSorted", new object[] {
  198. SortField,
  199. SortAscendant}, this.GetAllSortedOperationCompleted, userState);
  200. }
  201. private void OnGetAllSortedOperationCompleted(object arg) {
  202. if ((this.GetAllSortedCompleted != null)) {
  203. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  204. this.GetAllSortedCompleted(this, new GetAllSortedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  205. }
  206. }
  207. /// <remarks/>
  208. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetManyBy", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  209. public Tiers[] GetManyBy(string FilterExpression) {
  210. object[] results = this.Invoke("GetManyBy", new object[] {
  211. FilterExpression});
  212. return ((Tiers[])(results[0]));
  213. }
  214. /// <remarks/>
  215. public void GetManyByAsync(string FilterExpression) {
  216. this.GetManyByAsync(FilterExpression, null);
  217. }
  218. /// <remarks/>
  219. public void GetManyByAsync(string FilterExpression, object userState) {
  220. if ((this.GetManyByOperationCompleted == null)) {
  221. this.GetManyByOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetManyByOperationCompleted);
  222. }
  223. this.InvokeAsync("GetManyBy", new object[] {
  224. FilterExpression}, this.GetManyByOperationCompleted, userState);
  225. }
  226. private void OnGetManyByOperationCompleted(object arg) {
  227. if ((this.GetManyByCompleted != null)) {
  228. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  229. this.GetManyByCompleted(this, new GetManyByCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  230. }
  231. }
  232. /// <remarks/>
  233. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetManyBySorted", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  234. public Tiers[] GetManyBySorted(string FilterExpression, string SortField, bool SortAscendant) {
  235. object[] results = this.Invoke("GetManyBySorted", new object[] {
  236. FilterExpression,
  237. SortField,
  238. SortAscendant});
  239. return ((Tiers[])(results[0]));
  240. }
  241. /// <remarks/>
  242. public void GetManyBySortedAsync(string FilterExpression, string SortField, bool SortAscendant) {
  243. this.GetManyBySortedAsync(FilterExpression, SortField, SortAscendant, null);
  244. }
  245. /// <remarks/>
  246. public void GetManyBySortedAsync(string FilterExpression, string SortField, bool SortAscendant, object userState) {
  247. if ((this.GetManyBySortedOperationCompleted == null)) {
  248. this.GetManyBySortedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetManyBySortedOperationCompleted);
  249. }
  250. this.InvokeAsync("GetManyBySorted", new object[] {
  251. FilterExpression,
  252. SortField,
  253. SortAscendant}, this.GetManyBySortedOperationCompleted, userState);
  254. }
  255. private void OnGetManyBySortedOperationCompleted(object arg) {
  256. if ((this.GetManyBySortedCompleted != null)) {
  257. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  258. this.GetManyBySortedCompleted(this, new GetManyBySortedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  259. }
  260. }
  261. /// <remarks/>
  262. public new void CancelAsync(object userState) {
  263. base.CancelAsync(userState);
  264. }
  265. private bool IsLocalFileSystemWebService(string url) {
  266. if (((url == null)
  267. || (url == string.Empty))) {
  268. return false;
  269. }
  270. System.Uri wsUri = new System.Uri(url);
  271. if (((wsUri.Port >= 1024)
  272. && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
  273. return true;
  274. }
  275. return false;
  276. }
  277. }
  278. /// <remarks/>
  279. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.1590.0")]
  280. [System.SerializableAttribute()]
  281. [System.Diagnostics.DebuggerStepThroughAttribute()]
  282. [System.ComponentModel.DesignerCategoryAttribute("code")]
  283. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
  284. public partial class Tiers {
  285. private int idField;
  286. private string codeTiersField;
  287. private string codeOrganisationField;
  288. private string codeFamilleField;
  289. private string familleField;
  290. private string codeNatureJuridiqueField;
  291. private string natureJuridiqueField;
  292. private string codeCategorieField;
  293. private string sigleField;
  294. private string nomField;
  295. private string raisonSociale1Field;
  296. private string raisonSociale2Field;
  297. /// <remarks/>
  298. public int Id {
  299. get {
  300. return this.idField;
  301. }
  302. set {
  303. this.idField = value;
  304. }
  305. }
  306. /// <remarks/>
  307. public string CodeTiers {
  308. get {
  309. return this.codeTiersField;
  310. }
  311. set {
  312. this.codeTiersField = value;
  313. }
  314. }
  315. /// <remarks/>
  316. public string CodeOrganisation {
  317. get {
  318. return this.codeOrganisationField;
  319. }
  320. set {
  321. this.codeOrganisationField = value;
  322. }
  323. }
  324. /// <remarks/>
  325. public string CodeFamille {
  326. get {
  327. return this.codeFamilleField;
  328. }
  329. set {
  330. this.codeFamilleField = value;
  331. }
  332. }
  333. /// <remarks/>
  334. public string Famille {
  335. get {
  336. return this.familleField;
  337. }
  338. set {
  339. this.familleField = value;
  340. }
  341. }
  342. /// <remarks/>
  343. public string CodeNatureJuridique {
  344. get {
  345. return this.codeNatureJuridiqueField;
  346. }
  347. set {
  348. this.codeNatureJuridiqueField = value;
  349. }
  350. }
  351. /// <remarks/>
  352. public string NatureJuridique {
  353. get {
  354. return this.natureJuridiqueField;
  355. }
  356. set {
  357. this.natureJuridiqueField = value;
  358. }
  359. }
  360. /// <remarks/>
  361. public string CodeCategorie {
  362. get {
  363. return this.codeCategorieField;
  364. }
  365. set {
  366. this.codeCategorieField = value;
  367. }
  368. }
  369. /// <remarks/>
  370. public string Sigle {
  371. get {
  372. return this.sigleField;
  373. }
  374. set {
  375. this.sigleField = value;
  376. }
  377. }
  378. /// <remarks/>
  379. public string Nom {
  380. get {
  381. return this.nomField;
  382. }
  383. set {
  384. this.nomField = value;
  385. }
  386. }
  387. /// <remarks/>
  388. public string RaisonSociale1 {
  389. get {
  390. return this.raisonSociale1Field;
  391. }
  392. set {
  393. this.raisonSociale1Field = value;
  394. }
  395. }
  396. /// <remarks/>
  397. public string RaisonSociale2 {
  398. get {
  399. return this.raisonSociale2Field;
  400. }
  401. set {
  402. this.raisonSociale2Field = value;
  403. }
  404. }
  405. }
  406. /// <remarks/>
  407. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  408. public delegate void GetByIdCompletedEventHandler(object sender, GetByIdCompletedEventArgs e);
  409. /// <remarks/>
  410. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  411. [System.Diagnostics.DebuggerStepThroughAttribute()]
  412. [System.ComponentModel.DesignerCategoryAttribute("code")]
  413. public partial class GetByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  414. private object[] results;
  415. internal GetByIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  416. base(exception, cancelled, userState) {
  417. this.results = results;
  418. }
  419. /// <remarks/>
  420. public Tiers Result {
  421. get {
  422. this.RaiseExceptionIfNecessary();
  423. return ((Tiers)(this.results[0]));
  424. }
  425. }
  426. }
  427. /// <remarks/>
  428. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  429. public delegate void GetByIdsCompletedEventHandler(object sender, GetByIdsCompletedEventArgs e);
  430. /// <remarks/>
  431. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  432. [System.Diagnostics.DebuggerStepThroughAttribute()]
  433. [System.ComponentModel.DesignerCategoryAttribute("code")]
  434. public partial class GetByIdsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  435. private object[] results;
  436. internal GetByIdsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  437. base(exception, cancelled, userState) {
  438. this.results = results;
  439. }
  440. /// <remarks/>
  441. public Tiers[] Result {
  442. get {
  443. this.RaiseExceptionIfNecessary();
  444. return ((Tiers[])(this.results[0]));
  445. }
  446. }
  447. }
  448. /// <remarks/>
  449. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  450. public delegate void GetByCompletedEventHandler(object sender, GetByCompletedEventArgs e);
  451. /// <remarks/>
  452. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  453. [System.Diagnostics.DebuggerStepThroughAttribute()]
  454. [System.ComponentModel.DesignerCategoryAttribute("code")]
  455. public partial class GetByCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  456. private object[] results;
  457. internal GetByCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  458. base(exception, cancelled, userState) {
  459. this.results = results;
  460. }
  461. /// <remarks/>
  462. public Tiers Result {
  463. get {
  464. this.RaiseExceptionIfNecessary();
  465. return ((Tiers)(this.results[0]));
  466. }
  467. }
  468. }
  469. /// <remarks/>
  470. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  471. public delegate void GetAllCompletedEventHandler(object sender, GetAllCompletedEventArgs e);
  472. /// <remarks/>
  473. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  474. [System.Diagnostics.DebuggerStepThroughAttribute()]
  475. [System.ComponentModel.DesignerCategoryAttribute("code")]
  476. public partial class GetAllCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  477. private object[] results;
  478. internal GetAllCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  479. base(exception, cancelled, userState) {
  480. this.results = results;
  481. }
  482. /// <remarks/>
  483. public Tiers[] Result {
  484. get {
  485. this.RaiseExceptionIfNecessary();
  486. return ((Tiers[])(this.results[0]));
  487. }
  488. }
  489. }
  490. /// <remarks/>
  491. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  492. public delegate void GetAllSortedCompletedEventHandler(object sender, GetAllSortedCompletedEventArgs e);
  493. /// <remarks/>
  494. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  495. [System.Diagnostics.DebuggerStepThroughAttribute()]
  496. [System.ComponentModel.DesignerCategoryAttribute("code")]
  497. public partial class GetAllSortedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  498. private object[] results;
  499. internal GetAllSortedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  500. base(exception, cancelled, userState) {
  501. this.results = results;
  502. }
  503. /// <remarks/>
  504. public Tiers[] Result {
  505. get {
  506. this.RaiseExceptionIfNecessary();
  507. return ((Tiers[])(this.results[0]));
  508. }
  509. }
  510. }
  511. /// <remarks/>
  512. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  513. public delegate void GetManyByCompletedEventHandler(object sender, GetManyByCompletedEventArgs e);
  514. /// <remarks/>
  515. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  516. [System.Diagnostics.DebuggerStepThroughAttribute()]
  517. [System.ComponentModel.DesignerCategoryAttribute("code")]
  518. public partial class GetManyByCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  519. private object[] results;
  520. internal GetManyByCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  521. base(exception, cancelled, userState) {
  522. this.results = results;
  523. }
  524. /// <remarks/>
  525. public Tiers[] Result {
  526. get {
  527. this.RaiseExceptionIfNecessary();
  528. return ((Tiers[])(this.results[0]));
  529. }
  530. }
  531. }
  532. /// <remarks/>
  533. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  534. public delegate void GetManyBySortedCompletedEventHandler(object sender, GetManyBySortedCompletedEventArgs e);
  535. /// <remarks/>
  536. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
  537. [System.Diagnostics.DebuggerStepThroughAttribute()]
  538. [System.ComponentModel.DesignerCategoryAttribute("code")]
  539. public partial class GetManyBySortedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  540. private object[] results;
  541. internal GetManyBySortedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  542. base(exception, cancelled, userState) {
  543. this.results = results;
  544. }
  545. /// <remarks/>
  546. public Tiers[] Result {
  547. get {
  548. this.RaiseExceptionIfNecessary();
  549. return ((Tiers[])(this.results[0]));
  550. }
  551. }
  552. }
  553. }
  554. #pragma warning restore 1591