public UpdateService() { _configurationManifestService = StaticData.Get <IConfigurationManifestService>(); _configurationManifestValidatorService = StaticData.Get <IConfigurationManifestValidatorService>(); _fileDownloaderService = StaticData.Get <IFileDownloaderService>(); _fileValidatorService = StaticData.Get <IFileValidatorService>(); }
public ScannerService(IReaderFileService readerFile , IFileValidatorService fileValidator , IRepository repository , IParserFileService parserFile) { _repository = repository; _readerFile = readerFile; _fileValidator = fileValidator; _parserFile = parserFile; }
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)); }
public FileHandlerService(IFileValidatorService fileValidatorService) { _fileValidatorService = fileValidatorService; FolderTypeHelper.InitializeDirectories($"{Directory.GetParent(Directory.GetCurrentDirectory())}"); }
public DeleteService() { _fileValidatorService = StaticData.Get <IFileValidatorService>(); }