public DownloadDocumentViewModel DownloadDocument(downloadRequest downloadRequest)
 {
     object[] results = this.Invoke("DownloadDocument", new object[] {
         downloadRequest
     });
     return((DownloadDocumentViewModel)(results[0]));
 }
 /// <remarks/>
 public void DownloadDocumentAsync(downloadRequest downloadRequest, object userState)
 {
     if ((this.DownloadDocumentOperationCompleted == null))
     {
         this.DownloadDocumentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDownloadDocumentOperationCompleted);
     }
     this.InvokeAsync("DownloadDocument", new object[] {
         downloadRequest
     }, this.DownloadDocumentOperationCompleted, userState);
 }
 /// <remarks/>
 public void DownloadDocumentAsync(downloadRequest downloadRequest)
 {
     this.DownloadDocumentAsync(downloadRequest, null);
 }