Esempio n. 1
0
 public FastDFSFileProvider(ILogger <FastDFSFileProvider> logger, IClock clock, IFastDFSFileNameCalculator fastDFSFileNameCalculator, IFastDFSFileProviderConfigurationFactory configurationFactory, IFastDFSClient client)
 {
     Logger = logger;
     Clock  = clock;
     FastDFSFileNameCalculator = fastDFSFileNameCalculator;
     ConfigurationFactory      = configurationFactory;
     Client = client;
 }
 public FastDFSFileProvider(
     ILogger <FastDFSFileProvider> logger,
     IClock clock,
     IFastDFSFileNameCalculator fileNameCalculator,
     IFileNormalizeNamingService fileNormalizeNamingService,
     IFastDFSFileProviderConfigurationFactory configurationFactory,
     IFastDFSClient client)
 {
     Logger                     = logger;
     Clock                      = clock;
     FileNameCalculator         = fileNameCalculator;
     FileNormalizeNamingService = fileNormalizeNamingService;
     ConfigurationFactory       = configurationFactory;
     Client                     = client;
 }
Esempio n. 3
0
 public SampleAppService(ILogger <SampleAppService> logger, IFastDFSClient client)
 {
     _logger = logger;
     _client = client;
 }