12 lines
570 B
C#
12 lines
570 B
C#
using LiteCharms.Features.S3.Abstractions;
|
|
using static LiteCharms.Features.S3.Constants;
|
|
|
|
namespace LiteCharms.Features.S3;
|
|
|
|
public class BookshopQuotesS3Service(IConfiguration configuration, [FromKeyedServices(BookshopQuotesBucketName)] IAmazonS3 amazonS3) :
|
|
S3ServiceBase(amazonS3), IS3Service
|
|
{
|
|
protected override string BucketName => configuration.GetSection($"{BookshopQuotesS3SettingsSection}:BucketName").Value ?? "";
|
|
protected override string CdnBaseUrl => configuration.GetSection($"{BookshopQuotesS3SettingsSection}:CdnBaseUrl").Value ?? "";
|
|
}
|