Пример #1
0
 /// <summary>
 /// The Get
 /// </summary>
 /// <param name="blobId">The <see cref="string"/></param>
 /// <returns>The <see cref="Blob"/></returns>
 public Blob Get(string blobId)
 {
     return(Blob.Get(client, blobId));
 }
Пример #2
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));
 }
Пример #3
0
 /// <summary>
 /// The Delete
 /// </summary>
 /// <param name="blobId">The <see cref="string"/></param>
 public void Delete(string blobId)
 {
     Blob.Delete(client, blobId);
 }
Пример #4
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));
 }