Esempio n. 1
0
 public DefaultStorageService(ClusterService clusterSvce,
                              IOptionsMonitor <GeneralOption> option, IOptionsMonitor <DbOption> dbOption,
                              ILogger <DefaultStorageService> logger, IMimeProvider mimeProvider, IRepositoryAccessor repoAccessor)
 {
     _clusterSvce  = clusterSvce;
     _logger       = logger;
     _mimeProvider = mimeProvider;
     _repoAccessor = repoAccessor;
     _dbOption     = dbOption;
     _option       = option;
 }
Esempio n. 2
0
 public FileUploadService(IStorageService storageSvce, ClusterService clusterSvce, ILogger <FileUploadService> logger,
                          IMimeProvider mimeProvider, IRepositoryAccessor dataAccessor, AppSecretSigner appSecretSigner, IFileTokenCodec fileTokenCodec, IOwnerTokenCodec ownerTokenCodec, IHttpContextAccessor httpCtxAccessor)
 {
     _storageSvce     = storageSvce;
     _clusterSvce     = clusterSvce;
     _logger          = logger;
     _mimeProvider    = mimeProvider;
     _dataAccessor    = dataAccessor;
     _appSecretSigner = appSecretSigner;
     _fileTokenCodec  = fileTokenCodec;
     _ownerTokenCodec = ownerTokenCodec;
     _httpCtxAccessor = httpCtxAccessor;
 }