AzureBlobProvider Class

Namespace:
Weavy.Core.Providers
Assembly:
Weavy.Core.dll

Azure Blob Storage implementation of the IBlobProvider interface.

[Guid("D3E69E1E-D2FA-4BD8-9B36-3F3A3858F5BC")]
public class AzureBlobProvider : IBlobProvider, IProvider, IExtension
Inheritance:
System.Object → AzureBlobProvider
Attributes:
System.Runtime.InteropServices.GuidAttribute
Implements:
IBlobProvider, IProvider, IExtension

Constructors

AzureBlobProvider() Initializes a new instance of the AzureBlobProvider.

Methods

Delete(Blob) Permanently removes blob data from the repository.
DownloadTo(Blob, Stream) Writes the binary data of the blob from the provider to the specified output stream.
DownloadTo(Blob, Stream, long, long) Downloads a range of bytes from the blob to a destination.
DownloadToAsync(Blob, Stream) Writes the binary data of the blob from the provider to the specified output stream.
DownloadToAsync(Blob, Stream, long, long) Downloads a range of bytes from the blob to a destination.
Exists(Blob) Checks if the specified blob exists.
Upload(Blob, Stream) Reads the binary data from the specified input stream and stores it as a blob.
UploadAsync(Blob, Stream) Reads the binary data from the specified input stream and stores it as a blob.

Extension Methods

Serialize(object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.