Пример #1
0
 /// <summary>
 /// Upload a document to the server
 /// </summary>
 /// <param name="data">The byte array to upload to the server</param>
 /// <param name="documentId">The <see cref="string"/></param>
 /// <param name="field">The <see cref="string"/></param>
 /// <returns>a new instance of the <see cref="Blob"/></returns>
 public Blob Upload(byte[] data, string documentId, string field)
 {
     return(Blob.Upload(client, data, documentId, field));
 }
Пример #2
0
 /// <summary>
 /// Upload a document to the server
 /// </summary>
 /// <param name="uploadFilePath">The <see cref="string"/></param>
 /// <param name="documentId">The <see cref="string"/></param>
 /// <param name="field">The <see cref="string"/></param>
 /// <param name="fileName">The <see cref="string"/></param>
 /// <returns>a new instance of the <see cref="Blob"/></returns>
 public Blob Upload(string uploadFilePath, string documentId, string field, string fileName)
 {
     return(Blob.Upload(client, uploadFilePath, documentId, field, fileName));
 }