1
wxr
2023-03-31 7e42cc13a14b7de31c9f5d5c61cdf24f3246335d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.42000
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
 
namespace service.hdlcontrol.com_push {
    using System.Diagnostics;
    using System;
    using System.Xml.Serialization;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System.Web.Services;
    
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="WebServicePushSoap", Namespace="http://tempuri.org/")]
    public partial class WebServicePush : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback JPushActionOperationCompleted;
        
        private System.Threading.SendOrPostCallback DeviceManageOperationCompleted;
        
        private System.Threading.SendOrPostCallback ILiftAddRegIDOperationCompleted;
        
        private System.Threading.SendOrPostCallback AddMsgOperationCompleted;
        
        private System.Threading.SendOrPostCallback DeleteToken_PushOperationCompleted;
        
        public VerifySoapHeader VerifySoapHeaderValue;
        
        private System.Threading.SendOrPostCallback AddRegIdOperationCompleted;
        
        private System.Threading.SendOrPostCallback MsgListOperationCompleted;
 
        /// CodeRemarks
        public WebServicePush ()
        {
            this.Url = "http://service.hdlcontrol.com:8000/WebService/WebServicePush.asmx";
#if Crabtree
            this.Url = "https://homeautomation.havells.com/api/WebService/WebServicePush.asmx";
#endif
        }
        
        public WebServicePush(string url) {
            this.Url = url;
        }
        
        /// CodeRemarks
        public event JPushActionCompletedEventHandler JPushActionCompleted;
        
        /// CodeRemarks
        public event DeviceManageCompletedEventHandler DeviceManageCompleted;
        
        /// CodeRemarks
        public event ILiftAddRegIDCompletedEventHandler ILiftAddRegIDCompleted;
        
        /// CodeRemarks
        public event AddMsgCompletedEventHandler AddMsgCompleted;
        
        /// CodeRemarks
        public event DeleteToken_PushCompletedEventHandler DeleteToken_PushCompleted;
        
        /// CodeRemarks
        public event AddRegIdCompletedEventHandler AddRegIdCompleted;
        
        /// CodeRemarks
        public event MsgListCompletedEventHandler MsgListCompleted;
        
        /// CodeRemarks
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/JPushAction", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public long JPushAction(string frame, string message, string alarm) {
            object[] results = this.Invoke("JPushAction", new object[] {
                        frame,
                        message,
                        alarm});
            return ((long)(results[0]));
        }
        
        /// CodeRemarks
        public void JPushActionAsync(string frame, string message, string alarm) {
            this.JPushActionAsync(frame, message, alarm, null);
        }
        
        /// CodeRemarks
        public void JPushActionAsync(string frame, string message, string alarm, object userState) {
            if ((this.JPushActionOperationCompleted == null)) {
                this.JPushActionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnJPushActionOperationCompleted);
            }
            this.InvokeAsync("JPushAction", new object[] {
                        frame,
                        message,
                        alarm}, this.JPushActionOperationCompleted, userState);
        }
        
        private void OnJPushActionOperationCompleted(object arg) {
            if ((this.JPushActionCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.JPushActionCompleted(this, new JPushActionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// CodeRemarks
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeviceManage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public DeviceInfo[] DeviceManage() {
            object[] results = this.Invoke("DeviceManage", new object[0]);
            return ((DeviceInfo[])(results[0]));
        }
        
        /// CodeRemarks
        public void DeviceManageAsync() {
            this.DeviceManageAsync(null);
        }
        
        /// CodeRemarks
        public void DeviceManageAsync(object userState) {
            if ((this.DeviceManageOperationCompleted == null)) {
                this.DeviceManageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeviceManageOperationCompleted);
            }
            this.InvokeAsync("DeviceManage", new object[0], this.DeviceManageOperationCompleted, userState);
        }
        
        private void OnDeviceManageOperationCompleted(object arg) {
            if ((this.DeviceManageCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DeviceManageCompleted(this, new DeviceManageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// CodeRemarks
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ILiftAddRegID", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string ILiftAddRegID(string RegId, string Alias, string Email, string UserMode) {
            object[] results = this.Invoke("ILiftAddRegID", new object[] {
                        RegId,
                        Alias,
                        Email,
                        UserMode});
            return ((string)(results[0]));
        }
        
        /// CodeRemarks
        public void ILiftAddRegIDAsync(string RegId, string Alias, string Email, string UserMode) {
            this.ILiftAddRegIDAsync(RegId, Alias, Email, UserMode, null);
        }
        
        /// CodeRemarks
        public void ILiftAddRegIDAsync(string RegId, string Alias, string Email, string UserMode, object userState) {
            if ((this.ILiftAddRegIDOperationCompleted == null)) {
                this.ILiftAddRegIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnILiftAddRegIDOperationCompleted);
            }
            this.InvokeAsync("ILiftAddRegID", new object[] {
                        RegId,
                        Alias,
                        Email,
                        UserMode}, this.ILiftAddRegIDOperationCompleted, userState);
        }
        
        private void OnILiftAddRegIDOperationCompleted(object arg) {
            if ((this.ILiftAddRegIDCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ILiftAddRegIDCompleted(this, new ILiftAddRegIDCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// CodeRemarks
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddMsg", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int AddMsg(string regid, string msgtype, string msgcontent) {
            object[] results = this.Invoke("AddMsg", new object[] {
                        regid,
                        msgtype,
                        msgcontent});
            return ((int)(results[0]));
        }
        
        /// CodeRemarks
        public void AddMsgAsync(string regid, string msgtype, string msgcontent) {
            this.AddMsgAsync(regid, msgtype, msgcontent, null);
        }
        
        /// CodeRemarks
        public void AddMsgAsync(string regid, string msgtype, string msgcontent, object userState) {
            if ((this.AddMsgOperationCompleted == null)) {
                this.AddMsgOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMsgOperationCompleted);
            }
            this.InvokeAsync("AddMsg", new object[] {
                        regid,
                        msgtype,
                        msgcontent}, this.AddMsgOperationCompleted, userState);
        }
        
        private void OnAddMsgOperationCompleted(object arg) {
            if ((this.AddMsgCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AddMsgCompleted(this, new AddMsgCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// CodeRemarks
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteToken_Push", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int DeleteToken_Push(string regid) {
            object[] results = this.Invoke("DeleteToken_Push", new object[] {
                        regid});
            return ((int)(results[0]));
        }
        
        /// CodeRemarks
        public void DeleteToken_PushAsync(string regid) {
            this.DeleteToken_PushAsync(regid, null);
        }
        
        /// CodeRemarks
        public void DeleteToken_PushAsync(string regid, object userState) {
            if ((this.DeleteToken_PushOperationCompleted == null)) {
                this.DeleteToken_PushOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteToken_PushOperationCompleted);
            }
            this.InvokeAsync("DeleteToken_Push", new object[] {
                        regid}, this.DeleteToken_PushOperationCompleted, userState);
        }
        
        private void OnDeleteToken_PushOperationCompleted(object arg) {
            if ((this.DeleteToken_PushCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DeleteToken_PushCompleted(this, new DeleteToken_PushCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// CodeRemarks
        [System.Web.Services.Protocols.SoapHeaderAttribute("VerifySoapHeaderValue")]
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddRegId", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int AddRegId(string RegId, string Alias) {
            object[] results = this.Invoke("AddRegId", new object[] {
                        RegId,
                        Alias});
            return ((int)(results[0]));
        }
        
        /// CodeRemarks
        public void AddRegIdAsync(string RegId, string Alias) {
            this.AddRegIdAsync(RegId, Alias, null);
        }
        
        /// CodeRemarks
        public void AddRegIdAsync(string RegId, string Alias, object userState) {
            if ((this.AddRegIdOperationCompleted == null)) {
                this.AddRegIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRegIdOperationCompleted);
            }
            this.InvokeAsync("AddRegId", new object[] {
                        RegId,
                        Alias}, this.AddRegIdOperationCompleted, userState);
        }
        
        private void OnAddRegIdOperationCompleted(object arg) {
            if ((this.AddRegIdCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AddRegIdCompleted(this, new AddRegIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// CodeRemarks
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MsgList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public MsgList[] MsgList(string regid) {
            object[] results = this.Invoke("MsgList", new object[] {
                        regid});
            return ((MsgList[])(results[0]));
        }
        
        /// CodeRemarks
        public void MsgListAsync(string regid) {
            this.MsgListAsync(regid, null);
        }
        
        /// CodeRemarks
        public void MsgListAsync(string regid, object userState) {
            if ((this.MsgListOperationCompleted == null)) {
                this.MsgListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnMsgListOperationCompleted);
            }
            this.InvokeAsync("MsgList", new object[] {
                        regid}, this.MsgListOperationCompleted, userState);
        }
        
        private void OnMsgListOperationCompleted(object arg) {
            if ((this.MsgListCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.MsgListCompleted(this, new MsgListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// CodeRemarks
        public new void CancelAsync(object userState) {
            base.CancelAsync(userState);
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="http://tempuri.org/", IsNullable=false)]
    public partial class VerifySoapHeader : System.Web.Services.Protocols.SoapHeader {
        
        /// <remarks/>
        public string Email;
        
        /// <remarks/>
        public int UserMode;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlAnyAttributeAttribute()]
        public System.Xml.XmlAttribute[] AnyAttr;
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class MsgList {
        
        /// <remarks/>
        public long MsgID;
        
        /// <remarks/>
        public string Msg;
        
        /// <remarks/>
        public string MsgType;
        
        /// <remarks/>
        public System.DateTime MsgTime;
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class DeviceInfo {
        
        /// <remarks/>
        public string RegistrationID;
        
        /// <remarks/>
        public string[] Tag;
        
        /// <remarks/>
        public string Alias;
    }
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    public delegate void JPushActionCompletedEventHandler(object sender, JPushActionCompletedEventArgs e);
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class JPushActionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal JPushActionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// CodeRemarks
        public long Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((long)(this.results[0]));
            }
        }
    }
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    public delegate void DeviceManageCompletedEventHandler(object sender, DeviceManageCompletedEventArgs e);
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DeviceManageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DeviceManageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// CodeRemarks
        public DeviceInfo[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((DeviceInfo[])(this.results[0]));
            }
        }
    }
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    public delegate void ILiftAddRegIDCompletedEventHandler(object sender, ILiftAddRegIDCompletedEventArgs e);
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ILiftAddRegIDCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal ILiftAddRegIDCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// CodeRemarks
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    public delegate void AddMsgCompletedEventHandler(object sender, AddMsgCompletedEventArgs e);
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class AddMsgCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal AddMsgCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// CodeRemarks
        public int Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    public delegate void DeleteToken_PushCompletedEventHandler(object sender, DeleteToken_PushCompletedEventArgs e);
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DeleteToken_PushCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DeleteToken_PushCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// CodeRemarks
        public int Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    public delegate void AddRegIdCompletedEventHandler(object sender, AddRegIdCompletedEventArgs e);
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class AddRegIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal AddRegIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// CodeRemarks
        public int Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    public delegate void MsgListCompletedEventHandler(object sender, MsgListCompletedEventArgs e);
    
    /// CodeRemarks
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.5.3.7")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class MsgListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal MsgListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// CodeRemarks
        public MsgList[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((MsgList[])(this.results[0]));
            }
        }
    }
}