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
| Improve this Doc 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
| Improve this Doc View SourceGetMetaDataAsync()
Declaration
public Task<ImageCacheMetadata> GetMetaDataAsync()
Returns
| Type | Description |
|---|---|
| Task<ImageCacheMetadata> |
OpenReadAsync()
Declaration
public Task<Stream> OpenReadAsync()
Returns
| Type | Description |
|---|---|
| Task<Stream> |