示例#1
0
 public UpdateService()
 {
     _configurationManifestService          = StaticData.Get <IConfigurationManifestService>();
     _configurationManifestValidatorService = StaticData.Get <IConfigurationManifestValidatorService>();
     _fileDownloaderService = StaticData.Get <IFileDownloaderService>();
     _fileValidatorService  = StaticData.Get <IFileValidatorService>();
 }
示例#2
0
 public ScannerService(IReaderFileService readerFile
                       , IFileValidatorService fileValidator
                       , IRepository repository
                       , IParserFileService parserFile)
 {
     _repository    = repository;
     _readerFile    = readerFile;
     _fileValidator = fileValidator;
     _parserFile    = parserFile;
 }
示例#3
0
 public OrchestratorService(
     ILogger <OrchestratorService> logger,
     IValidationService validationService,
     IFileClassService classService,
     IFileQueryService queryService,
     IFileRepositoryService repositoryService,
     IFileServiceService serviceService,
     IFileValidatorService validatorService,
     IFileControllerService controllerService,
     IFileService fileService)
 {
     _logger            = logger ?? throw new ArgumentNullException(nameof(logger));
     _validationService = validationService ?? throw new ArgumentNullException(nameof(validationService));
     _classService      = classService ?? throw new ArgumentNullException(nameof(classService));
     _queryService      = queryService ?? throw new ArgumentNullException(nameof(queryService));
     _repositoryService = repositoryService ?? throw new ArgumentNullException(nameof(repositoryService));
     _serviceService    = serviceService ?? throw new ArgumentNullException(nameof(serviceService));
     _validatorService  = validatorService ?? throw new ArgumentNullException(nameof(validatorService));
     _controllerService = controllerService ?? throw new ArgumentNullException(nameof(controllerService));
     _fileService       = fileService ?? throw new ArgumentNullException(nameof(fileService));
 }
示例#4
0
 public FileHandlerService(IFileValidatorService fileValidatorService)
 {
     _fileValidatorService = fileValidatorService;
     FolderTypeHelper.InitializeDirectories($"{Directory.GetParent(Directory.GetCurrentDirectory())}");
 }
示例#5
0
 public DeleteService()
 {
     _fileValidatorService = StaticData.Get <IFileValidatorService>();
 }