BlobService Class

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Service layer for blobs.

public static class BlobService
Inheritance:
System.Object → BlobService

Methods

DownloadTo(Blob, Stream) Downloads a blob to the specified destination.
DownloadTo(Blob, Stream, long, long) Downloads a range of bytes from the blob to the specified destination.
DownloadToAsync(Blob, Stream) Downloads a blob to the specified destination.
DownloadToAsync(Blob, Stream, long, long) Downloads a range of bytes from the blob to the specified destination.
Get(IEnumerable, bool) Get meta data for the specified blobs.
Get(int, bool) Get meta data for the specified blob.
Get(string, bool) Get meta data for the specified blob.
GetContent(Blob) Get the blob content as a System.IO.FileInfo object.
GetContent(Blob, string) Gets the blob content converted to the format specified in extension.
GetSize() Gets the size, in bytes, of all blobs in the repository.
Insert(Blob, Stream) Inserts a Blob
Insert(ExternalBlob) Inserts an external Blob
Insert(string) Create a Blob from the content in the specified file.