Exemple #1
0
 public CircleDotHashingBenchmarkService(ILogger <CircleDotHashingBenchmarkService> logger, ReadFileService readFileService, IHashingService hashingService)
 {
     _logger          = logger;
     _readFileService = readFileService;
     _rdfFilesPath    = Constants.RdfFilesPath;
     _hashingService  = hashingService;
 }
 public RepositoryPopulatorService(ILogger <RepositoryPopulatorService> logger, ReadFileService readFileService, BlockService blockService, string repositoryUrl, string rdfFilesPath)
 {
     _logger          = logger;
     _readFileService = readFileService;
     _blockService    = blockService;
     _repositoryUrl   = repositoryUrl;
     _rdfFilesPath    = rdfFilesPath;
 }
 public JsonLdHashingBlockCreationBenchmarkService(ILogger <JsonLdHashingBlockCreationBenchmarkService> logger, ReadFileService readFileService, BlockService blockService)
 {
     _logger                   = logger;
     _readFileService          = readFileService;
     _repositoryUrl            = Constants.RepositoryUrl;
     _clearRepositoryAfterTest = Constants.ClearRepositoryAfterTest;
     _rdfFilesPath             = Constants.RdfFilesPath;
     _blockService             = blockService;
 }
 public UploadFileRepository()
 {
     _httpClient = new HttpClient();
     _urlGateawayKeyUserViewModel = ReadFileService.GetUrlAndKey();
 }