Глобальный рефакторинг пространств имён

This commit is contained in:
2025-10-02 13:29:30 +04:00
parent d23d81fb53
commit 2fa94851cb
3176 changed files with 27146 additions and 30584 deletions
@@ -0,0 +1,29 @@
using System.IO;
using Pf2e.Scrapper.Helpers;
namespace Pf2e.Scrapper.Importers.Repositories;
/// <summary>
/// Класс абстрактного репозитория.
/// </summary>
/// <param name="importer">Импортёр, использующий репозиторий.</param>
internal abstract class AbstractImporterRepository(AbstractImporter importer)
{
/// <summary>
/// Импортёр, использующий репозиторий.
/// </summary>
public readonly AbstractImporter Importer = importer;
/// <inheritdoc cref="AbstractImporter.Dir"/>
public string RepositoryDirPath => Importer.Dir;
/// <summary>
/// CLR-представкление директории с данными.
/// </summary>
public DirectoryInfo RepositoryDir => new(RepositoryDirPath);
/// <summary>
/// Обновление данных в репозитории.
/// </summary>
public abstract void Update(ProcessProgress progress);
}