Class AzureBlobStorageCacheResolver
Provides means to manage image buffers within the AzureBlobStorageCache.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Web.Resolvers.Azure
Assembly: SixLabors.ImageSharp.Web.Providers.Azure.dll
Syntax
public class AzureBlobStorageCacheResolver : IImageCacheResolver
Constructors
| Edit this page View SourceAzureBlobStorageCacheResolver(BlobClient)
Initializes a new instance of the AzureBlobStorageCacheResolver class.
Declaration
public AzureBlobStorageCacheResolver(BlobClient blob)
Parameters
Type | Name | Description |
---|---|---|
BlobClient | blob | The Azure blob. |
Methods
| Edit this page View SourceGetMetaDataAsync()
Asynchronously gets metadata associated with this image.
Declaration
public Task<ImageCacheMetadata> GetMetaDataAsync()
Returns
Type | Description |
---|---|
Task<ImageCacheMetadata> | The ImageCacheMetadata. |
OpenReadAsync()
Asynchronously gets the input image stream.
Declaration
public Task<Stream> OpenReadAsync()
Returns
Type | Description |
---|---|
Task<Stream> | The Task<TResult>. |