public HtmlDocumentRequest(string name, string html, DocumentOutputType output) : base(name) { DocumentType = Enums.DocumentType.Html; OutputType = output; Html = html; FileContents = null; }
public FileDocumentRequest(string name, byte[] fileBytes, DocumentType documentType, DocumentOutputType output) : base(name) { Html = null; FileContents = Convert.ToBase64String(fileBytes); DocumentType = documentType; OutputType = output; }
/// <remarks/> public void GetDocumentDetailsAsync(string SupplierDocumentId, System.Nullable <int> VersionId, DocumentOutputType TargetFormat, string DataValue, object userState) { if ((this.GetDocumentDetailsOperationCompleted == null)) { this.GetDocumentDetailsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDocumentDetailsOperationCompleted); } this.InvokeAsync("GetDocumentDetails", new object[] { SupplierDocumentId, VersionId, TargetFormat, DataValue }, this.GetDocumentDetailsOperationCompleted, userState); }
/// <remarks/> public void GetDocumentDetailsAsync(string SupplierDocumentId, System.Nullable <int> VersionId, DocumentOutputType TargetFormat, string DataValue) { this.GetDocumentDetailsAsync(SupplierDocumentId, VersionId, TargetFormat, DataValue, null); }
/// <remarks/> public System.IAsyncResult BeginGetDocumentDetails(string SupplierDocumentId, System.Nullable <int> VersionId, DocumentOutputType TargetFormat, string DataValue, System.AsyncCallback callback, object asyncState) { return(this.BeginInvoke("GetDocumentDetails", new object[] { SupplierDocumentId, VersionId, TargetFormat, DataValue }, callback, asyncState)); }
public FilingsDocument GetDocumentDetails(string SupplierDocumentId, [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] System.Nullable <int> VersionId, DocumentOutputType TargetFormat, string DataValue) { object[] results = this.Invoke("GetDocumentDetails", new object[] { SupplierDocumentId, VersionId, TargetFormat, DataValue }); return((FilingsDocument)(results[0])); }
public FileDocumentRequest(string name, string pathToFile, DocumentType documentType, DocumentOutputType output) : this(name, FileHelper.ReadAllBytes(pathToFile), documentType, output) { }