public EntrySaverService(IFTPEntryRepo entryRepo, IFTPPathRepo pathRepo, IIdProvider idProvider, ILoggerService logger) { _entryRepo = entryRepo ?? throw new ArgumentNullException(nameof(entryRepo)); _pathRepo = pathRepo ?? throw new ArgumentNullException(nameof(pathRepo)); _idProvider = idProvider ?? throw new ArgumentNullException(nameof(idProvider)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public FTPPathController(IPathService pathService, IFTPPathRepo Repo, ILoggerService Logger, IIdProvider IdProvider) : base() { _pathService = pathService ?? throw new ArgumentNullException(nameof(pathService)); _repo = Repo ?? throw new ArgumentNullException(nameof(Repo)); _logger = Logger ?? throw new ArgumentNullException(nameof(Logger)); _idProvider = IdProvider ?? throw new ArgumentNullException(nameof(IdProvider)); }
public FTPFileController(IFTPEntryRepo entryRepo, IFTPPathRepo pathRepo, IEntrySaverService treeLookerService, IIdProvider idProvider, ILoggerService logger, IArchiveService archiveService) { _entryRepo = entryRepo ?? throw new ArgumentNullException(nameof(entryRepo)); _pathRepo = pathRepo ?? throw new ArgumentNullException(nameof(pathRepo)); _treeSaverService = treeLookerService ?? throw new ArgumentNullException(nameof(treeLookerService)); _idProvider = idProvider ?? throw new ArgumentNullException(nameof(idProvider)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _archiveService = archiveService ?? throw new ArgumentNullException(nameof(archiveService)); }
public PathService(IAPIConfigService Config, IFTPPathRepo FtpPathRepo) { config = Config ?? throw new ArgumentNullException(nameof(Config)); ftpPathRepo = FtpPathRepo ?? throw new ArgumentNullException(nameof(FtpPathRepo)); }