Debian Codegraph @

external/rx/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Reference.cs

raw
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.431
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 namespace Excercise7.DictionarySuggestService {
12
13
14 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
15 [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")]
16 public interface DictServiceSoap {
17
18 [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")]
19 [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
20 string ServerInfo();
21
22 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")]
23 System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState);
24
25 string EndServerInfo(System.IAsyncResult result);
26
27 [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")]
28 [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
29 Dictionary[] DictionaryList();
30
31 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")]
32 System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState);
33
34 Dictionary[] EndDictionaryList(System.IAsyncResult result);
35
36 [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")]
37 [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
38 Dictionary[] DictionaryListExtended();
39
40 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")]
41 System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState);
42
43 Dictionary[] EndDictionaryListExtended(System.IAsyncResult result);
44
45 [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")]
46 [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
47 string DictionaryInfo(string dictId);
48
49 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")]
50 System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState);
51
52 string EndDictionaryInfo(System.IAsyncResult result);
53
54 [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")]
55 [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
56 Excercise7.DictionarySuggestService.WordDefinition Define(string word);
57
58 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")]
59 System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState);
60
61 Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result);
62
63 [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")]
64 [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
65 Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word);
66
67 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")]
68 System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState);
69
70 Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result);
71
72 [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")]
73 [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
74 Strategy[] StrategyList();
75
76 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")]
77 System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState);
78
79 Strategy[] EndStrategyList(System.IAsyncResult result);
80
81 [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")]
82 [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
83 DictionaryWord[] Match(string word, string strategy);
84
85 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")]
86 System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState);
87
88 DictionaryWord[] EndMatch(System.IAsyncResult result);
89
90 [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")]
91 [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
92 DictionaryWord[] MatchInDict(string dictId, string word, string strategy);
93
94 [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")]
95 System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState);
96
97 DictionaryWord[] EndMatchInDict(System.IAsyncResult result);
98 }
99
100 /// <remarks/>
101 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")]
102 [System.SerializableAttribute()]
103 [System.Diagnostics.DebuggerStepThroughAttribute()]
104 [System.ComponentModel.DesignerCategoryAttribute("code")]
105 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")]
106 public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged {
107
108 private string idField;
109
110 private string nameField;
111
112 /// <remarks/>
113 [System.Xml.Serialization.XmlElementAttribute(Order=0)]
114 public string Id {
115 get {
116 return this.idField;
117 }
118 set {
119 this.idField = value;
120 this.RaisePropertyChanged("Id");
121 }
122 }
123
124 /// <remarks/>
125 [System.Xml.Serialization.XmlElementAttribute(Order=1)]
126 public string Name {
127 get {
128 return this.nameField;
129 }
130 set {
131 this.nameField = value;
132 this.RaisePropertyChanged("Name");
133 }
134 }
135
136 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
137
138 protected void RaisePropertyChanged(string propertyName) {
139 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
140 if ((propertyChanged != null)) {
141 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
142 }
143 }
144 }
145
146 /// <remarks/>
147 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")]
148 [System.SerializableAttribute()]
149 [System.Diagnostics.DebuggerStepThroughAttribute()]
150 [System.ComponentModel.DesignerCategoryAttribute("code")]
151 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")]
152 public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged {
153
154 private string dictionaryIdField;
155
156 private string wordField;
157
158 /// <remarks/>
159 [System.Xml.Serialization.XmlElementAttribute(Order=0)]
160 public string DictionaryId {
161 get {
162 return this.dictionaryIdField;
163 }
164 set {
165 this.dictionaryIdField = value;
166 this.RaisePropertyChanged("DictionaryId");
167 }
168 }
169
170 /// <remarks/>
171 [System.Xml.Serialization.XmlElementAttribute(Order=1)]
172 public string Word {
173 get {
174 return this.wordField;
175 }
176 set {
177 this.wordField = value;
178 this.RaisePropertyChanged("Word");
179 }
180 }
181
182 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
183
184 protected void RaisePropertyChanged(string propertyName) {
185 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
186 if ((propertyChanged != null)) {
187 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
188 }
189 }
190 }
191
192 /// <remarks/>
193 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")]
194 [System.SerializableAttribute()]
195 [System.Diagnostics.DebuggerStepThroughAttribute()]
196 [System.ComponentModel.DesignerCategoryAttribute("code")]
197 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")]
198 public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged {
199
200 private string idField;
201
202 private string descriptionField;
203
204 /// <remarks/>
205 [System.Xml.Serialization.XmlElementAttribute(Order=0)]
206 public string Id {
207 get {
208 return this.idField;
209 }
210 set {
211 this.idField = value;
212 this.RaisePropertyChanged("Id");
213 }
214 }
215
216 /// <remarks/>
217 [System.Xml.Serialization.XmlElementAttribute(Order=1)]
218 public string Description {
219 get {
220 return this.descriptionField;
221 }
222 set {
223 this.descriptionField = value;
224 this.RaisePropertyChanged("Description");
225 }
226 }
227
228 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
229
230 protected void RaisePropertyChanged(string propertyName) {
231 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
232 if ((propertyChanged != null)) {
233 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
234 }
235 }
236 }
237
238 /// <remarks/>
239 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")]
240 [System.SerializableAttribute()]
241 [System.Diagnostics.DebuggerStepThroughAttribute()]
242 [System.ComponentModel.DesignerCategoryAttribute("code")]
243 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")]
244 public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged {
245
246 private string wordField;
247
248 private Dictionary dictionaryField;
249
250 private string wordDefinitionField;
251
252 /// <remarks/>
253 [System.Xml.Serialization.XmlElementAttribute(Order=0)]
254 public string Word {
255 get {
256 return this.wordField;
257 }
258 set {
259 this.wordField = value;
260 this.RaisePropertyChanged("Word");
261 }
262 }
263
264 /// <remarks/>
265 [System.Xml.Serialization.XmlElementAttribute(Order=1)]
266 public Dictionary Dictionary {
267 get {
268 return this.dictionaryField;
269 }
270 set {
271 this.dictionaryField = value;
272 this.RaisePropertyChanged("Dictionary");
273 }
274 }
275
276 /// <remarks/>
277 [System.Xml.Serialization.XmlElementAttribute(Order=2)]
278 public string WordDefinition {
279 get {
280 return this.wordDefinitionField;
281 }
282 set {
283 this.wordDefinitionField = value;
284 this.RaisePropertyChanged("WordDefinition");
285 }
286 }
287
288 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
289
290 protected void RaisePropertyChanged(string propertyName) {
291 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
292 if ((propertyChanged != null)) {
293 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
294 }
295 }
296 }
297
298 /// <remarks/>
299 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")]
300 [System.SerializableAttribute()]
301 [System.Diagnostics.DebuggerStepThroughAttribute()]
302 [System.ComponentModel.DesignerCategoryAttribute("code")]
303 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")]
304 public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged {
305
306 private string wordField;
307
308 private Definition[] definitionsField;
309
310 /// <remarks/>
311 [System.Xml.Serialization.XmlElementAttribute(Order=0)]
312 public string Word {
313 get {
314 return this.wordField;
315 }
316 set {
317 this.wordField = value;
318 this.RaisePropertyChanged("Word");
319 }
320 }
321
322 /// <remarks/>
323 [System.Xml.Serialization.XmlArrayAttribute(Order=1)]
324 public Definition[] Definitions {
325 get {
326 return this.definitionsField;
327 }
328 set {
329 this.definitionsField = value;
330 this.RaisePropertyChanged("Definitions");
331 }
332 }
333
334 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
335
336 protected void RaisePropertyChanged(string propertyName) {
337 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
338 if ((propertyChanged != null)) {
339 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
340 }
341 }
342 }
343
344 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
345 public interface DictServiceSoapChannel : Excercise7.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel {
346 }
347
348 [System.Diagnostics.DebuggerStepThroughAttribute()]
349 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
350 public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
351
352 private object[] results;
353
354 public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
355 base(exception, cancelled, userState) {
356 this.results = results;
357 }
358
359 public string Result {
360 get {
361 base.RaiseExceptionIfNecessary();
362 return ((string)(this.results[0]));
363 }
364 }
365 }
366
367 [System.Diagnostics.DebuggerStepThroughAttribute()]
368 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
369 public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
370
371 private object[] results;
372
373 public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
374 base(exception, cancelled, userState) {
375 this.results = results;
376 }
377
378 public Dictionary[] Result {
379 get {
380 base.RaiseExceptionIfNecessary();
381 return ((Dictionary[])(this.results[0]));
382 }
383 }
384 }
385
386 [System.Diagnostics.DebuggerStepThroughAttribute()]
387 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
388 public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
389
390 private object[] results;
391
392 public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
393 base(exception, cancelled, userState) {
394 this.results = results;
395 }
396
397 public Dictionary[] Result {
398 get {
399 base.RaiseExceptionIfNecessary();
400 return ((Dictionary[])(this.results[0]));
401 }
402 }
403 }
404
405 [System.Diagnostics.DebuggerStepThroughAttribute()]
406 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
407 public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
408
409 private object[] results;
410
411 public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
412 base(exception, cancelled, userState) {
413 this.results = results;
414 }
415
416 public string Result {
417 get {
418 base.RaiseExceptionIfNecessary();
419 return ((string)(this.results[0]));
420 }
421 }
422 }
423
424 [System.Diagnostics.DebuggerStepThroughAttribute()]
425 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
426 public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
427
428 private object[] results;
429
430 public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
431 base(exception, cancelled, userState) {
432 this.results = results;
433 }
434
435 public Excercise7.DictionarySuggestService.WordDefinition Result {
436 get {
437 base.RaiseExceptionIfNecessary();
438 return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0]));
439 }
440 }
441 }
442
443 [System.Diagnostics.DebuggerStepThroughAttribute()]
444 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
445 public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
446
447 private object[] results;
448
449 public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
450 base(exception, cancelled, userState) {
451 this.results = results;
452 }
453
454 public Excercise7.DictionarySuggestService.WordDefinition Result {
455 get {
456 base.RaiseExceptionIfNecessary();
457 return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0]));
458 }
459 }
460 }
461
462 [System.Diagnostics.DebuggerStepThroughAttribute()]
463 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
464 public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
465
466 private object[] results;
467
468 public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
469 base(exception, cancelled, userState) {
470 this.results = results;
471 }
472
473 public Strategy[] Result {
474 get {
475 base.RaiseExceptionIfNecessary();
476 return ((Strategy[])(this.results[0]));
477 }
478 }
479 }
480
481 [System.Diagnostics.DebuggerStepThroughAttribute()]
482 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
483 public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
484
485 private object[] results;
486
487 public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
488 base(exception, cancelled, userState) {
489 this.results = results;
490 }
491
492 public DictionaryWord[] Result {
493 get {
494 base.RaiseExceptionIfNecessary();
495 return ((DictionaryWord[])(this.results[0]));
496 }
497 }
498 }
499
500 [System.Diagnostics.DebuggerStepThroughAttribute()]
501 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
502 public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
503
504 private object[] results;
505
506 public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
507 base(exception, cancelled, userState) {
508 this.results = results;
509 }
510
511 public DictionaryWord[] Result {
512 get {
513 base.RaiseExceptionIfNecessary();
514 return ((DictionaryWord[])(this.results[0]));
515 }
516 }
517 }
518
519 [System.Diagnostics.DebuggerStepThroughAttribute()]
520 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
521 public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise7.DictionarySuggestService.DictServiceSoap>, Excercise7.DictionarySuggestService.DictServiceSoap {
522
523 private BeginOperationDelegate onBeginServerInfoDelegate;
524
525 private EndOperationDelegate onEndServerInfoDelegate;
526
527 private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate;
528
529 private BeginOperationDelegate onBeginDictionaryListDelegate;
530
531 private EndOperationDelegate onEndDictionaryListDelegate;
532
533 private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate;
534
535 private BeginOperationDelegate onBeginDictionaryListExtendedDelegate;
536
537 private EndOperationDelegate onEndDictionaryListExtendedDelegate;
538
539 private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate;
540
541 private BeginOperationDelegate onBeginDictionaryInfoDelegate;
542
543 private EndOperationDelegate onEndDictionaryInfoDelegate;
544
545 private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate;
546
547 private BeginOperationDelegate onBeginDefineDelegate;
548
549 private EndOperationDelegate onEndDefineDelegate;
550
551 private System.Threading.SendOrPostCallback onDefineCompletedDelegate;
552
553 private BeginOperationDelegate onBeginDefineInDictDelegate;
554
555 private EndOperationDelegate onEndDefineInDictDelegate;
556
557 private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate;
558
559 private BeginOperationDelegate onBeginStrategyListDelegate;
560
561 private EndOperationDelegate onEndStrategyListDelegate;
562
563 private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate;
564
565 private BeginOperationDelegate onBeginMatchDelegate;
566
567 private EndOperationDelegate onEndMatchDelegate;
568
569 private System.Threading.SendOrPostCallback onMatchCompletedDelegate;
570
571 private BeginOperationDelegate onBeginMatchInDictDelegate;
572
573 private EndOperationDelegate onEndMatchInDictDelegate;
574
575 private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate;
576
577 public DictServiceSoapClient() {
578 }
579
580 public DictServiceSoapClient(string endpointConfigurationName) :
581 base(endpointConfigurationName) {
582 }
583
584 public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) :
585 base(endpointConfigurationName, remoteAddress) {
586 }
587
588 public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
589 base(endpointConfigurationName, remoteAddress) {
590 }
591
592 public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
593 base(binding, remoteAddress) {
594 }
595
596 public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted;
597
598 public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted;
599
600 public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted;
601
602 public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted;
603
604 public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted;
605
606 public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted;
607
608 public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted;
609
610 public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted;
611
612 public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted;
613
614 public string ServerInfo() {
615 return base.Channel.ServerInfo();
616 }
617
618 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
619 public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) {
620 return base.Channel.BeginServerInfo(callback, asyncState);
621 }
622
623 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
624 public string EndServerInfo(System.IAsyncResult result) {
625 return base.Channel.EndServerInfo(result);
626 }
627
628 private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
629 return this.BeginServerInfo(callback, asyncState);
630 }
631
632 private object[] OnEndServerInfo(System.IAsyncResult result) {
633 string retVal = this.EndServerInfo(result);
634 return new object[] {
635 retVal};
636 }
637
638 private void OnServerInfoCompleted(object state) {
639 if ((this.ServerInfoCompleted != null)) {
640 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
641 this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
642 }
643 }
644
645 public void ServerInfoAsync() {
646 this.ServerInfoAsync(null);
647 }
648
649 public void ServerInfoAsync(object userState) {
650 if ((this.onBeginServerInfoDelegate == null)) {
651 this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo);
652 }
653 if ((this.onEndServerInfoDelegate == null)) {
654 this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo);
655 }
656 if ((this.onServerInfoCompletedDelegate == null)) {
657 this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted);
658 }
659 base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState);
660 }
661
662 public Dictionary[] DictionaryList() {
663 return base.Channel.DictionaryList();
664 }
665
666 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
667 public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) {
668 return base.Channel.BeginDictionaryList(callback, asyncState);
669 }
670
671 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
672 public Dictionary[] EndDictionaryList(System.IAsyncResult result) {
673 return base.Channel.EndDictionaryList(result);
674 }
675
676 private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) {
677 return this.BeginDictionaryList(callback, asyncState);
678 }
679
680 private object[] OnEndDictionaryList(System.IAsyncResult result) {
681 Dictionary[] retVal = this.EndDictionaryList(result);
682 return new object[] {
683 retVal};
684 }
685
686 private void OnDictionaryListCompleted(object state) {
687 if ((this.DictionaryListCompleted != null)) {
688 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
689 this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
690 }
691 }
692
693 public void DictionaryListAsync() {
694 this.DictionaryListAsync(null);
695 }
696
697 public void DictionaryListAsync(object userState) {
698 if ((this.onBeginDictionaryListDelegate == null)) {
699 this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList);
700 }
701 if ((this.onEndDictionaryListDelegate == null)) {
702 this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList);
703 }
704 if ((this.onDictionaryListCompletedDelegate == null)) {
705 this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted);
706 }
707 base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState);
708 }
709
710 public Dictionary[] DictionaryListExtended() {
711 return base.Channel.DictionaryListExtended();
712 }
713
714 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
715 public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) {
716 return base.Channel.BeginDictionaryListExtended(callback, asyncState);
717 }
718
719 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
720 public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) {
721 return base.Channel.EndDictionaryListExtended(result);
722 }
723
724 private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) {
725 return this.BeginDictionaryListExtended(callback, asyncState);
726 }
727
728 private object[] OnEndDictionaryListExtended(System.IAsyncResult result) {
729 Dictionary[] retVal = this.EndDictionaryListExtended(result);
730 return new object[] {
731 retVal};
732 }
733
734 private void OnDictionaryListExtendedCompleted(object state) {
735 if ((this.DictionaryListExtendedCompleted != null)) {
736 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
737 this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
738 }
739 }
740
741 public void DictionaryListExtendedAsync() {
742 this.DictionaryListExtendedAsync(null);
743 }
744
745 public void DictionaryListExtendedAsync(object userState) {
746 if ((this.onBeginDictionaryListExtendedDelegate == null)) {
747 this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended);
748 }
749 if ((this.onEndDictionaryListExtendedDelegate == null)) {
750 this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended);
751 }
752 if ((this.onDictionaryListExtendedCompletedDelegate == null)) {
753 this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted);
754 }
755 base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState);
756 }
757
758 public string DictionaryInfo(string dictId) {
759 return base.Channel.DictionaryInfo(dictId);
760 }
761
762 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
763 public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) {
764 return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState);
765 }
766
767 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
768 public string EndDictionaryInfo(System.IAsyncResult result) {
769 return base.Channel.EndDictionaryInfo(result);
770 }
771
772 private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
773 string dictId = ((string)(inValues[0]));
774 return this.BeginDictionaryInfo(dictId, callback, asyncState);
775 }
776
777 private object[] OnEndDictionaryInfo(System.IAsyncResult result) {
778 string retVal = this.EndDictionaryInfo(result);
779 return new object[] {
780 retVal};
781 }
782
783 private void OnDictionaryInfoCompleted(object state) {
784 if ((this.DictionaryInfoCompleted != null)) {
785 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
786 this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
787 }
788 }
789
790 public void DictionaryInfoAsync(string dictId) {
791 this.DictionaryInfoAsync(dictId, null);
792 }
793
794 public void DictionaryInfoAsync(string dictId, object userState) {
795 if ((this.onBeginDictionaryInfoDelegate == null)) {
796 this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo);
797 }
798 if ((this.onEndDictionaryInfoDelegate == null)) {
799 this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo);
800 }
801 if ((this.onDictionaryInfoCompletedDelegate == null)) {
802 this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted);
803 }
804 base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] {
805 dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState);
806 }
807
808 public Excercise7.DictionarySuggestService.WordDefinition Define(string word) {
809 return base.Channel.Define(word);
810 }
811
812 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
813 public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) {
814 return base.Channel.BeginDefine(word, callback, asyncState);
815 }
816
817 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
818 public Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) {
819 return base.Channel.EndDefine(result);
820 }
821
822 private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) {
823 string word = ((string)(inValues[0]));
824 return this.BeginDefine(word, callback, asyncState);
825 }
826
827 private object[] OnEndDefine(System.IAsyncResult result) {
828 Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result);
829 return new object[] {
830 retVal};
831 }
832
833 private void OnDefineCompleted(object state) {
834 if ((this.DefineCompleted != null)) {
835 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
836 this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
837 }
838 }
839
840 public void DefineAsync(string word) {
841 this.DefineAsync(word, null);
842 }
843
844 public void DefineAsync(string word, object userState) {
845 if ((this.onBeginDefineDelegate == null)) {
846 this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine);
847 }
848 if ((this.onEndDefineDelegate == null)) {
849 this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine);
850 }
851 if ((this.onDefineCompletedDelegate == null)) {
852 this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted);
853 }
854 base.InvokeAsync(this.onBeginDefineDelegate, new object[] {
855 word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState);
856 }
857
858 public Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) {
859 return base.Channel.DefineInDict(dictId, word);
860 }
861
862 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
863 public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) {
864 return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState);
865 }
866
867 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
868 public Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) {
869 return base.Channel.EndDefineInDict(result);
870 }
871
872 private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) {
873 string dictId = ((string)(inValues[0]));
874 string word = ((string)(inValues[1]));
875 return this.BeginDefineInDict(dictId, word, callback, asyncState);
876 }
877
878 private object[] OnEndDefineInDict(System.IAsyncResult result) {
879 Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result);
880 return new object[] {
881 retVal};
882 }
883
884 private void OnDefineInDictCompleted(object state) {
885 if ((this.DefineInDictCompleted != null)) {
886 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
887 this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
888 }
889 }
890
891 public void DefineInDictAsync(string dictId, string word) {
892 this.DefineInDictAsync(dictId, word, null);
893 }
894
895 public void DefineInDictAsync(string dictId, string word, object userState) {
896 if ((this.onBeginDefineInDictDelegate == null)) {
897 this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict);
898 }
899 if ((this.onEndDefineInDictDelegate == null)) {
900 this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict);
901 }
902 if ((this.onDefineInDictCompletedDelegate == null)) {
903 this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted);
904 }
905 base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] {
906 dictId,
907 word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState);
908 }
909
910 public Strategy[] StrategyList() {
911 return base.Channel.StrategyList();
912 }
913
914 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
915 public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) {
916 return base.Channel.BeginStrategyList(callback, asyncState);
917 }
918
919 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
920 public Strategy[] EndStrategyList(System.IAsyncResult result) {
921 return base.Channel.EndStrategyList(result);
922 }
923
924 private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) {
925 return this.BeginStrategyList(callback, asyncState);
926 }
927
928 private object[] OnEndStrategyList(System.IAsyncResult result) {
929 Strategy[] retVal = this.EndStrategyList(result);
930 return new object[] {
931 retVal};
932 }
933
934 private void OnStrategyListCompleted(object state) {
935 if ((this.StrategyListCompleted != null)) {
936 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
937 this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
938 }
939 }
940
941 public void StrategyListAsync() {
942 this.StrategyListAsync(null);
943 }
944
945 public void StrategyListAsync(object userState) {
946 if ((this.onBeginStrategyListDelegate == null)) {
947 this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList);
948 }
949 if ((this.onEndStrategyListDelegate == null)) {
950 this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList);
951 }
952 if ((this.onStrategyListCompletedDelegate == null)) {
953 this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted);
954 }
955 base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState);
956 }
957
958 public DictionaryWord[] Match(string word, string strategy) {
959 return base.Channel.Match(word, strategy);
960 }
961
962 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
963 public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) {
964 return base.Channel.BeginMatch(word, strategy, callback, asyncState);
965 }
966
967 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
968 public DictionaryWord[] EndMatch(System.IAsyncResult result) {
969 return base.Channel.EndMatch(result);
970 }
971
972 private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) {
973 string word = ((string)(inValues[0]));
974 string strategy = ((string)(inValues[1]));
975 return this.BeginMatch(word, strategy, callback, asyncState);
976 }
977
978 private object[] OnEndMatch(System.IAsyncResult result) {
979 DictionaryWord[] retVal = this.EndMatch(result);
980 return new object[] {
981 retVal};
982 }
983
984 private void OnMatchCompleted(object state) {
985 if ((this.MatchCompleted != null)) {
986 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
987 this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
988 }
989 }
990
991 public void MatchAsync(string word, string strategy) {
992 this.MatchAsync(word, strategy, null);
993 }
994
995 public void MatchAsync(string word, string strategy, object userState) {
996 if ((this.onBeginMatchDelegate == null)) {
997 this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch);
998 }
999 if ((this.onEndMatchDelegate == null)) {
1000 this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch);
1001 }
1002 if ((this.onMatchCompletedDelegate == null)) {
1003 this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted);
1004 }
1005 base.InvokeAsync(this.onBeginMatchDelegate, new object[] {
1006 word,
1007 strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState);
1008 }
1009
1010 public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) {
1011 return base.Channel.MatchInDict(dictId, word, strategy);
1012 }
1013
1014 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
1015 public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) {
1016 return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState);
1017 }
1018
1019 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
1020 public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) {
1021 return base.Channel.EndMatchInDict(result);
1022 }
1023
1024 private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) {
1025 string dictId = ((string)(inValues[0]));
1026 string word = ((string)(inValues[1]));
1027 string strategy = ((string)(inValues[2]));
1028 return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState);
1029 }
1030
1031 private object[] OnEndMatchInDict(System.IAsyncResult result) {
1032 DictionaryWord[] retVal = this.EndMatchInDict(result);
1033 return new object[] {
1034 retVal};
1035 }
1036
1037 private void OnMatchInDictCompleted(object state) {
1038 if ((this.MatchInDictCompleted != null)) {
1039 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
1040 this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
1041 }
1042 }
1043
1044 public void MatchInDictAsync(string dictId, string word, string strategy) {
1045 this.MatchInDictAsync(dictId, word, strategy, null);
1046 }
1047
1048 public void MatchInDictAsync(string dictId, string word, string strategy, object userState) {
1049 if ((this.onBeginMatchInDictDelegate == null)) {
1050 this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict);
1051 }
1052 if ((this.onEndMatchInDictDelegate == null)) {
1053 this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict);
1054 }
1055 if ((this.onMatchInDictCompletedDelegate == null)) {
1056 this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted);
1057 }
1058 base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] {
1059 dictId,
1060 word,
1061 strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState);
1062 }
1063 }
1064 }