Example #1
0
 public SymbolsValidatorService(
     ISymbolsFileService symbolFileService,
     IZipArchiveService zipArchiveService,
     ITelemetryService telemetryService,
     ILogger <SymbolsValidatorService> logger)
 {
     _symbolFileService = symbolFileService ?? throw new ArgumentNullException(nameof(symbolFileService));
     _zipArchiveService = zipArchiveService ?? throw new ArgumentNullException(nameof(zipArchiveService));
     _telemetryService  = telemetryService ?? throw new ArgumentNullException(nameof(telemetryService));
     _logger            = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 private ZipService NewService(IFileService fileService = null, IZipArchiveService zipArchiveService = null)
 {
     return(new ZipService(fileService, zipArchiveService, Mock.Of <ILogger>()));
 }
 public ZipService(IFileService fileService, IZipArchiveService zipArchiveService, ILogger logger)
 {
     _fileService       = fileService;
     _zipArchiveService = zipArchiveService;
     _logger            = logger;
 }
Example #4
0
 public ReportZipService(IFileNameService fileNameService, IZipArchiveService zipArchiveService, IFileService fileService)
 {
     _fileNameService   = fileNameService;
     _zipArchiveService = zipArchiveService;
     _fileService       = fileService;
 }
Example #5
0
 public TestSymbolsValidatorService(ISymbolsFileService symbolFileService, IZipArchiveService zipArchiveService, ITelemetryService telemetryService, ILogger <SymbolsValidatorService> logger) :
     base(symbolFileService, zipArchiveService, telemetryService, logger)
 {
 }