Class AWSS3StorageCacheResolver
Provides means to manage image buffers within the AWSS3StorageCacheResolver.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Web.Resolvers.AWS
Assembly: SixLabors.ImageSharp.Web.Providers.AWS.dll
Syntax
public class AWSS3StorageCacheResolver : IImageCacheResolver
Constructors
| Edit this page View SourceAWSS3StorageCacheResolver(IAmazonS3, string, string, MetadataCollection)
Initializes a new instance of the AWSS3StorageCacheResolver class.
Declaration
public AWSS3StorageCacheResolver(IAmazonS3 amazonS3, string bucketName, string imagePath, MetadataCollection metadata)
Parameters
Type | Name | Description |
---|---|---|
IAmazonS3 | amazonS3 | The Amazon S3 Client |
string | bucketName | The bucket name. |
string | imagePath | The image path. |
MetadataCollection | metadata | The metadata collection. |
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>. |