using System.IO; using Pf2e.Scrapper.Helpers; namespace Pf2e.Scrapper.Importers.Repositories; /// /// Класс абстрактного репозитория. /// /// Импортёр, использующий репозиторий. public abstract class AbstractImporterRepository(AbstractImporter importer) { /// /// Импортёр, использующий репозиторий. /// public readonly AbstractImporter Importer = importer; /// public string RepositoryDirPath => Importer.Dir; /// /// CLR-представкление директории с данными. /// public DirectoryInfo RepositoryDir => new(RepositoryDirPath); /// /// Обновление данных в репозитории. /// public abstract void Update(ProcessProgress progress); }