public TemplatesManagementService( VStoreContext context, UploadFileOptions uploadFileOptions, ITemplatesStorageReader templatesStorageReader, DistributedLockManager distributedLockManager) { _context = context; _templatesStorageReader = templatesStorageReader; _distributedLockManager = distributedLockManager; _maxBinarySize = uploadFileOptions.MaxBinarySize; }
public TemplatesManagementService( UploadFileOptions uploadFileOptions, CephOptions cephOptions, IS3Client s3Client, ITemplatesStorageReader templatesStorageReader, DistributedLockManager distributedLockManager) { _s3Client = s3Client; _templatesStorageReader = templatesStorageReader; _distributedLockManager = distributedLockManager; _bucketName = cephOptions.TemplatesBucketName; _maxBinarySize = uploadFileOptions.MaxBinarySize; }