Esempio n. 1
0
 protected S3RepositoryLoggerBase(
     ILogger <S3RepositoryLoggerBase> logger,
     IBucketNameConstructor bucketNameConstructor)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _bucketNameConstructor = bucketNameConstructor ?? throw new ArgumentNullException(nameof(bucketNameConstructor));
 }
Esempio n. 2
0
 public S3RepositoryReader(
     IAmazonS3 amazonS3,
     IBucketNameConstructor bucketNameConstructor,
     IDataContainerConverter <TValue> containerConverter) : base(bucketNameConstructor, amazonS3)
 {
     _containerConverter = containerConverter ?? throw new ArgumentNullException(nameof(containerConverter));
 }
Esempio n. 3
0
 public S3BatchRepositoryCleaner(
     IBatchRepositoryReader <S3FileKey, S3FolderKey> batchRepositoryReader,
     IBucketNameConstructor bucketNameConstructor,
     IAmazonS3 amazonS3) : base(bucketNameConstructor, amazonS3)
 {
     _batchRepositoryReader = batchRepositoryReader ?? throw new ArgumentNullException(nameof(batchRepositoryReader));
 }
 public S3RepositoryWriterLogger(
     IRepositoryWriter <S3FileKey, TValue> s3ClientWriter,
     ILogger <S3RepositoryWriterLogger <TValue> > logger,
     IBucketNameConstructor bucketNameConstructor)
     : base(logger, bucketNameConstructor)
 {
     _s3ClientWriter = s3ClientWriter ?? throw new ArgumentNullException(nameof(s3ClientWriter));
 }
Esempio n. 5
0
 public S3RepositoryCleanerLogger(
     IRepositoryCleaner <S3FileKey> repositoryCleaner,
     ILogger <S3RepositoryCleanerLogger> logger,
     IBucketNameConstructor bucketNameConstructor)
     : base(logger, bucketNameConstructor)
 {
     _repositoryCleaner = repositoryCleaner ?? throw new ArgumentNullException(nameof(repositoryCleaner));
 }
 public S3BatchRepositoryCleanerLogger(
     IBatchRepositoryCleaner <S3FolderKey> batchRepositoryCleaner,
     ILogger <S3BatchRepositoryCleanerLogger> logger,
     IBucketNameConstructor bucketNameConstructor)
     : base(logger, bucketNameConstructor)
 {
     _batchRepositoryCleaner = batchRepositoryCleaner ?? throw new ArgumentNullException(nameof(batchRepositoryCleaner));
 }
 public S3HistoryRepositoryReaderLogger(
     IHistoryRepositoryReader <S3FileKey, TValue> repositoryHistoryReader,
     ILogger <S3HistoryRepositoryReaderLogger <TValue> > logger,
     IBucketNameConstructor bucketNameConstructor)
     : base(logger, bucketNameConstructor)
 {
     _repositoryHistoryReader = repositoryHistoryReader ??
                                throw new ArgumentNullException(nameof(repositoryHistoryReader));
 }
Esempio n. 8
0
 public S3HistoryRepositoryReader(
     IRepositoryReader <S3FileKey, TValue> repositoryReader,
     int maxConcurrentTasks,
     IBucketNameConstructor bucketNameConstructor,
     IAmazonS3 amazonS3) : base(bucketNameConstructor, amazonS3)
 {
     _repositoryReader   = repositoryReader ?? throw new ArgumentNullException(nameof(repositoryReader));
     _maxConcurrentTasks = maxConcurrentTasks;
 }
 protected S3RepositoryBase(IBucketNameConstructor bucketNameConstructor,
                            IAmazonS3 amazonS3)
 {
     BucketNameConstructor = bucketNameConstructor ?? throw new ArgumentNullException(nameof(bucketNameConstructor));
     AmazonS3 = amazonS3 ?? throw new ArgumentNullException(nameof(amazonS3));
 }
Esempio n. 10
0
 public S3BatchRepositoryReader(IBucketNameConstructor bucketNameConstructor,
                                IAmazonS3 amazonS3) : base(bucketNameConstructor, amazonS3)
 {
 }
Esempio n. 11
0
 public S3RepositoryCleaner(IAmazonS3 amazonS3,
                            IBucketNameConstructor bucketNameConstructor) : base(bucketNameConstructor, amazonS3)
 {
 }