| 1 | //------------------------------------------------------------------------------ |
|---|
| 2 | // <auto-generated> |
|---|
| 3 | // This code was generated by a tool. |
|---|
| 4 | // Runtime Version:2.0.50727.42 |
|---|
| 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 | using System; |
|---|
| 12 | using System.ComponentModel; |
|---|
| 13 | using System.Diagnostics; |
|---|
| 14 | using System.Web.Services; |
|---|
| 15 | using System.Web.Services.Protocols; |
|---|
| 16 | using System.Xml.Serialization; |
|---|
| 17 | |
|---|
| 18 | // |
|---|
| 19 | // This source code was auto-generated by wsdl, Version=2.0.50727.42. |
|---|
| 20 | // |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | /// <remarks/> |
|---|
| 24 | [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] |
|---|
| 25 | [System.Diagnostics.DebuggerStepThroughAttribute()] |
|---|
| 26 | [System.ComponentModel.DesignerCategoryAttribute("code")] |
|---|
| 27 | [System.Web.Services.WebServiceBindingAttribute(Name="GoogleSearchBinding", Namespace="urn:GoogleSearch")] |
|---|
| 28 | [System.Xml.Serialization.SoapIncludeAttribute(typeof(ResultElement))] |
|---|
| 29 | public partial class GoogleSearchService : System.Web.Services.Protocols.SoapHttpClientProtocol { |
|---|
| 30 | |
|---|
| 31 | private System.Threading.SendOrPostCallback doGetCachedPageOperationCompleted; |
|---|
| 32 | |
|---|
| 33 | private System.Threading.SendOrPostCallback doSpellingSuggestionOperationCompleted; |
|---|
| 34 | |
|---|
| 35 | private System.Threading.SendOrPostCallback doGoogleSearchOperationCompleted; |
|---|
| 36 | |
|---|
| 37 | /// <remarks/> |
|---|
| 38 | public GoogleSearchService() { |
|---|
| 39 | this.Url = "http://api.google.com/search/beta2"; |
|---|
| 40 | } |
|---|
| 41 | |
|---|
| 42 | /// <remarks/> |
|---|
| 43 | public event doGetCachedPageCompletedEventHandler doGetCachedPageCompleted; |
|---|
| 44 | |
|---|
| 45 | /// <remarks/> |
|---|
| 46 | public event doSpellingSuggestionCompletedEventHandler doSpellingSuggestionCompleted; |
|---|
| 47 | |
|---|
| 48 | /// <remarks/> |
|---|
| 49 | public event doGoogleSearchCompletedEventHandler doGoogleSearchCompleted; |
|---|
| 50 | |
|---|
| 51 | /// <remarks/> |
|---|
| 52 | [System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:GoogleSearchAction", RequestNamespace="urn:GoogleSearch", ResponseNamespace="urn:GoogleSearch")] |
|---|
| 53 | [return: System.Xml.Serialization.SoapElementAttribute("return", DataType="base64Binary")] |
|---|
| 54 | public byte[] doGetCachedPage(string key, string url) { |
|---|
| 55 | object[] results = this.Invoke("doGetCachedPage", new object[] { |
|---|
| 56 | key, |
|---|
| 57 | url}); |
|---|
| 58 | return ((byte[])(results[0])); |
|---|
| 59 | } |
|---|
| 60 | |
|---|
| 61 | /// <remarks/> |
|---|
| 62 | public System.IAsyncResult BegindoGetCachedPage(string key, string url, System.AsyncCallback callback, object asyncState) { |
|---|
| 63 | return this.BeginInvoke("doGetCachedPage", new object[] { |
|---|
| 64 | key, |
|---|
| 65 | url}, callback, asyncState); |
|---|
| 66 | } |
|---|
| 67 | |
|---|
| 68 | /// <remarks/> |
|---|
| 69 | public byte[] EnddoGetCachedPage(System.IAsyncResult asyncResult) { |
|---|
| 70 | object[] results = this.EndInvoke(asyncResult); |
|---|
| 71 | return ((byte[])(results[0])); |
|---|
| 72 | } |
|---|
| 73 | |
|---|
| 74 | /// <remarks/> |
|---|
| 75 | public void doGetCachedPageAsync(string key, string url) { |
|---|
| 76 | this.doGetCachedPageAsync(key, url, null); |
|---|
| 77 | } |
|---|
| 78 | |
|---|
| 79 | /// <remarks/> |
|---|
| 80 | public void doGetCachedPageAsync(string key, string url, object userState) { |
|---|
| 81 | if ((this.doGetCachedPageOperationCompleted == null)) { |
|---|
| 82 | this.doGetCachedPageOperationCompleted = new System.Threading.SendOrPostCallback(this.OndoGetCachedPageOperationCompleted); |
|---|
| 83 | } |
|---|
| 84 | this.InvokeAsync("doGetCachedPage", new object[] { |
|---|
| 85 | key, |
|---|
| 86 | url}, this.doGetCachedPageOperationCompleted, userState); |
|---|
| 87 | } |
|---|
| 88 | |
|---|
| 89 | private void OndoGetCachedPageOperationCompleted(object arg) { |
|---|
| 90 | if ((this.doGetCachedPageCompleted != null)) { |
|---|
| 91 | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
|---|
| 92 | this.doGetCachedPageCompleted(this, new doGetCachedPageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
|---|
| 93 | } |
|---|
| 94 | } |
|---|
| 95 | |
|---|
| 96 | /// <remarks/> |
|---|
| 97 | [System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:GoogleSearchAction", RequestNamespace="urn:GoogleSearch", ResponseNamespace="urn:GoogleSearch")] |
|---|
| 98 | [return: System.Xml.Serialization.SoapElementAttribute("return")] |
|---|
| 99 | public string doSpellingSuggestion(string key, string phrase) { |
|---|
| 100 | object[] results = this.Invoke("doSpellingSuggestion", new object[] { |
|---|
| 101 | key, |
|---|
| 102 | phrase}); |
|---|
| 103 | return ((string)(results[0])); |
|---|
| 104 | } |
|---|
| 105 | |
|---|
| 106 | /// <remarks/> |
|---|
| 107 | public System.IAsyncResult BegindoSpellingSuggestion(string key, string phrase, System.AsyncCallback callback, object asyncState) { |
|---|
| 108 | return this.BeginInvoke("doSpellingSuggestion", new object[] { |
|---|
| 109 | key, |
|---|
| 110 | phrase}, callback, asyncState); |
|---|
| 111 | } |
|---|
| 112 | |
|---|
| 113 | /// <remarks/> |
|---|
| 114 | public string EnddoSpellingSuggestion(System.IAsyncResult asyncResult) { |
|---|
| 115 | object[] results = this.EndInvoke(asyncResult); |
|---|
| 116 | return ((string)(results[0])); |
|---|
| 117 | } |
|---|
| 118 | |
|---|
| 119 | /// <remarks/> |
|---|
| 120 | public void doSpellingSuggestionAsync(string key, string phrase) { |
|---|
| 121 | this.doSpellingSuggestionAsync(key, phrase, null); |
|---|
| 122 | } |
|---|
| 123 | |
|---|
| 124 | /// <remarks/> |
|---|
| 125 | public void doSpellingSuggestionAsync(string key, string phrase, object userState) { |
|---|
| 126 | if ((this.doSpellingSuggestionOperationCompleted == null)) { |
|---|
| 127 | this.doSpellingSuggestionOperationCompleted = new System.Threading.SendOrPostCallback(this.OndoSpellingSuggestionOperationCompleted); |
|---|
| 128 | } |
|---|
| 129 | this.InvokeAsync("doSpellingSuggestion", new object[] { |
|---|
| 130 | key, |
|---|
| 131 | phrase}, this.doSpellingSuggestionOperationCompleted, userState); |
|---|
| 132 | } |
|---|
| 133 | |
|---|
| 134 | private void OndoSpellingSuggestionOperationCompleted(object arg) { |
|---|
| 135 | if ((this.doSpellingSuggestionCompleted != null)) { |
|---|
| 136 | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
|---|
| 137 | this.doSpellingSuggestionCompleted(this, new doSpellingSuggestionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
|---|
| 138 | } |
|---|
| 139 | } |
|---|
| 140 | |
|---|
| 141 | /// <remarks/> |
|---|
| 142 | [System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:GoogleSearchAction", RequestNamespace="urn:GoogleSearch", ResponseNamespace="urn:GoogleSearch")] |
|---|
| 143 | [return: System.Xml.Serialization.SoapElementAttribute("return")] |
|---|
| 144 | public GoogleSearchResult doGoogleSearch(string key, string q, int start, int maxResults, bool filter, string restrict, bool safeSearch, string lr, string ie, string oe) { |
|---|
| 145 | object[] results = this.Invoke("doGoogleSearch", new object[] { |
|---|
| 146 | key, |
|---|
| 147 | q, |
|---|
| 148 | start, |
|---|
| 149 | maxResults, |
|---|
| 150 | filter, |
|---|
| 151 | restrict, |
|---|
| 152 | safeSearch, |
|---|
| 153 | lr, |
|---|
| 154 | ie, |
|---|
| 155 | oe}); |
|---|
| 156 | return ((GoogleSearchResult)(results[0])); |
|---|
| 157 | } |
|---|
| 158 | |
|---|
| 159 | public GoogleSearchResult DoGoogleSearch(string key, string q, int start, int maxResults, bool filter, string restrict, bool safeSearch, string lr, string ie, string oe) { |
|---|
| 160 | return doGoogleSearch(key, q, start, maxResults, filter, restrict, safeSearch, lr, ie, oe); |
|---|
| 161 | } |
|---|
| 162 | |
|---|
| 163 | /// <remarks/> |
|---|
| 164 | public System.IAsyncResult BegindoGoogleSearch(string key, string q, int start, int maxResults, bool filter, string restrict, bool safeSearch, string lr, string ie, string oe, System.AsyncCallback callback, object asyncState) { |
|---|
| 165 | return this.BeginInvoke("doGoogleSearch", new object[] { |
|---|
| 166 | key, |
|---|
| 167 | q, |
|---|
| 168 | start, |
|---|
| 169 | maxResults, |
|---|
| 170 | filter, |
|---|
| 171 | restrict, |
|---|
| 172 | safeSearch, |
|---|
| 173 | lr, |
|---|
| 174 | ie, |
|---|
| 175 | oe}, callback, asyncState); |
|---|
| 176 | } |
|---|
| 177 | |
|---|
| 178 | /// <remarks/> |
|---|
| 179 | public GoogleSearchResult EnddoGoogleSearch(System.IAsyncResult asyncResult) { |
|---|
| 180 | object[] results = this.EndInvoke(asyncResult); |
|---|
| 181 | return ((GoogleSearchResult)(results[0])); |
|---|
| 182 | } |
|---|
| 183 | |
|---|
| 184 | /// <remarks/> |
|---|
| 185 | public void doGoogleSearchAsync(string key, string q, int start, int maxResults, bool filter, string restrict, bool safeSearch, string lr, string ie, string oe) { |
|---|
| 186 | this.doGoogleSearchAsync(key, q, start, maxResults, filter, restrict, safeSearch, lr, ie, oe, null); |
|---|
| 187 | } |
|---|
| 188 | |
|---|
| 189 | /// <remarks/> |
|---|
| 190 | public void doGoogleSearchAsync(string key, string q, int start, int maxResults, bool filter, string restrict, bool safeSearch, string lr, string ie, string oe, object userState) { |
|---|
| 191 | if ((this.doGoogleSearchOperationCompleted == null)) { |
|---|
| 192 | this.doGoogleSearchOperationCompleted = new System.Threading.SendOrPostCallback(this.OndoGoogleSearchOperationCompleted); |
|---|
| 193 | } |
|---|
| 194 | this.InvokeAsync("doGoogleSearch", new object[] { |
|---|
| 195 | key, |
|---|
| 196 | q, |
|---|
| 197 | start, |
|---|
| 198 | maxResults, |
|---|
| 199 | filter, |
|---|
| 200 | restrict, |
|---|
| 201 | safeSearch, |
|---|
| 202 | lr, |
|---|
| 203 | ie, |
|---|
| 204 | oe}, this.doGoogleSearchOperationCompleted, userState); |
|---|
| 205 | } |
|---|
| 206 | |
|---|
| 207 | private void OndoGoogleSearchOperationCompleted(object arg) { |
|---|
| 208 | if ((this.doGoogleSearchCompleted != null)) { |
|---|
| 209 | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
|---|
| 210 | this.doGoogleSearchCompleted(this, new doGoogleSearchCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
|---|
| 211 | } |
|---|
| 212 | } |
|---|
| 213 | |
|---|
| 214 | /// <remarks/> |
|---|
| 215 | public new void CancelAsync(object userState) { |
|---|
| 216 | base.CancelAsync(userState); |
|---|
| 217 | } |
|---|
| 218 | } |
|---|
| 219 | |
|---|
| 220 | /// <remarks/> |
|---|
| 221 | [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] |
|---|
| 222 | [System.SerializableAttribute()] |
|---|
| 223 | [System.Diagnostics.DebuggerStepThroughAttribute()] |
|---|
| 224 | [System.ComponentModel.DesignerCategoryAttribute("code")] |
|---|
| 225 | [System.Xml.Serialization.SoapTypeAttribute(Namespace="urn:GoogleSearch")] |
|---|
| 226 | public partial class GoogleSearchResult { |
|---|
| 227 | |
|---|
| 228 | private bool documentFilteringField; |
|---|
| 229 | |
|---|
| 230 | private string searchCommentsField; |
|---|
| 231 | |
|---|
| 232 | private int estimatedTotalResultsCountField; |
|---|
| 233 | |
|---|
| 234 | private bool estimateIsExactField; |
|---|
| 235 | |
|---|
| 236 | private ResultElement[] resultElementsField; |
|---|
| 237 | |
|---|
| 238 | private string searchQueryField; |
|---|
| 239 | |
|---|
| 240 | private int startIndexField; |
|---|
| 241 | |
|---|
| 242 | private int endIndexField; |
|---|
| 243 | |
|---|
| 244 | private string searchTipsField; |
|---|
| 245 | |
|---|
| 246 | private DirectoryCategory[] directoryCategoriesField; |
|---|
| 247 | |
|---|
| 248 | private double searchTimeField; |
|---|
| 249 | |
|---|
| 250 | /// <remarks/> |
|---|
| 251 | public bool DocumentFiltering { |
|---|
| 252 | get { |
|---|
| 253 | return this.documentFilteringField; |
|---|
| 254 | } |
|---|
| 255 | set { |
|---|
| 256 | this.documentFilteringField = value; |
|---|
| 257 | } |
|---|
| 258 | } |
|---|
| 259 | |
|---|
| 260 | /// <remarks/> |
|---|
| 261 | public string SearchComments { |
|---|
| 262 | get { |
|---|
| 263 | return this.searchCommentsField; |
|---|
| 264 | } |
|---|
| 265 | set { |
|---|
| 266 | this.searchCommentsField = value; |
|---|
| 267 | } |
|---|
| 268 | } |
|---|
| 269 | |
|---|
| 270 | /// <remarks/> |
|---|
| 271 | public int EstimatedTotalResultsCount { |
|---|
| 272 | get { |
|---|
| 273 | return this.estimatedTotalResultsCountField; |
|---|
| 274 | } |
|---|
| 275 | set { |
|---|
| 276 | this.estimatedTotalResultsCountField = value; |
|---|
| 277 | } |
|---|
| 278 | } |
|---|
| 279 | |
|---|
| 280 | /// <remarks/> |
|---|
| 281 | public bool EstimateIsExact { |
|---|
| 282 | get { |
|---|
| 283 | return this.estimateIsExactField; |
|---|
| 284 | } |
|---|
| 285 | set { |
|---|
| 286 | this.estimateIsExactField = value; |
|---|
| 287 | } |
|---|
| 288 | } |
|---|
| 289 | |
|---|
| 290 | /// <remarks/> |
|---|
| 291 | public ResultElement[] ResultElements { |
|---|
| 292 | get { |
|---|
| 293 | return this.resultElementsField; |
|---|
| 294 | } |
|---|
| 295 | set { |
|---|
| 296 | this.resultElementsField = value; |
|---|
| 297 | } |
|---|
| 298 | } |
|---|
| 299 | |
|---|
| 300 | /// <remarks/> |
|---|
| 301 | public string SearchQuery { |
|---|
| 302 | get { |
|---|
| 303 | return this.searchQueryField; |
|---|
| 304 | } |
|---|
| 305 | set { |
|---|
| 306 | this.searchQueryField = value; |
|---|
| 307 | } |
|---|
| 308 | } |
|---|
| 309 | |
|---|
| 310 | /// <remarks/> |
|---|
| 311 | public int StartIndex { |
|---|
| 312 | get { |
|---|
| 313 | return this.startIndexField; |
|---|
| 314 | } |
|---|
| 315 | set { |
|---|
| 316 | this.startIndexField = value; |
|---|
| 317 | } |
|---|
| 318 | } |
|---|
| 319 | |
|---|
| 320 | /// <remarks/> |
|---|
| 321 | public int EndIndex { |
|---|
| 322 | get { |
|---|
| 323 | return this.endIndexField; |
|---|
| 324 | } |
|---|
| 325 | set { |
|---|
| 326 | this.endIndexField = value; |
|---|
| 327 | } |
|---|
| 328 | } |
|---|
| 329 | |
|---|
| 330 | /// <remarks/> |
|---|
| 331 | public string SearchTips { |
|---|
| 332 | get { |
|---|
| 333 | return this.searchTipsField; |
|---|
| 334 | } |
|---|
| 335 | set { |
|---|
| 336 | this.searchTipsField = value; |
|---|
| 337 | } |
|---|
| 338 | } |
|---|
| 339 | |
|---|
| 340 | /// <remarks/> |
|---|
| 341 | public DirectoryCategory[] DirectoryCategories { |
|---|
| 342 | get { |
|---|
| 343 | return this.directoryCategoriesField; |
|---|
| 344 | } |
|---|
| 345 | set { |
|---|
| 346 | this.directoryCategoriesField = value; |
|---|
| 347 | } |
|---|
| 348 | } |
|---|
| 349 | |
|---|
| 350 | /// <remarks/> |
|---|
| 351 | public double SearchTime { |
|---|
| 352 | get { |
|---|
| 353 | return this.searchTimeField; |
|---|
| 354 | } |
|---|
| 355 | set { |
|---|
| 356 | this.searchTimeField = value; |
|---|
| 357 | } |
|---|
| 358 | } |
|---|
| 359 | } |
|---|
| 360 | |
|---|
| 361 | /// <remarks/> |
|---|
| 362 | [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] |
|---|
| 363 | [System.SerializableAttribute()] |
|---|
| 364 | [System.Diagnostics.DebuggerStepThroughAttribute()] |
|---|
| 365 | [System.ComponentModel.DesignerCategoryAttribute("code")] |
|---|
| 366 | [System.Xml.Serialization.SoapTypeAttribute(Namespace="urn:GoogleSearch")] |
|---|
| 367 | public partial class ResultElement { |
|---|
| 368 | |
|---|
| 369 | private string summaryField; |
|---|
| 370 | |
|---|
| 371 | private string uRLField; |
|---|
| 372 | |
|---|
| 373 | private string snippetField; |
|---|
| 374 | |
|---|
| 375 | private string titleField; |
|---|
| 376 | |
|---|
| 377 | private string cachedSizeField; |
|---|
| 378 | |
|---|
| 379 | private bool relatedInformationPresentField; |
|---|
| 380 | |
|---|
| 381 | private string hostNameField; |
|---|
| 382 | |
|---|
| 383 | private DirectoryCategory directoryCategoryField; |
|---|
| 384 | |
|---|
| 385 | private string directoryTitleField; |
|---|
| 386 | |
|---|
| 387 | /// <remarks/> |
|---|
| 388 | public string Summary { |
|---|
| 389 | get { |
|---|
| 390 | return this.summaryField; |
|---|
| 391 | } |
|---|
| 392 | set { |
|---|
| 393 | this.summaryField = value; |
|---|
| 394 | } |
|---|
| 395 | } |
|---|
| 396 | |
|---|
| 397 | /// <remarks/> |
|---|
| 398 | public string Url { |
|---|
| 399 | get { |
|---|
| 400 | return this.uRLField; |
|---|
| 401 | } |
|---|
| 402 | set { |
|---|
| 403 | this.uRLField = value; |
|---|
| 404 | } |
|---|
| 405 | } |
|---|
| 406 | |
|---|
| 407 | /// <remarks/> |
|---|
| 408 | public string Snippet { |
|---|
| 409 | get { |
|---|
| 410 | return this.snippetField; |
|---|
| 411 | } |
|---|
| 412 | set { |
|---|
| 413 | this.snippetField = value; |
|---|
| 414 | } |
|---|
| 415 | } |
|---|
| 416 | |
|---|
| 417 | /// <remarks/> |
|---|
| 418 | public string Title { |
|---|
| 419 | get { |
|---|
| 420 | return this.titleField; |
|---|
| 421 | } |
|---|
| 422 | set { |
|---|
| 423 | this.titleField = value; |
|---|
| 424 | } |
|---|
| 425 | } |
|---|
| 426 | |
|---|
| 427 | /// <remarks/> |
|---|
| 428 | public string CachedSize { |
|---|
| 429 | get { |
|---|
| 430 | return this.cachedSizeField; |
|---|
| 431 | } |
|---|
| 432 | set { |
|---|
| 433 | this.cachedSizeField = value; |
|---|
| 434 | } |
|---|
| 435 | } |
|---|
| 436 | |
|---|
| 437 | /// <remarks/> |
|---|
| 438 | public bool RelatedInformationPresent { |
|---|
| 439 | get { |
|---|
| 440 | return this.relatedInformationPresentField; |
|---|
| 441 | } |
|---|
| 442 | set { |
|---|
| 443 | this.relatedInformationPresentField = value; |
|---|
| 444 | } |
|---|
| 445 | } |
|---|
| 446 | |
|---|
| 447 | /// <remarks/> |
|---|
| 448 | public string HostName { |
|---|
| 449 | get { |
|---|
| 450 | return this.hostNameField; |
|---|
| 451 | } |
|---|
| 452 | set { |
|---|
| 453 | this.hostNameField = value; |
|---|
| 454 | } |
|---|
| 455 | } |
|---|
| 456 | |
|---|
| 457 | /// <remarks/> |
|---|
| 458 | public DirectoryCategory DirectoryCategory { |
|---|
| 459 | get { |
|---|
| 460 | return this.directoryCategoryField; |
|---|
| 461 | } |
|---|
| 462 | set { |
|---|
| 463 | this.directoryCategoryField = value; |
|---|
| 464 | } |
|---|
| 465 | } |
|---|
| 466 | |
|---|
| 467 | /// <remarks/> |
|---|
| 468 | public string DirectoryTitle { |
|---|
| 469 | get { |
|---|
| 470 | return this.directoryTitleField; |
|---|
| 471 | } |
|---|
| 472 | set { |
|---|
| 473 | this.directoryTitleField = value; |
|---|
| 474 | } |
|---|
| 475 | } |
|---|
| 476 | } |
|---|
| 477 | |
|---|
| 478 | /// <remarks/> |
|---|
| 479 | [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] |
|---|
| 480 | [System.SerializableAttribute()] |
|---|
| 481 | [System.Diagnostics.DebuggerStepThroughAttribute()] |
|---|
| 482 | [System.ComponentModel.DesignerCategoryAttribute("code")] |
|---|
| 483 | [System.Xml.Serialization.SoapTypeAttribute(Namespace="urn:GoogleSearch")] |
|---|
| 484 | public partial class DirectoryCategory { |
|---|
| 485 | |
|---|
| 486 | private string fullViewableNameField; |
|---|
| 487 | |
|---|
| 488 | private string specialEncodingField; |
|---|
| 489 | |
|---|
| 490 | /// <remarks/> |
|---|
| 491 | public string fullViewableName { |
|---|
| 492 | get { |
|---|
| 493 | return this.fullViewableNameField; |
|---|
| 494 | } |
|---|
| 495 | set { |
|---|
| 496 | this.fullViewableNameField = value; |
|---|
| 497 | } |
|---|
| 498 | } |
|---|
| 499 | |
|---|
| 500 | /// <remarks/> |
|---|
| 501 | public string specialEncoding { |
|---|
| 502 | get { |
|---|
| 503 | return this.specialEncodingField; |
|---|
| 504 | } |
|---|
| 505 | set { |
|---|
| 506 | this.specialEncodingField = value; |
|---|
| 507 | } |
|---|
| 508 | } |
|---|
| 509 | } |
|---|
| 510 | |
|---|
| 511 | /// <remarks/> |
|---|
| 512 | [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] |
|---|
| 513 | public delegate void doGetCachedPageCompletedEventHandler(object sender, doGetCachedPageCompletedEventArgs e); |
|---|
| 514 | |
|---|
| 515 | /// <remarks/> |
|---|
| 516 | [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] |
|---|
| 517 | [System.Diagnostics.DebuggerStepThroughAttribute()] |
|---|
| 518 | [System.ComponentModel.DesignerCategoryAttribute("code")] |
|---|
| 519 | public partial class doGetCachedPageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
|---|
| 520 | |
|---|
| 521 | private object[] results; |
|---|
| 522 | |
|---|
| 523 | internal doGetCachedPageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
|---|
| 524 | base(exception, cancelled, userState) { |
|---|
| 525 | this.results = results; |
|---|
| 526 | } |
|---|
| 527 | |
|---|
| 528 | /// <remarks/> |
|---|
| 529 | public byte[] Result { |
|---|
| 530 | get { |
|---|
| 531 | this.RaiseExceptionIfNecessary(); |
|---|
| 532 | return ((byte[])(this.results[0])); |
|---|
| 533 | } |
|---|
| 534 | } |
|---|
| 535 | } |
|---|
| 536 | |
|---|
| 537 | /// <remarks/> |
|---|
| 538 | [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] |
|---|
| 539 | public delegate void doSpellingSuggestionCompletedEventHandler(object sender, doSpellingSuggestionCompletedEventArgs e); |
|---|
| 540 | |
|---|
| 541 | /// <remarks/> |
|---|
| 542 | [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] |
|---|
| 543 | [System.Diagnostics.DebuggerStepThroughAttribute()] |
|---|
| 544 | [System.ComponentModel.DesignerCategoryAttribute("code")] |
|---|
| 545 | public partial class doSpellingSuggestionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
|---|
| 546 | |
|---|
| 547 | private object[] results; |
|---|
| 548 | |
|---|
| 549 | internal doSpellingSuggestionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
|---|
| 550 | base(exception, cancelled, userState) { |
|---|
| 551 | this.results = results; |
|---|
| 552 | } |
|---|
| 553 | |
|---|
| 554 | /// <remarks/> |
|---|
| 555 | public string Result { |
|---|
| 556 | get { |
|---|
| 557 | this.RaiseExceptionIfNecessary(); |
|---|
| 558 | return ((string)(this.results[0])); |
|---|
| 559 | } |
|---|
| 560 | } |
|---|
| 561 | } |
|---|
| 562 | |
|---|
| 563 | /// <remarks/> |
|---|
| 564 | [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] |
|---|
| 565 | public delegate void doGoogleSearchCompletedEventHandler(object sender, doGoogleSearchCompletedEventArgs e); |
|---|
| 566 | |
|---|
| 567 | /// <remarks/> |
|---|
| 568 | [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")] |
|---|
| 569 | [System.Diagnostics.DebuggerStepThroughAttribute()] |
|---|
| 570 | [System.ComponentModel.DesignerCategoryAttribute("code")] |
|---|
| 571 | public partial class doGoogleSearchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
|---|
| 572 | |
|---|
| 573 | private object[] results; |
|---|
| 574 | |
|---|
| 575 | internal doGoogleSearchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
|---|
| 576 | base(exception, cancelled, userState) { |
|---|
| 577 | this.results = results; |
|---|
| 578 | } |
|---|
| 579 | |
|---|
| 580 | /// <remarks/> |
|---|
| 581 | public GoogleSearchResult Result { |
|---|
| 582 | get { |
|---|
| 583 | this.RaiseExceptionIfNecessary(); |
|---|
| 584 | return ((GoogleSearchResult)(this.results[0])); |
|---|
| 585 | } |
|---|
| 586 | } |
|---|
| 587 | } |
|---|