コード例 #1
0
 public UploadHelper(
     ILogProvider logProvider,
     ConnectionString connectionString,
     LightDmsOptions lightDmsOptions,
     S3Options s3Options,
     AzureStorageClient azureStorageClient,
     S3StorageClient s3StorageClient)
 {
     _performanceLogger  = logProvider.GetLogger("Performance.LightDMS");
     _connectionString   = connectionString;
     _lightDmsOptions    = lightDmsOptions;
     _s3Options          = s3Options;
     _azureStorageClient = azureStorageClient;
     _s3StorageClient    = s3StorageClient;
 }
コード例 #2
0
ファイル: DownloadHelper.cs プロジェクト: Rhetos/LightDMS
 public DownloadHelper(
     ILogProvider logProvider,
     ConnectionString connectionString,
     IContentTypeProvider contentTypeProvider,
     S3Options s3Options,
     AzureStorageClient azureStorageClient,
     S3StorageClient s3StorageClient)
 {
     _logger              = logProvider.GetLogger(GetType().Name);
     _connectionString    = connectionString;
     _contentTypeProvider = contentTypeProvider;
     _respond             = new Respond(logProvider);
     _s3Options           = s3Options;
     _azureStorageClient  = azureStorageClient;
     _s3StorageClient     = s3StorageClient;
 }