From b96bd2a224b7767eff48cb951b07c5c091ef0c62 Mon Sep 17 00:00:00 2001 From: Ilya Kozhemyakin Date: Sun, 1 Jun 2025 20:38:43 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20?= =?UTF-8?q?=D1=81=20=D0=B4=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AbstractInputProcessor.md | 4 +- .../Pf2eDataScrapper.Helpers.md | 2 + ...rters.Implementations.Aonprd.Compendium.md | 2 + ...mporters.Implementations.Aonprd.Helpers.md | 2 + ...mplementations.Aonprd.Processors.Common.md | 8 - ...entations.Aonprd.Processors.Preparation.md | 4 + ...mentations.Aonprd.Processors.Subclasses.md | 2 + ...entations.Aonprd.Processors.Types.Rules.md | 2 + ...Implementations.Aonprd.Processors.Types.md | 2 + ...rters.Implementations.Aonprd.Processors.md | 2 + ...rapper.Importers.Implementations.Aonprd.md | 2 + ...rs.Implementations.FoundryEn.Compendium.md | 2 + ...ations.FoundryEn.Processors.Preparation.md | 2 + ...per.Importers.Implementations.FoundryEn.md | 2 + ...Pf2eDataScrapper.Importers.Repositories.md | 2 + .../Pf2eDataScrapper.Importers.md | 2 + .../Pf2eDataScrapper.Processors.Attributes.md | 2 + .../Pf2eDataScrapper.Processors.Collection.md | 2 + ...Pf2eDataScrapper.Processors.Definitions.md | 2 + .../Pf2eDataScrapper.Processors.Factory.md | 2 + .../Pf2eDataScrapper.Processors.md | 2 + .../Pf2eDataScrapper.SchemaBuilder.Types.md | 2 + .../Pf2eDataScrapper.SchemaBuilder.md | 2 + ...DataScrapper.WPF.EntityViewer.Component.md | 2 + ...er.WPF.EntityViewer.EntityViewStructure.md | 2 + ...f2eDataScrapper.WPF.EntityViewer.Stores.md | 2 + ...DataScrapper.WPF.EntityViewer.ViewModel.md | 2 + .../Pf2eDataScrapper.WPF.EntityViewer.md | 2 + .../Pf2eDataScrapper.WPF.ProgressForm.md | 2 + ...2eDataScrapper.WPF.StartForm.Components.md | 2 + .../Pf2eDataScrapper.WPF.StartForm.md | 2 + .../Pf2eDataScrapper/Pf2eDataScrapper.WPF.md | 2 + .../Pf2eDataScrapper/Pf2eDataScrapper.md | 2 + .../Pf2eDataScrapper/ProcessorGroupEnum.md | 12 +- Documentation/Pf2eDataScrapper/SchemaNode.md | 9 + .../SkillProcessor.Process().md | 2 +- .../Pf2eDataScrapper/SkillProcessor.Save().md | 2 +- .../SkillProcessor.Training.md | 2 +- .../Pf2eDataScrapper/SkillProcessor.md | 8 +- .../SourceProcessor.Process().md | 2 +- .../SourceProcessor.Save().md | 2 +- .../SourceProcessor.Source.md | 2 +- .../Pf2eDataScrapper/SourceProcessor.md | 8 +- Documentation/Pf2eDataScrapper/index.md | 63 +++-- ...Function.BuildTargetModel(ModelBuilder).md | 20 -- .../Function.Down(MigrationBuilder).md | 28 -- .../Function.Up(MigrationBuilder).md | 26 -- Documentation/Pf2eModel/Function.md | 21 -- .../Pf2eModel/Pf2eModel.Migrations.md | 8 - .../Pf2eModel.Model.Base.Keywords.md | 2 + .../Pf2eModel/Pf2eModel.Model.Base.Source.md | 2 + .../Pf2eModel/Pf2eModel.Model.Base.Targets.md | 2 + .../Pf2eModel/Pf2eModel.Model.Base.md | 2 + .../Pf2eModel/Pf2eModel.Model.Common.I18n.md | 2 + .../Pf2eModel/Pf2eModel.Model.Common.md | 2 + .../Pf2eModel/Pf2eModel.Model.Enum.md | 2 + ...eModel.Model.Structure.AncestryRelation.md | 2 + ...Model.Model.Structure.ArchetypeRelation.md | 2 + ...odel.Model.Structure.BackgroundRelation.md | 2 + ...Pf2eModel.Model.Structure.ClassRelation.md | 2 + ...Pf2eModel.Model.Structure.DeityRelation.md | 2 + .../Pf2eModel.Model.Structure.FeatRelation.md | 2 + ...f2eModel.Model.Structure.RitualRelation.md | 2 + ...Pf2eModel.Model.Structure.SpellRelation.md | 2 + .../Pf2eModel/Pf2eModel.Model.Structure.md | 3 + Documentation/Pf2eModel/Pf2eModel.Model.md | 2 + .../_1.BuildTargetModel(ModelBuilder).md | 20 -- .../Pf2eModel/_1.Down(MigrationBuilder).md | 28 -- .../Pf2eModel/_1.Up(MigrationBuilder).md | 26 -- Documentation/Pf2eModel/_1.md | 21 -- Documentation/Pf2eModel/index.md | 35 ++- Documentation/index.md | 2 + Pf2eDataScrapper/Documentation.cs | 247 ++++++++++++++++++ .../ExternalProcessor.cs | 3 +- .../{Common => Preparation}/SkillProcessor.cs | 2 +- .../SourceProcessor.cs | 2 +- .../Attributes/ProcessorGroupEnum.cs | 12 +- Pf2eDataScrapper/SchemaBuilder/SchemaNode.cs | 8 + Pf2eModel/Documentation.cs | 153 +++++++++++ Pf2eModel/Pf2eDbContext.cs | 5 - README.md | 53 +--- 81 files changed, 602 insertions(+), 341 deletions(-) delete mode 100644 Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md delete mode 100644 Documentation/Pf2eModel/Function.BuildTargetModel(ModelBuilder).md delete mode 100644 Documentation/Pf2eModel/Function.Down(MigrationBuilder).md delete mode 100644 Documentation/Pf2eModel/Function.Up(MigrationBuilder).md delete mode 100644 Documentation/Pf2eModel/Function.md delete mode 100644 Documentation/Pf2eModel/Pf2eModel.Migrations.md delete mode 100644 Documentation/Pf2eModel/_1.BuildTargetModel(ModelBuilder).md delete mode 100644 Documentation/Pf2eModel/_1.Down(MigrationBuilder).md delete mode 100644 Documentation/Pf2eModel/_1.Up(MigrationBuilder).md delete mode 100644 Documentation/Pf2eModel/_1.md create mode 100644 Documentation/index.md create mode 100644 Pf2eDataScrapper/Documentation.cs rename Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/{Common => Preparation}/ExternalProcessor.cs (95%) rename Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/{Common => Preparation}/SkillProcessor.cs (98%) rename Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/{Common => Preparation}/SourceProcessor.cs (98%) create mode 100644 Pf2eModel/Documentation.cs diff --git a/Documentation/Pf2eDataScrapper/AbstractInputProcessor.md b/Documentation/Pf2eDataScrapper/AbstractInputProcessor.md index 2aca03b..a7d4e60 100644 --- a/Documentation/Pf2eDataScrapper/AbstractInputProcessor.md +++ b/Documentation/Pf2eDataScrapper/AbstractInputProcessor.md @@ -15,8 +15,8 @@ Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System. Derived ↳ [AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor') -↳ [SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SkillProcessor') -↳ [SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SourceProcessor') +↳ [SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SkillProcessor') +↳ [SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SourceProcessor') Implements [IProcessor](IProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor') diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Helpers.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Helpers.md index 6767ed7..cf14dfd 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Helpers.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Helpers.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Helpers Namespace +Классы\-помощники, используемые во всех частях проекта\. + | Classes | | | :--- | :--- | | [DatabaseHelper](DatabaseHelper.md 'Pf2eDataScrapper\.Helpers\.DatabaseHelper') | Класс предоставляет методы для работы с базой данных\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Compendium.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Compendium.md index d04ff9d..9d5a83c 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Compendium.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Compendium.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Compendium Namespace +Компендиум данных из сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. + | Classes | | | :--- | :--- | | [AonprdCompendium](AonprdCompendium.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Compendium\.AonprdCompendium') | Класс хранения данных компендиума\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.md index b5164b0..2dfd27b 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers Namespace +Класс\-помощники, которые используются в импортере данных из сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. + | Classes | | | :--- | :--- | | [AonprdBuilderGlobals](AonprdBuilderGlobals.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.AonprdBuilderGlobals') | Класс\-помощник, хранящий необходимые глобальные данные\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md deleted file mode 100644 index 2f38105..0000000 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md +++ /dev/null @@ -1,8 +0,0 @@ -#### [Pf2eDataScrapper](index.md 'index') - -## Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common Namespace - -| Classes | | -| :--- | :--- | -| [SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SkillProcessor') | | -| [SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SourceProcessor') | | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md index fdf107c..cbb063f 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md @@ -2,7 +2,11 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation Namespace +Обработчики для подготовки данных [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. + | Classes | | | :--- | :--- | | [AonprdTypeResolver](AonprdTypeResolver.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.AonprdTypeResolver') | Класс для определения типа поля в схеме данных\. | | [SchemaBuildProcessor](SchemaBuildProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SchemaBuildProcessor') | | +| [SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SkillProcessor') | | +| [SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SourceProcessor') | | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Subclasses.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Subclasses.md index b2045c2..65032f6 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Subclasses.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Subclasses.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Subclasses Namespace +Обработчики подклассов с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. + | Classes | | | :--- | :--- | | [ApparitionProcessor](ApparitionProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Subclasses\.ApparitionProcessor') | | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.Rules.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.Rules.md index c72c49b..0a3be4c 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.Rules.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.Rules.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.Rules Namespace +Обработчики правил с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. + | Classes | | | :--- | :--- | | [RuleProcessor](RuleProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.Rules\.RuleProcessor') | | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md index 55ec391..03f2a85 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types Namespace +Обработчики основных сущностей с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. + | Classes | | | :--- | :--- | | [ActionProcessor](ActionProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor') | | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md index 7a1d24d..d8d685d 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors Namespace +Обработчики данных из сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. + | Classes | | | :--- | :--- | | [AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor') | Абстрактный класс\-обработчик сущностей, полученных из Архивов Нефиса\. Класс предназначен для обработки данных с помощью различных обработчиков, для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.md index eb9be36..ae9a2b0 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.Aonprd.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.Aonprd Namespace +Импортёр данных из сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. + | Classes | | | :--- | :--- | | [AonprdImporter](AonprdImporter.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.AonprdImporter') | Класс обработки данных с сайта Архивов Нефеса\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.Compendium.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.Compendium.md index e90c46b..715689d 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.Compendium.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.Compendium.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Compendium Namespace +Компендиум данных из модуля [pf2e](https://github.com/foundryvtt/pf2e 'https://github\.com/foundryvtt/pf2e') для FoundryVTT\. + | Classes | | | :--- | :--- | | [CompendiumFolder](CompendiumFolder.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Compendium\.CompendiumFolder') | Папка компендиума\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.Processors.Preparation.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.Processors.Preparation.md index 5fd5134..bb2cc59 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.Processors.Preparation.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.Processors.Preparation.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Processors\.Preparation Namespace +Обработчики для подготовки данных из модуля [pf2e](https://github.com/foundryvtt/pf2e 'https://github\.com/foundryvtt/pf2e') для FoundryVTT\. + | Classes | | | :--- | :--- | | [CompendiumFolderProcessor](CompendiumFolderProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Processors\.Preparation\.CompendiumFolderProcessor') | | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.md index f2d51bd..0f24784 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Implementations.FoundryEn.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn Namespace +Импортёр данных из модуля [pf2e](https://github.com/foundryvtt/pf2e 'https://github\.com/foundryvtt/pf2e') для FoundryVTT\. + | Classes | | | :--- | :--- | | [FoundryEnImporter](FoundryEnImporter.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.FoundryEnImporter') | Импортёр для модуля Pf2e FoundryVTT\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Repositories.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Repositories.md index 194dd64..e605d7a 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Repositories.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.Repositories.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers\.Repositories Namespace +Общее описание репозиториев для хранения данных, которые используются в импортёрах и процессорах\. + | Classes | | | :--- | :--- | | [AbstractImporterRepository](AbstractImporterRepository.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository') | Класс абстрактного репозитория\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.md index aaa1068..2f4ecc0 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Importers.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Importers Namespace +Описание импортёров, которые определяют наборы обработчиков данных и элементов, необходимых для их работы\. + | Classes | | | :--- | :--- | | [AbstractCompendium](AbstractCompendium.md 'Pf2eDataScrapper\.Importers\.AbstractCompendium') | Компендиум данных\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Attributes.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Attributes.md index 7e2a198..5991609 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Attributes.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Attributes.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Processors\.Attributes Namespace +Классы\-аттрибуты, которые используются для описания обработчиков данных и их свойств\. + | Classes | | | :--- | :--- | | [AbstractProcessorAttribute](AbstractProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute') | Абстрактный аттрибут обработчика\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Collection.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Collection.md index 97885f0..de9601d 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Collection.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Collection.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Processors\.Collection Namespace +Описание коллекции классов обработчиков данных\. + | Classes | | | :--- | :--- | | [ProcessorCollection](ProcessorCollection.md 'Pf2eDataScrapper\.Processors\.Collection\.ProcessorCollection') | Класс с коллекцией обработчиков\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Definitions.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Definitions.md index 5c15529..5616cdc 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Definitions.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Definitions.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Processors\.Definitions Namespace +Общее описание классов и интерфейсов, которые используются в обработчиках данных\. + | Classes | | | :--- | :--- | | [AbstractInputProcessor](AbstractInputProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor') | Абстрактный класс\-обработчик данных, полученных из Архивов Нефиса\. Класс предназначен для обработки данных с помощью различных обработчиков, для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Factory.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Factory.md index a9403ff..9f60e3e 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Factory.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.Factory.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Processors\.Factory Namespace +Фабрики для создания экземпляров обработчиков данных на основе их атрибутов и конфигурации\. + | Classes | | | :--- | :--- | | [AbstractProcessorFactory](AbstractProcessorFactory.md 'Pf2eDataScrapper\.Processors\.Factory\.AbstractProcessorFactory') | Абстрактная фабрика создания процессоров\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.md index a452374..92f44a5 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.Processors.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.Processors Namespace +Общее описание обработчиков данных\. + | Classes | | | :--- | :--- | | [EnumSolver<TEnum>](EnumSolver_TEnum_.md 'Pf2eDataScrapper\.Processors\.EnumSolver\') | Абстрактный класс для разрешения значений перечислений\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.SchemaBuilder.Types.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.SchemaBuilder.Types.md index 26083db..be7f60b 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.SchemaBuilder.Types.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.SchemaBuilder.Types.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.SchemaBuilder\.Types Namespace +Типы полей, которые используются в схемах данных для описания структуры вводимых JSON\-данных\. + | Classes | | | :--- | :--- | | [AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType') | Абстрактный тип представоления данных в схеме\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.SchemaBuilder.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.SchemaBuilder.md index f58ae27..bd1c8fd 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.SchemaBuilder.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.SchemaBuilder.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.SchemaBuilder Namespace +Классы обработки вводимых JSON\-данных и создание схемы данных для использовании при формировании обработчиков данных\. + | Classes | | | :--- | :--- | | [AbstractSchemaBuildProcessor](AbstractSchemaBuildProcessor.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor') | | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.Component.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.Component.md index b12c707..cc8f4b4 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.Component.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.Component.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.WPF\.EntityViewer\.Component Namespace +Компоненты, которые используются в WPF\-окне просмотра сущностей Pathfinder 2e\. + | Classes | | | :--- | :--- | | [EntityListControl](EntityListControl.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.Component\.EntityListControl') | Логика взаимодействия для DbEntityListControl\.xaml | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.EntityViewStructure.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.EntityViewStructure.md index 0e7ed76..e2f6d41 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.EntityViewStructure.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.EntityViewStructure.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.WPF\.EntityViewer\.EntityViewStructure Namespace +Структура представления сущностей Pathfinder 2e в WPF\-приложении, включая классы и интерфейсы для отображения данных\. + | Classes | | | :--- | :--- | | [CollapseCommand](CollapseCommand.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.EntityViewStructure\.CollapseCommand') | Команда для сворачивания/разворачивания поля структуры\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.Stores.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.Stores.md index 21f6a79..005f7a9 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.Stores.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.Stores.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.WPF\.EntityViewer\.Stores Namespace +Хранилища данных для WPF\-приложения просмотра сущностей Pathfinder 2e, которые управляют состоянием и данными приложения\. + | Classes | | | :--- | :--- | | [SelectedEntityStore](SelectedEntityStore.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.Stores\.SelectedEntityStore') | Хранилище выбранной сущности\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.ViewModel.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.ViewModel.md index 35a79c7..1b4a99c 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.ViewModel.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.ViewModel.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.WPF\.EntityViewer\.ViewModel Namespace +ViewModel для WPF\-приложения просмотра сущностей Pathfinder 2e, которые связывают данные и представление\. + | Classes | | | :--- | :--- | | [EntityListViewModel](EntityListViewModel.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.ViewModel\.EntityListViewModel') | | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.md index fc1cf27..0b523ef 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.EntityViewer.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.WPF\.EntityViewer Namespace +WPF\-окно для просмотра сущностей Pathfinder 2e, с возможностью фильтрации и поиска по данным\. + | Classes | | | :--- | :--- | | [EntityForm](EntityForm.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.EntityForm') | | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.ProgressForm.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.ProgressForm.md index 0380474..e725907 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.ProgressForm.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.ProgressForm.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.WPF\.ProgressForm Namespace +WPF\-окно для отображения прогресса выполнения операций, таких как импорт данных или обработка сущностей Pathfinder 2e\. + | Classes | | | :--- | :--- | | [ProgressForm](ProgressForm.md 'Pf2eDataScrapper\.WPF\.ProgressForm\.ProgressForm') | Логика взаимодействия для ProgressFormWpf\.xaml | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.StartForm.Components.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.StartForm.Components.md index aff6216..9815f70 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.StartForm.Components.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.StartForm.Components.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.WPF\.StartForm\.Components Namespace +Компоненты, которые используются в WPF\-окне запуска приложения для выбора импортёра и настройки параметров обработки данных Pathfinder 2e\. + | Classes | | | :--- | :--- | | [ProcessorCollectionControl](ProcessorCollectionControl.md 'Pf2eDataScrapper\.WPF\.StartForm\.Components\.ProcessorCollectionControl') | Логика взаимодействия для ProcessorCollectionControl\.xaml | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.StartForm.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.StartForm.md index f79efde..2151766 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.StartForm.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.StartForm.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.WPF\.StartForm Namespace +WPF\-окно для запуска приложения, которое позволяет пользователю выбрать импортёр и начать обработку данных Pathfinder 2e\. + | Classes | | | :--- | :--- | | [StartForm](StartForm.md 'Pf2eDataScrapper\.WPF\.StartForm\.StartForm') | | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.md index 644f34f..53f9d2d 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.WPF.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper\.WPF Namespace +WPF\-приложение для запуска обработчиков и просмотра данных Pathfinder 2e\. + | Classes | | | :--- | :--- | | [WpfServiceProviderExtension](WpfServiceProviderExtension.md 'Pf2eDataScrapper\.WPF\.WpfServiceProviderExtension') | Расширение для IServiceCollection, позволяющее регистрировать сервисы WPF\. | diff --git a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.md b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.md index a752eba..b21305f 100644 --- a/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.md +++ b/Documentation/Pf2eDataScrapper/Pf2eDataScrapper.md @@ -2,6 +2,8 @@ ## Pf2eDataScrapper Namespace +Модель классов ORM EntityFramework\. + | Classes | | | :--- | :--- | | [ApplicationSettings](ApplicationSettings.md 'Pf2eDataScrapper\.ApplicationSettings') | Настройки программы\. | diff --git a/Documentation/Pf2eDataScrapper/ProcessorGroupEnum.md b/Documentation/Pf2eDataScrapper/ProcessorGroupEnum.md index 32e3c17..b2f6c69 100644 --- a/Documentation/Pf2eDataScrapper/ProcessorGroupEnum.md +++ b/Documentation/Pf2eDataScrapper/ProcessorGroupEnum.md @@ -20,34 +20,34 @@ public enum ProcessorGroupEnum `AonprdPreparation` 1 -Обработчик для подготовки данных Архивов Нефиса\. +Обработчик для подготовки данных с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. `AonprdEntities` 2 -Обработчик основных сущностей Архивов Нефиса\. +Обработчик основных сущностей с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. `AonprdSubclasses` 3 -Обработчик подклассов Архивов Нефиса\. +Обработчик подклассов с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. `AonprdFinalization` 4 -Обработчик для завершения обработки данных Архивов Нефиса\. +Обработчик для завершения обработки данных с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. `FoundryEnPreparation` 5 -Обработчик для подготовки данных Foundry EN\. +Обработчик для подготовки данных из модуля [pf2e](https://github.com/foundryvtt/pf2e 'https://github\.com/foundryvtt/pf2e') для FoundryVTT\. `FoundryEnEntities` 6 -Обработчик основных сущностей Foundry EN\. \ No newline at end of file +Обработчик основных сущностей из модуля [pf2e](https://github.com/foundryvtt/pf2e 'https://github\.com/foundryvtt/pf2e') для FoundryVTT\. \ No newline at end of file diff --git a/Documentation/Pf2eDataScrapper/SchemaNode.md b/Documentation/Pf2eDataScrapper/SchemaNode.md index a6b2e1e..8ce9c64 100644 --- a/Documentation/Pf2eDataScrapper/SchemaNode.md +++ b/Documentation/Pf2eDataScrapper/SchemaNode.md @@ -11,6 +11,15 @@ internal class SchemaNode Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 SchemaNode +### Example +Пример использования: + +```csharp +SchemaNode schema = new (); // Создание схемы данных +data = JObject.Parse(reader.ReadToEnd()); // Загрузка данных +schema.AddValue(data); // Добавление данных +``` + | Constructors | | | :--- | :--- | | [SchemaNode\(\)](SchemaNode.SchemaNode.md#Pf2eDataScrapper.SchemaBuilder.SchemaNode.SchemaNode() 'Pf2eDataScrapper\.SchemaBuilder\.SchemaNode\.SchemaNode\(\)') | Конструктор корневого элемента\. | diff --git a/Documentation/Pf2eDataScrapper/SkillProcessor.Process().md b/Documentation/Pf2eDataScrapper/SkillProcessor.Process().md index a0c20cc..844fccd 100644 --- a/Documentation/Pf2eDataScrapper/SkillProcessor.Process().md +++ b/Documentation/Pf2eDataScrapper/SkillProcessor.Process().md @@ -1,5 +1,5 @@ #### [Pf2eDataScrapper](index.md 'index') -### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common').[SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SkillProcessor') +### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation').[SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SkillProcessor') ## SkillProcessor\.Process\(\) Method diff --git a/Documentation/Pf2eDataScrapper/SkillProcessor.Save().md b/Documentation/Pf2eDataScrapper/SkillProcessor.Save().md index 6169c1e..b28d986 100644 --- a/Documentation/Pf2eDataScrapper/SkillProcessor.Save().md +++ b/Documentation/Pf2eDataScrapper/SkillProcessor.Save().md @@ -1,5 +1,5 @@ #### [Pf2eDataScrapper](index.md 'index') -### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common').[SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SkillProcessor') +### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation').[SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SkillProcessor') ## SkillProcessor\.Save\(\) Method diff --git a/Documentation/Pf2eDataScrapper/SkillProcessor.Training.md b/Documentation/Pf2eDataScrapper/SkillProcessor.Training.md index 2196c69..989f2ae 100644 --- a/Documentation/Pf2eDataScrapper/SkillProcessor.Training.md +++ b/Documentation/Pf2eDataScrapper/SkillProcessor.Training.md @@ -1,5 +1,5 @@ #### [Pf2eDataScrapper](index.md 'index') -### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common').[SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SkillProcessor') +### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation').[SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SkillProcessor') ## SkillProcessor\.Training Field diff --git a/Documentation/Pf2eDataScrapper/SkillProcessor.md b/Documentation/Pf2eDataScrapper/SkillProcessor.md index 380eb5c..ad138ad 100644 --- a/Documentation/Pf2eDataScrapper/SkillProcessor.md +++ b/Documentation/Pf2eDataScrapper/SkillProcessor.md @@ -1,5 +1,5 @@ #### [Pf2eDataScrapper](index.md 'index') -### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common') +### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation') ## SkillProcessor Class @@ -11,9 +11,9 @@ Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System. | Fields | | | :--- | :--- | -| [Training](SkillProcessor.Training.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SkillProcessor\.Training') | Обучаемый объект\. | +| [Training](SkillProcessor.Training.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SkillProcessor\.Training') | Обучаемый объект\. | | Methods | | | :--- | :--- | -| [Process\(\)](SkillProcessor.Process().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SkillProcessor\.Process\(\)') | Основной метод обработки данных\. | -| [Save\(\)](SkillProcessor.Save().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SkillProcessor\.Save\(\)') | Метод для сохранения изменений в базе данных\. | +| [Process\(\)](SkillProcessor.Process().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SkillProcessor\.Process\(\)') | Основной метод обработки данных\. | +| [Save\(\)](SkillProcessor.Save().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SkillProcessor\.Save\(\)') | Метод для сохранения изменений в базе данных\. | diff --git a/Documentation/Pf2eDataScrapper/SourceProcessor.Process().md b/Documentation/Pf2eDataScrapper/SourceProcessor.Process().md index c733c8a..017a191 100644 --- a/Documentation/Pf2eDataScrapper/SourceProcessor.Process().md +++ b/Documentation/Pf2eDataScrapper/SourceProcessor.Process().md @@ -1,5 +1,5 @@ #### [Pf2eDataScrapper](index.md 'index') -### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common').[SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SourceProcessor') +### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation').[SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SourceProcessor') ## SourceProcessor\.Process\(\) Method diff --git a/Documentation/Pf2eDataScrapper/SourceProcessor.Save().md b/Documentation/Pf2eDataScrapper/SourceProcessor.Save().md index 8a3ad7a..11d97bf 100644 --- a/Documentation/Pf2eDataScrapper/SourceProcessor.Save().md +++ b/Documentation/Pf2eDataScrapper/SourceProcessor.Save().md @@ -1,5 +1,5 @@ #### [Pf2eDataScrapper](index.md 'index') -### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common').[SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SourceProcessor') +### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation').[SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SourceProcessor') ## SourceProcessor\.Save\(\) Method diff --git a/Documentation/Pf2eDataScrapper/SourceProcessor.Source.md b/Documentation/Pf2eDataScrapper/SourceProcessor.Source.md index 10fa218..4af2d8f 100644 --- a/Documentation/Pf2eDataScrapper/SourceProcessor.Source.md +++ b/Documentation/Pf2eDataScrapper/SourceProcessor.Source.md @@ -1,5 +1,5 @@ #### [Pf2eDataScrapper](index.md 'index') -### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common').[SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SourceProcessor') +### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation').[SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SourceProcessor') ## SourceProcessor\.Source Field diff --git a/Documentation/Pf2eDataScrapper/SourceProcessor.md b/Documentation/Pf2eDataScrapper/SourceProcessor.md index e7c3dd0..e8429b7 100644 --- a/Documentation/Pf2eDataScrapper/SourceProcessor.md +++ b/Documentation/Pf2eDataScrapper/SourceProcessor.md @@ -1,5 +1,5 @@ #### [Pf2eDataScrapper](index.md 'index') -### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common') +### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation') ## SourceProcessor Class @@ -11,9 +11,9 @@ Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System. | Fields | | | :--- | :--- | -| [Source](SourceProcessor.Source.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SourceProcessor\.Source') | Источник сущности\. | +| [Source](SourceProcessor.Source.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SourceProcessor\.Source') | Источник сущности\. | | Methods | | | :--- | :--- | -| [Process\(\)](SourceProcessor.Process().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SourceProcessor\.Process\(\)') | Основной метод обработки данных\. | -| [Save\(\)](SourceProcessor.Save().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common\.SourceProcessor\.Save\(\)') | Метод для сохранения изменений в базе данных\. | +| [Process\(\)](SourceProcessor.Process().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SourceProcessor\.Process\(\)') | Основной метод обработки данных\. | +| [Save\(\)](SourceProcessor.Save().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SourceProcessor\.Save\(\)') | Метод для сохранения изменений в базе данных\. | diff --git a/Documentation/Pf2eDataScrapper/index.md b/Documentation/Pf2eDataScrapper/index.md index ef7d3f8..70d5df4 100644 --- a/Documentation/Pf2eDataScrapper/index.md +++ b/Documentation/Pf2eDataScrapper/index.md @@ -4,36 +4,35 @@ | Namespaces | | | :--- | :--- | -| [Pf2eDataScrapper](Pf2eDataScrapper.md 'Pf2eDataScrapper') | | -| [Pf2eDataScrapper\.Helpers](Pf2eDataScrapper.Helpers.md 'Pf2eDataScrapper\.Helpers') | | -| [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd](Pf2eDataScrapper.Importers.Implementations.Aonprd.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Compendium](Pf2eDataScrapper.Importers.Implementations.Aonprd.Compendium.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Compendium') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers](Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Common') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Subclasses](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Subclasses.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Subclasses') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.Rules](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.Rules.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.Rules') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn](Pf2eDataScrapper.Importers.Implementations.FoundryEn.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Compendium](Pf2eDataScrapper.Importers.Implementations.FoundryEn.Compendium.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Compendium') | | -| [Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.FoundryEn.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Processors\.Preparation') | | -| [Pf2eDataScrapper\.Importers\.Repositories](Pf2eDataScrapper.Importers.Repositories.md 'Pf2eDataScrapper\.Importers\.Repositories') | | -| [Pf2eDataScrapper\.Processors](Pf2eDataScrapper.Processors.md 'Pf2eDataScrapper\.Processors') | | -| [Pf2eDataScrapper\.Processors\.Attributes](Pf2eDataScrapper.Processors.Attributes.md 'Pf2eDataScrapper\.Processors\.Attributes') | | -| [Pf2eDataScrapper\.Processors\.Collection](Pf2eDataScrapper.Processors.Collection.md 'Pf2eDataScrapper\.Processors\.Collection') | | -| [Pf2eDataScrapper\.Processors\.Definitions](Pf2eDataScrapper.Processors.Definitions.md 'Pf2eDataScrapper\.Processors\.Definitions') | | -| [Pf2eDataScrapper\.Processors\.Factory](Pf2eDataScrapper.Processors.Factory.md 'Pf2eDataScrapper\.Processors\.Factory') | | -| [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder') | | -| [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types') | | -| [Pf2eDataScrapper\.WPF](Pf2eDataScrapper.WPF.md 'Pf2eDataScrapper\.WPF') | | -| [Pf2eDataScrapper\.WPF\.EntityViewer](Pf2eDataScrapper.WPF.EntityViewer.md 'Pf2eDataScrapper\.WPF\.EntityViewer') | | -| [Pf2eDataScrapper\.WPF\.EntityViewer\.Component](Pf2eDataScrapper.WPF.EntityViewer.Component.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.Component') | | -| [Pf2eDataScrapper\.WPF\.EntityViewer\.EntityViewStructure](Pf2eDataScrapper.WPF.EntityViewer.EntityViewStructure.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.EntityViewStructure') | | -| [Pf2eDataScrapper\.WPF\.EntityViewer\.Stores](Pf2eDataScrapper.WPF.EntityViewer.Stores.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.Stores') | | -| [Pf2eDataScrapper\.WPF\.EntityViewer\.ViewModel](Pf2eDataScrapper.WPF.EntityViewer.ViewModel.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.ViewModel') | | -| [Pf2eDataScrapper\.WPF\.ProgressForm](Pf2eDataScrapper.WPF.ProgressForm.md 'Pf2eDataScrapper\.WPF\.ProgressForm') | | -| [Pf2eDataScrapper\.WPF\.StartForm](Pf2eDataScrapper.WPF.StartForm.md 'Pf2eDataScrapper\.WPF\.StartForm') | | -| [Pf2eDataScrapper\.WPF\.StartForm\.Components](Pf2eDataScrapper.WPF.StartForm.Components.md 'Pf2eDataScrapper\.WPF\.StartForm\.Components') | | +| [Pf2eDataScrapper](Pf2eDataScrapper.md 'Pf2eDataScrapper') | Модель классов ORM EntityFramework\. | +| [Pf2eDataScrapper\.Helpers](Pf2eDataScrapper.Helpers.md 'Pf2eDataScrapper\.Helpers') | Классы\-помощники, используемые во всех частях проекта\. | +| [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers') | Описание импортёров, которые определяют наборы обработчиков данных и элементов, необходимых для их работы\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd](Pf2eDataScrapper.Importers.Implementations.Aonprd.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd') | Импортёр данных из сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Compendium](Pf2eDataScrapper.Importers.Implementations.Aonprd.Compendium.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Compendium') | Компендиум данных из сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers](Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers') | Класс\-помощники, которые используются в импортере данных из сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors') | Обработчики данных из сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation') | Обработчики для подготовки данных [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Subclasses](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Subclasses.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Subclasses') | Обработчики подклассов с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types') | Обработчики основных сущностей с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.Rules](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.Rules.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.Rules') | Обработчики правил с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn](Pf2eDataScrapper.Importers.Implementations.FoundryEn.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn') | Импортёр данных из модуля [pf2e](https://github.com/foundryvtt/pf2e 'https://github\.com/foundryvtt/pf2e') для FoundryVTT\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Compendium](Pf2eDataScrapper.Importers.Implementations.FoundryEn.Compendium.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Compendium') | Компендиум данных из модуля [pf2e](https://github.com/foundryvtt/pf2e 'https://github\.com/foundryvtt/pf2e') для FoundryVTT\. | +| [Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Processors\.Preparation](Pf2eDataScrapper.Importers.Implementations.FoundryEn.Processors.Preparation.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Processors\.Preparation') | Обработчики для подготовки данных из модуля [pf2e](https://github.com/foundryvtt/pf2e 'https://github\.com/foundryvtt/pf2e') для FoundryVTT\. | +| [Pf2eDataScrapper\.Importers\.Repositories](Pf2eDataScrapper.Importers.Repositories.md 'Pf2eDataScrapper\.Importers\.Repositories') | Общее описание репозиториев для хранения данных, которые используются в импортёрах и процессорах\. | +| [Pf2eDataScrapper\.Processors](Pf2eDataScrapper.Processors.md 'Pf2eDataScrapper\.Processors') | Общее описание обработчиков данных\. | +| [Pf2eDataScrapper\.Processors\.Attributes](Pf2eDataScrapper.Processors.Attributes.md 'Pf2eDataScrapper\.Processors\.Attributes') | Классы\-аттрибуты, которые используются для описания обработчиков данных и их свойств\. | +| [Pf2eDataScrapper\.Processors\.Collection](Pf2eDataScrapper.Processors.Collection.md 'Pf2eDataScrapper\.Processors\.Collection') | Описание коллекции классов обработчиков данных\. | +| [Pf2eDataScrapper\.Processors\.Definitions](Pf2eDataScrapper.Processors.Definitions.md 'Pf2eDataScrapper\.Processors\.Definitions') | Общее описание классов и интерфейсов, которые используются в обработчиках данных\. | +| [Pf2eDataScrapper\.Processors\.Factory](Pf2eDataScrapper.Processors.Factory.md 'Pf2eDataScrapper\.Processors\.Factory') | Фабрики для создания экземпляров обработчиков данных на основе их атрибутов и конфигурации\. | +| [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder') | Классы обработки вводимых JSON\-данных и создание схемы данных для использовании при формировании обработчиков данных\. | +| [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types') | Типы полей, которые используются в схемах данных для описания структуры вводимых JSON\-данных\. | +| [Pf2eDataScrapper\.WPF](Pf2eDataScrapper.WPF.md 'Pf2eDataScrapper\.WPF') | WPF\-приложение для запуска обработчиков и просмотра данных Pathfinder 2e\. | +| [Pf2eDataScrapper\.WPF\.EntityViewer](Pf2eDataScrapper.WPF.EntityViewer.md 'Pf2eDataScrapper\.WPF\.EntityViewer') | WPF\-окно для просмотра сущностей Pathfinder 2e, с возможностью фильтрации и поиска по данным\. | +| [Pf2eDataScrapper\.WPF\.EntityViewer\.Component](Pf2eDataScrapper.WPF.EntityViewer.Component.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.Component') | Компоненты, которые используются в WPF\-окне просмотра сущностей Pathfinder 2e\. | +| [Pf2eDataScrapper\.WPF\.EntityViewer\.EntityViewStructure](Pf2eDataScrapper.WPF.EntityViewer.EntityViewStructure.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.EntityViewStructure') | Структура представления сущностей Pathfinder 2e в WPF\-приложении, включая классы и интерфейсы для отображения данных\. | +| [Pf2eDataScrapper\.WPF\.EntityViewer\.Stores](Pf2eDataScrapper.WPF.EntityViewer.Stores.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.Stores') | Хранилища данных для WPF\-приложения просмотра сущностей Pathfinder 2e, которые управляют состоянием и данными приложения\. | +| [Pf2eDataScrapper\.WPF\.EntityViewer\.ViewModel](Pf2eDataScrapper.WPF.EntityViewer.ViewModel.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.ViewModel') | ViewModel для WPF\-приложения просмотра сущностей Pathfinder 2e, которые связывают данные и представление\. | +| [Pf2eDataScrapper\.WPF\.ProgressForm](Pf2eDataScrapper.WPF.ProgressForm.md 'Pf2eDataScrapper\.WPF\.ProgressForm') | WPF\-окно для отображения прогресса выполнения операций, таких как импорт данных или обработка сущностей Pathfinder 2e\. | +| [Pf2eDataScrapper\.WPF\.StartForm](Pf2eDataScrapper.WPF.StartForm.md 'Pf2eDataScrapper\.WPF\.StartForm') | WPF\-окно для запуска приложения, которое позволяет пользователю выбрать импортёр и начать обработку данных Pathfinder 2e\. | +| [Pf2eDataScrapper\.WPF\.StartForm\.Components](Pf2eDataScrapper.WPF.StartForm.Components.md 'Pf2eDataScrapper\.WPF\.StartForm\.Components') | Компоненты, которые используются в WPF\-окне запуска приложения для выбора импортёра и настройки параметров обработки данных Pathfinder 2e\. | | [XamlGeneratedNamespace](XamlGeneratedNamespace.md 'XamlGeneratedNamespace') | | diff --git a/Documentation/Pf2eModel/Function.BuildTargetModel(ModelBuilder).md b/Documentation/Pf2eModel/Function.BuildTargetModel(ModelBuilder).md deleted file mode 100644 index f564140..0000000 --- a/Documentation/Pf2eModel/Function.BuildTargetModel(ModelBuilder).md +++ /dev/null @@ -1,20 +0,0 @@ -#### [Pf2eModel](index.md 'index') -### [Pf2eModel\.Migrations](Pf2eModel.Migrations.md 'Pf2eModel\.Migrations').[Function](Function.md 'Pf2eModel\.Migrations\.Function') - -## Function\.BuildTargetModel\(ModelBuilder\) Method - -Implemented to build the [Microsoft\.EntityFrameworkCore\.Migrations\.Migration\.TargetModel](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration.TargetModel 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration\.TargetModel')\. - -```csharp -protected override void BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder); -``` -#### Parameters - - - -`modelBuilder` [Microsoft\.EntityFrameworkCore\.ModelBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.ModelBuilder 'Microsoft\.EntityFrameworkCore\.ModelBuilder') - -The [Microsoft\.EntityFrameworkCore\.ModelBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.ModelBuilder 'Microsoft\.EntityFrameworkCore\.ModelBuilder') to use to build the model\. - -### Remarks -See [Database migrations](https://aka.ms/efcore-docs-migrations 'https://aka\.ms/efcore\-docs\-migrations') for more information and examples\. \ No newline at end of file diff --git a/Documentation/Pf2eModel/Function.Down(MigrationBuilder).md b/Documentation/Pf2eModel/Function.Down(MigrationBuilder).md deleted file mode 100644 index 23affee..0000000 --- a/Documentation/Pf2eModel/Function.Down(MigrationBuilder).md +++ /dev/null @@ -1,28 +0,0 @@ -#### [Pf2eModel](index.md 'index') -### [Pf2eModel\.Migrations](Pf2eModel.Migrations.md 'Pf2eModel\.Migrations').[Function](Function.md 'Pf2eModel\.Migrations\.Function') - -## Function\.Down\(MigrationBuilder\) Method - -Builds the operations that will migrate the database 'down'\. - -```csharp -protected override void Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder migrationBuilder); -``` -#### Parameters - - - -`migrationBuilder` [Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder 'Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder') - -The [Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder 'Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder') that will build the operations\. - -### Remarks - -That is, builds the operations that will take the database from the state left in by -this migration so that it returns to the state that it was in before this migration was applied. - -This method must be overridden in each class that inherits from [Microsoft\.EntityFrameworkCore\.Migrations\.Migration](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration') if -both 'up' and 'down' migrations are to be supported. If it is not overridden, then calling it -will throw and it will not be possible to migrate in the 'down' direction. - -See [Database migrations](https://aka.ms/efcore-docs-migrations 'https://aka\.ms/efcore\-docs\-migrations') for more information and examples. \ No newline at end of file diff --git a/Documentation/Pf2eModel/Function.Up(MigrationBuilder).md b/Documentation/Pf2eModel/Function.Up(MigrationBuilder).md deleted file mode 100644 index 5c0d3cd..0000000 --- a/Documentation/Pf2eModel/Function.Up(MigrationBuilder).md +++ /dev/null @@ -1,26 +0,0 @@ -#### [Pf2eModel](index.md 'index') -### [Pf2eModel\.Migrations](Pf2eModel.Migrations.md 'Pf2eModel\.Migrations').[Function](Function.md 'Pf2eModel\.Migrations\.Function') - -## Function\.Up\(MigrationBuilder\) Method - -Builds the operations that will migrate the database 'up'\. - -```csharp -protected override void Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder migrationBuilder); -``` -#### Parameters - - - -`migrationBuilder` [Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder 'Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder') - -The [Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder 'Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder') that will build the operations\. - -### Remarks - -That is, builds the operations that will take the database from the state left in by the -previous migration so that it is up-to-date with regard to this migration. - -This method must be overridden in each class that inherits from [Microsoft\.EntityFrameworkCore\.Migrations\.Migration](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration'). - -See [Database migrations](https://aka.ms/efcore-docs-migrations 'https://aka\.ms/efcore\-docs\-migrations') for more information and examples. \ No newline at end of file diff --git a/Documentation/Pf2eModel/Function.md b/Documentation/Pf2eModel/Function.md deleted file mode 100644 index 3876926..0000000 --- a/Documentation/Pf2eModel/Function.md +++ /dev/null @@ -1,21 +0,0 @@ -#### [Pf2eModel](index.md 'index') -### [Pf2eModel\.Migrations](Pf2eModel.Migrations.md 'Pf2eModel\.Migrations') - -## Function Class - -A base class inherited by each EF Core migration\. - -```csharp -public class Function : Microsoft.EntityFrameworkCore.Migrations.Migration -``` - -Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 [Microsoft\.EntityFrameworkCore\.Migrations\.Migration](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration') 🡒 Function - -### Remarks -See [Database migrations](https://aka.ms/efcore-docs-migrations 'https://aka\.ms/efcore\-docs\-migrations') for more information and examples\. - -| Methods | | -| :--- | :--- | -| [BuildTargetModel\(ModelBuilder\)](Function.BuildTargetModel(ModelBuilder).md 'Pf2eModel\.Migrations\.Function\.BuildTargetModel\(Microsoft\.EntityFrameworkCore\.ModelBuilder\)') | Implemented to build the [Microsoft\.EntityFrameworkCore\.Migrations\.Migration\.TargetModel](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration.TargetModel 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration\.TargetModel')\. | -| [Down\(MigrationBuilder\)](Function.Down(MigrationBuilder).md 'Pf2eModel\.Migrations\.Function\.Down\(Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder\)') | Builds the operations that will migrate the database 'down'\. | -| [Up\(MigrationBuilder\)](Function.Up(MigrationBuilder).md 'Pf2eModel\.Migrations\.Function\.Up\(Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder\)') | Builds the operations that will migrate the database 'up'\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Migrations.md b/Documentation/Pf2eModel/Pf2eModel.Migrations.md deleted file mode 100644 index 5955cdd..0000000 --- a/Documentation/Pf2eModel/Pf2eModel.Migrations.md +++ /dev/null @@ -1,8 +0,0 @@ -#### [Pf2eModel](index.md 'index') - -## Pf2eModel\.Migrations Namespace - -| Classes | | -| :--- | :--- | -| [\_1](_1.md 'Pf2eModel\.Migrations\.\_1') | A base class inherited by each EF Core migration\. | -| [Function](Function.md 'Pf2eModel\.Migrations\.Function') | A base class inherited by each EF Core migration\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Base.Keywords.md b/Documentation/Pf2eModel/Pf2eModel.Model.Base.Keywords.md index 3dfcd45..d94c869 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Base.Keywords.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Base.Keywords.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Base\.Keywords Namespace +Классы, связанные с ключевыми словами, которые могут использоваться в разных типах сущностей\. + | Classes | | | :--- | :--- | | [Keyword](Keyword.md 'Pf2eModel\.Model\.Base\.Keywords\.Keyword') | Ключевое слово\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Base.Source.md b/Documentation/Pf2eModel/Pf2eModel.Model.Base.Source.md index 61837c2..3efaa69 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Base.Source.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Base.Source.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Base\.Source Namespace +Классы, связанные с источниками, которые могут использоваться в разных типах сущностей\. + | Classes | | | :--- | :--- | | [EntitySource](EntitySource.md 'Pf2eModel\.Model\.Base\.Source\.EntitySource') | Связь между сущностью и источником\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Base.Targets.md b/Documentation/Pf2eModel/Pf2eModel.Model.Base.Targets.md index 86d4753..dec68e5 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Base.Targets.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Base.Targets.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Base\.Targets Namespace +Классы, связанные с целями внешних ссылок, которые могут использоваться в разных типах сущностей\. + | Classes | | | :--- | :--- | | [EntityExternal](EntityExternal.md 'Pf2eModel\.Model\.Base\.Targets\.EntityExternal') | Внешняя ссылка сущности\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Base.md b/Documentation/Pf2eModel/Pf2eModel.Model.Base.md index 9071b1c..1fe05fb 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Base.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Base.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Base Namespace +Описание корневой сущности модели: класса [Entity](Entity.md 'Pf2eModel\.Model\.Base\.Entity') и его прямых связей\. + | Classes | | | :--- | :--- | | [Entity](Entity.md 'Pf2eModel\.Model\.Base\.Entity') | Корневая сущность\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Common.I18n.md b/Documentation/Pf2eModel/Pf2eModel.Model.Common.I18n.md index 6e6e854..90742fb 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Common.I18n.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Common.I18n.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Common\.I18n Namespace +Классы, связанные с интернационализацией \(i18n\) модели\. + | Classes | | | :--- | :--- | | [LocaleExtension](LocaleExtension.md 'Pf2eModel\.Model\.Common\.I18n\.LocaleExtension') | Расширения для работы с локализацией\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Common.md b/Documentation/Pf2eModel/Pf2eModel.Model.Common.md index 4cbb0c4..8c5dc99 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Common.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Common.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Common Namespace +Общее классы на которые могут ссылаться разные типа\. + | Classes | | | :--- | :--- | | [Frequency](Frequency.md 'Pf2eModel\.Model\.Common\.Frequency') | Частота использования\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Enum.md b/Documentation/Pf2eModel/Pf2eModel.Model.Enum.md index 0a9d510..45bce0b 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Enum.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Enum.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Enum Namespace +Описание всех перечислений, использующихся в модели\. + | Enums | | | :--- | :--- | | [ActionCategory](ActionCategory.md 'Pf2eModel\.Model\.Enum\.ActionCategory') | Тип действия\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.AncestryRelation.md b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.AncestryRelation.md index a3c7393..8dc63d0 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.AncestryRelation.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.AncestryRelation.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Structure\.AncestryRelation Namespace +Классы, описывающие связи класса [Ancestry](Ancestry.md 'Pf2eModel\.Model\.Structure\.Ancestry')\. + | Classes | | | :--- | :--- | | [AncestryBoost](AncestryBoost.md 'Pf2eModel\.Model\.Structure\.AncestryRelation\.AncestryBoost') | Элемент набора повышений атрибутов для родословной\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.ArchetypeRelation.md b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.ArchetypeRelation.md index 2c4c564..910e91e 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.ArchetypeRelation.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.ArchetypeRelation.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Structure\.ArchetypeRelation Namespace +Классы, описывающие связи класса [Archetype](Archetype.md 'Pf2eModel\.Model\.Structure\.Archetype')\. + | Classes | | | :--- | :--- | | [ArchetypeFeats](ArchetypeFeats.md 'Pf2eModel\.Model\.Structure\.ArchetypeRelation\.ArchetypeFeats') | Связь между архетипом и его чертами\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.BackgroundRelation.md b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.BackgroundRelation.md index 32552f0..6dcfcec 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.BackgroundRelation.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.BackgroundRelation.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Structure\.BackgroundRelation Namespace +Классы, описывающие связи класса [Background](Background.md 'Pf2eModel\.Model\.Structure\.Background')\. + | Classes | | | :--- | :--- | | [BackgroundBoost](BackgroundBoost.md 'Pf2eModel\.Model\.Structure\.BackgroundRelation\.BackgroundBoost') | Элемент набора атрибутов для предыстории\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.ClassRelation.md b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.ClassRelation.md index c5af544..b22deff 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.ClassRelation.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.ClassRelation.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Structure\.ClassRelation Namespace +Классы, описывающие связи класса [Class](Class.md 'Pf2eModel\.Model\.Structure\.Class')\. + | Classes | | | :--- | :--- | | [ClassKeyAttribute](ClassKeyAttribute.md 'Pf2eModel\.Model\.Structure\.ClassRelation\.ClassKeyAttribute') | Набор ключевых атрибутов класса\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.DeityRelation.md b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.DeityRelation.md index 7d04f72..9ed2bc7 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.DeityRelation.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.DeityRelation.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Structure\.DeityRelation Namespace +Классы, описывающие связи класса [Deity](Deity.md 'Pf2eModel\.Model\.Structure\.Deity')\. + | Classes | | | :--- | :--- | | [DeityAttribute](DeityAttribute.md 'Pf2eModel\.Model\.Structure\.DeityRelation\.DeityAttribute') | Элемент отношения божества и атрибута\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.FeatRelation.md b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.FeatRelation.md index 201e980..3af1f3e 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.FeatRelation.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.FeatRelation.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Structure\.FeatRelation Namespace +Классы, описывающие связи класса [Feat](Feat.md 'Pf2eModel\.Model\.Structure\.Feat')\. + | Classes | | | :--- | :--- | | [FeatPrerequisite](FeatPrerequisite.md 'Pf2eModel\.Model\.Structure\.FeatRelation\.FeatPrerequisite') | Предварительное требование для черты\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.RitualRelation.md b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.RitualRelation.md index acb463a..299dc72 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.RitualRelation.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.RitualRelation.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Structure\.RitualRelation Namespace +Классы, описывающие связи класса [Ritual](Ritual.md 'Pf2eModel\.Model\.Structure\.Ritual')\. + | Classes | | | :--- | :--- | | [RitualArea](RitualArea.md 'Pf2eModel\.Model\.Structure\.RitualRelation\.RitualArea') | Область действия ритуала\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.SpellRelation.md b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.SpellRelation.md index fa9d42b..8d37ad4 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.SpellRelation.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.SpellRelation.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model\.Structure\.SpellRelation Namespace +Классы, описывающие связи класса [Spell](Spell.md 'Pf2eModel\.Model\.Structure\.Spell')\. + | Classes | | | :--- | :--- | | [SpellArea](SpellArea.md 'Pf2eModel\.Model\.Structure\.SpellRelation\.SpellArea') | Область заклинания\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.md b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.md index cf07286..cb0d2ca 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.Structure.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.Structure.md @@ -2,6 +2,9 @@ ## Pf2eModel\.Model\.Structure Namespace +Основные типы, которые связаны 1\-к\-1 с [Entity](Entity.md 'Pf2eModel\.Model\.Base\.Entity')\. +Для указания этой связи используется интерфейс [IEntity](IEntity.md 'Pf2eModel\.Model\.IEntity')\. + | Classes | | | :--- | :--- | | [Action](Action.md 'Pf2eModel\.Model\.Structure\.Action') | Действие\. | diff --git a/Documentation/Pf2eModel/Pf2eModel.Model.md b/Documentation/Pf2eModel/Pf2eModel.Model.md index 96b65b7..e637d93 100644 --- a/Documentation/Pf2eModel/Pf2eModel.Model.md +++ b/Documentation/Pf2eModel/Pf2eModel.Model.md @@ -2,6 +2,8 @@ ## Pf2eModel\.Model Namespace +Модель классов ORM EntityFramework\. + | Interfaces | | | :--- | :--- | | [IEntity](IEntity.md 'Pf2eModel\.Model\.IEntity') | Интерфейс сущностей структуры\. | diff --git a/Documentation/Pf2eModel/_1.BuildTargetModel(ModelBuilder).md b/Documentation/Pf2eModel/_1.BuildTargetModel(ModelBuilder).md deleted file mode 100644 index 826875d..0000000 --- a/Documentation/Pf2eModel/_1.BuildTargetModel(ModelBuilder).md +++ /dev/null @@ -1,20 +0,0 @@ -#### [Pf2eModel](index.md 'index') -### [Pf2eModel\.Migrations](Pf2eModel.Migrations.md 'Pf2eModel\.Migrations').[\_1](_1.md 'Pf2eModel\.Migrations\.\_1') - -## \_1\.BuildTargetModel\(ModelBuilder\) Method - -Implemented to build the [Microsoft\.EntityFrameworkCore\.Migrations\.Migration\.TargetModel](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration.TargetModel 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration\.TargetModel')\. - -```csharp -protected override void BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder); -``` -#### Parameters - - - -`modelBuilder` [Microsoft\.EntityFrameworkCore\.ModelBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.ModelBuilder 'Microsoft\.EntityFrameworkCore\.ModelBuilder') - -The [Microsoft\.EntityFrameworkCore\.ModelBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.ModelBuilder 'Microsoft\.EntityFrameworkCore\.ModelBuilder') to use to build the model\. - -### Remarks -See [Database migrations](https://aka.ms/efcore-docs-migrations 'https://aka\.ms/efcore\-docs\-migrations') for more information and examples\. \ No newline at end of file diff --git a/Documentation/Pf2eModel/_1.Down(MigrationBuilder).md b/Documentation/Pf2eModel/_1.Down(MigrationBuilder).md deleted file mode 100644 index a7e4f71..0000000 --- a/Documentation/Pf2eModel/_1.Down(MigrationBuilder).md +++ /dev/null @@ -1,28 +0,0 @@ -#### [Pf2eModel](index.md 'index') -### [Pf2eModel\.Migrations](Pf2eModel.Migrations.md 'Pf2eModel\.Migrations').[\_1](_1.md 'Pf2eModel\.Migrations\.\_1') - -## \_1\.Down\(MigrationBuilder\) Method - -Builds the operations that will migrate the database 'down'\. - -```csharp -protected override void Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder migrationBuilder); -``` -#### Parameters - - - -`migrationBuilder` [Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder 'Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder') - -The [Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder 'Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder') that will build the operations\. - -### Remarks - -That is, builds the operations that will take the database from the state left in by -this migration so that it returns to the state that it was in before this migration was applied. - -This method must be overridden in each class that inherits from [Microsoft\.EntityFrameworkCore\.Migrations\.Migration](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration') if -both 'up' and 'down' migrations are to be supported. If it is not overridden, then calling it -will throw and it will not be possible to migrate in the 'down' direction. - -See [Database migrations](https://aka.ms/efcore-docs-migrations 'https://aka\.ms/efcore\-docs\-migrations') for more information and examples. \ No newline at end of file diff --git a/Documentation/Pf2eModel/_1.Up(MigrationBuilder).md b/Documentation/Pf2eModel/_1.Up(MigrationBuilder).md deleted file mode 100644 index 05a736f..0000000 --- a/Documentation/Pf2eModel/_1.Up(MigrationBuilder).md +++ /dev/null @@ -1,26 +0,0 @@ -#### [Pf2eModel](index.md 'index') -### [Pf2eModel\.Migrations](Pf2eModel.Migrations.md 'Pf2eModel\.Migrations').[\_1](_1.md 'Pf2eModel\.Migrations\.\_1') - -## \_1\.Up\(MigrationBuilder\) Method - -Builds the operations that will migrate the database 'up'\. - -```csharp -protected override void Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder migrationBuilder); -``` -#### Parameters - - - -`migrationBuilder` [Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder 'Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder') - -The [Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder 'Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder') that will build the operations\. - -### Remarks - -That is, builds the operations that will take the database from the state left in by the -previous migration so that it is up-to-date with regard to this migration. - -This method must be overridden in each class that inherits from [Microsoft\.EntityFrameworkCore\.Migrations\.Migration](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration'). - -See [Database migrations](https://aka.ms/efcore-docs-migrations 'https://aka\.ms/efcore\-docs\-migrations') for more information and examples. \ No newline at end of file diff --git a/Documentation/Pf2eModel/_1.md b/Documentation/Pf2eModel/_1.md deleted file mode 100644 index 0cb0349..0000000 --- a/Documentation/Pf2eModel/_1.md +++ /dev/null @@ -1,21 +0,0 @@ -#### [Pf2eModel](index.md 'index') -### [Pf2eModel\.Migrations](Pf2eModel.Migrations.md 'Pf2eModel\.Migrations') - -## \_1 Class - -A base class inherited by each EF Core migration\. - -```csharp -public class _1 : Microsoft.EntityFrameworkCore.Migrations.Migration -``` - -Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 [Microsoft\.EntityFrameworkCore\.Migrations\.Migration](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration') 🡒 _1 - -### Remarks -See [Database migrations](https://aka.ms/efcore-docs-migrations 'https://aka\.ms/efcore\-docs\-migrations') for more information and examples\. - -| Methods | | -| :--- | :--- | -| [BuildTargetModel\(ModelBuilder\)](_1.BuildTargetModel(ModelBuilder).md 'Pf2eModel\.Migrations\.\_1\.BuildTargetModel\(Microsoft\.EntityFrameworkCore\.ModelBuilder\)') | Implemented to build the [Microsoft\.EntityFrameworkCore\.Migrations\.Migration\.TargetModel](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration.TargetModel 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration\.TargetModel')\. | -| [Down\(MigrationBuilder\)](_1.Down(MigrationBuilder).md 'Pf2eModel\.Migrations\.\_1\.Down\(Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder\)') | Builds the operations that will migrate the database 'down'\. | -| [Up\(MigrationBuilder\)](_1.Up(MigrationBuilder).md 'Pf2eModel\.Migrations\.\_1\.Up\(Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder\)') | Builds the operations that will migrate the database 'up'\. | diff --git a/Documentation/Pf2eModel/index.md b/Documentation/Pf2eModel/index.md index 577925d..749c3be 100644 --- a/Documentation/Pf2eModel/index.md +++ b/Documentation/Pf2eModel/index.md @@ -5,21 +5,20 @@ | Namespaces | | | :--- | :--- | | [Pf2eModel](Pf2eModel.md 'Pf2eModel') | Набор классов модели ORM EntityFramework\. | -| [Pf2eModel\.Migrations](Pf2eModel.Migrations.md 'Pf2eModel\.Migrations') | | -| [Pf2eModel\.Model](Pf2eModel.Model.md 'Pf2eModel\.Model') | | -| [Pf2eModel\.Model\.Base](Pf2eModel.Model.Base.md 'Pf2eModel\.Model\.Base') | | -| [Pf2eModel\.Model\.Base\.Keywords](Pf2eModel.Model.Base.Keywords.md 'Pf2eModel\.Model\.Base\.Keywords') | | -| [Pf2eModel\.Model\.Base\.Source](Pf2eModel.Model.Base.Source.md 'Pf2eModel\.Model\.Base\.Source') | | -| [Pf2eModel\.Model\.Base\.Targets](Pf2eModel.Model.Base.Targets.md 'Pf2eModel\.Model\.Base\.Targets') | | -| [Pf2eModel\.Model\.Common](Pf2eModel.Model.Common.md 'Pf2eModel\.Model\.Common') | | -| [Pf2eModel\.Model\.Common\.I18n](Pf2eModel.Model.Common.I18n.md 'Pf2eModel\.Model\.Common\.I18n') | | -| [Pf2eModel\.Model\.Enum](Pf2eModel.Model.Enum.md 'Pf2eModel\.Model\.Enum') | | -| [Pf2eModel\.Model\.Structure](Pf2eModel.Model.Structure.md 'Pf2eModel\.Model\.Structure') | | -| [Pf2eModel\.Model\.Structure\.AncestryRelation](Pf2eModel.Model.Structure.AncestryRelation.md 'Pf2eModel\.Model\.Structure\.AncestryRelation') | | -| [Pf2eModel\.Model\.Structure\.ArchetypeRelation](Pf2eModel.Model.Structure.ArchetypeRelation.md 'Pf2eModel\.Model\.Structure\.ArchetypeRelation') | | -| [Pf2eModel\.Model\.Structure\.BackgroundRelation](Pf2eModel.Model.Structure.BackgroundRelation.md 'Pf2eModel\.Model\.Structure\.BackgroundRelation') | | -| [Pf2eModel\.Model\.Structure\.ClassRelation](Pf2eModel.Model.Structure.ClassRelation.md 'Pf2eModel\.Model\.Structure\.ClassRelation') | | -| [Pf2eModel\.Model\.Structure\.DeityRelation](Pf2eModel.Model.Structure.DeityRelation.md 'Pf2eModel\.Model\.Structure\.DeityRelation') | | -| [Pf2eModel\.Model\.Structure\.FeatRelation](Pf2eModel.Model.Structure.FeatRelation.md 'Pf2eModel\.Model\.Structure\.FeatRelation') | | -| [Pf2eModel\.Model\.Structure\.RitualRelation](Pf2eModel.Model.Structure.RitualRelation.md 'Pf2eModel\.Model\.Structure\.RitualRelation') | | -| [Pf2eModel\.Model\.Structure\.SpellRelation](Pf2eModel.Model.Structure.SpellRelation.md 'Pf2eModel\.Model\.Structure\.SpellRelation') | | +| [Pf2eModel\.Model](Pf2eModel.Model.md 'Pf2eModel\.Model') | Модель классов ORM EntityFramework\. | +| [Pf2eModel\.Model\.Base](Pf2eModel.Model.Base.md 'Pf2eModel\.Model\.Base') | Описание корневой сущности модели: класса [Entity](Entity.md 'Pf2eModel\.Model\.Base\.Entity') и его прямых связей\. | +| [Pf2eModel\.Model\.Base\.Keywords](Pf2eModel.Model.Base.Keywords.md 'Pf2eModel\.Model\.Base\.Keywords') | Классы, связанные с ключевыми словами, которые могут использоваться в разных типах сущностей\. | +| [Pf2eModel\.Model\.Base\.Source](Pf2eModel.Model.Base.Source.md 'Pf2eModel\.Model\.Base\.Source') | Классы, связанные с источниками, которые могут использоваться в разных типах сущностей\. | +| [Pf2eModel\.Model\.Base\.Targets](Pf2eModel.Model.Base.Targets.md 'Pf2eModel\.Model\.Base\.Targets') | Классы, связанные с целями внешних ссылок, которые могут использоваться в разных типах сущностей\. | +| [Pf2eModel\.Model\.Common](Pf2eModel.Model.Common.md 'Pf2eModel\.Model\.Common') | Общее классы на которые могут ссылаться разные типа\. | +| [Pf2eModel\.Model\.Common\.I18n](Pf2eModel.Model.Common.I18n.md 'Pf2eModel\.Model\.Common\.I18n') | Классы, связанные с интернационализацией \(i18n\) модели\. | +| [Pf2eModel\.Model\.Enum](Pf2eModel.Model.Enum.md 'Pf2eModel\.Model\.Enum') | Описание всех перечислений, использующихся в модели\. | +| [Pf2eModel\.Model\.Structure](Pf2eModel.Model.Structure.md 'Pf2eModel\.Model\.Structure') | Основные типы, которые связаны 1\-к\-1 с [Entity](Entity.md 'Pf2eModel\.Model\.Base\.Entity')\. Для указания этой связи используется интерфейс [IEntity](IEntity.md 'Pf2eModel\.Model\.IEntity')\. | +| [Pf2eModel\.Model\.Structure\.AncestryRelation](Pf2eModel.Model.Structure.AncestryRelation.md 'Pf2eModel\.Model\.Structure\.AncestryRelation') | Классы, описывающие связи класса [Ancestry](Ancestry.md 'Pf2eModel\.Model\.Structure\.Ancestry')\. | +| [Pf2eModel\.Model\.Structure\.ArchetypeRelation](Pf2eModel.Model.Structure.ArchetypeRelation.md 'Pf2eModel\.Model\.Structure\.ArchetypeRelation') | Классы, описывающие связи класса [Archetype](Archetype.md 'Pf2eModel\.Model\.Structure\.Archetype')\. | +| [Pf2eModel\.Model\.Structure\.BackgroundRelation](Pf2eModel.Model.Structure.BackgroundRelation.md 'Pf2eModel\.Model\.Structure\.BackgroundRelation') | Классы, описывающие связи класса [Background](Background.md 'Pf2eModel\.Model\.Structure\.Background')\. | +| [Pf2eModel\.Model\.Structure\.ClassRelation](Pf2eModel.Model.Structure.ClassRelation.md 'Pf2eModel\.Model\.Structure\.ClassRelation') | Классы, описывающие связи класса [Class](Class.md 'Pf2eModel\.Model\.Structure\.Class')\. | +| [Pf2eModel\.Model\.Structure\.DeityRelation](Pf2eModel.Model.Structure.DeityRelation.md 'Pf2eModel\.Model\.Structure\.DeityRelation') | Классы, описывающие связи класса [Deity](Deity.md 'Pf2eModel\.Model\.Structure\.Deity')\. | +| [Pf2eModel\.Model\.Structure\.FeatRelation](Pf2eModel.Model.Structure.FeatRelation.md 'Pf2eModel\.Model\.Structure\.FeatRelation') | Классы, описывающие связи класса [Feat](Feat.md 'Pf2eModel\.Model\.Structure\.Feat')\. | +| [Pf2eModel\.Model\.Structure\.RitualRelation](Pf2eModel.Model.Structure.RitualRelation.md 'Pf2eModel\.Model\.Structure\.RitualRelation') | Классы, описывающие связи класса [Ritual](Ritual.md 'Pf2eModel\.Model\.Structure\.Ritual')\. | +| [Pf2eModel\.Model\.Structure\.SpellRelation](Pf2eModel.Model.Structure.SpellRelation.md 'Pf2eModel\.Model\.Structure\.SpellRelation') | Классы, описывающие связи класса [Spell](Spell.md 'Pf2eModel\.Model\.Structure\.Spell')\. | diff --git a/Documentation/index.md b/Documentation/index.md new file mode 100644 index 0000000..a1e868e --- /dev/null +++ b/Documentation/index.md @@ -0,0 +1,2 @@ +- [`Pf2eModel`](Pf2eModel/index.md) - общая ORM-структура модели. +- [`Pf2eDataScrapper`](Pf2eDataScrapper/index.md) - загрузчик и обработчик данных. \ No newline at end of file diff --git a/Pf2eDataScrapper/Documentation.cs b/Pf2eDataScrapper/Documentation.cs new file mode 100644 index 0000000..9c48fc6 --- /dev/null +++ b/Pf2eDataScrapper/Documentation.cs @@ -0,0 +1,247 @@ +namespace Pf2eDataScrapper +{ + /// + /// Модель классов ORM EntityFramework. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Helpers +{ + /// + /// Классы-помощники, используемые во всех частях проекта. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers +{ + /// + /// Описание импортёров, которые определяют наборы обработчиков данных и элементов, необходимых для их работы. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd +{ + /// + /// Импортёр данных из сайта Archives of Nethys Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Compendium +{ + /// + /// Компендиум данных из сайта Archives of Nethys Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers +{ + /// + /// Класс-помощники, которые используются в импортере данных из сайта Archives of Nethys Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors +{ + /// + /// Обработчики данных из сайта Archives of Nethys Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation +{ + /// + /// Обработчики для подготовки данных Archives of Nethys Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Subclasses +{ + /// + /// Обработчики подклассов с сайта Archives of Nethys Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types +{ + /// + /// Обработчики основных сущностей с сайта Archives of Nethys Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.Rules +{ + /// + /// Обработчики правил с сайта Archives of Nethys Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.FoundryEn +{ + /// + /// Импортёр данных из модуля pf2e для FoundryVTT. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.FoundryEn.Compendium +{ + /// + /// Компендиум данных из модуля pf2e для FoundryVTT. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Implementations.FoundryEn.Processors.Preparation +{ + /// + /// Обработчики для подготовки данных из модуля pf2e для FoundryVTT. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Importers.Repositories +{ + /// + /// Общее описание репозиториев для хранения данных, которые используются в импортёрах и процессорах. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Processors +{ + /// + /// Общее описание обработчиков данных. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Processors.Attributes +{ + /// + /// Классы-аттрибуты, которые используются для описания обработчиков данных и их свойств. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Processors.Collection +{ + /// + /// Описание коллекции классов обработчиков данных. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Processors.Definitions +{ + /// + /// Общее описание классов и интерфейсов, которые используются в обработчиках данных. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.Processors.Factory +{ + /// + /// Фабрики для создания экземпляров обработчиков данных на основе их атрибутов и конфигурации. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.SchemaBuilder +{ + /// + /// Классы обработки вводимых JSON-данных и создание схемы данных для использовании при формировании обработчиков данных. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.SchemaBuilder.Types +{ + /// + /// Типы полей, которые используются в схемах данных для описания структуры вводимых JSON-данных. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.WPF +{ + /// + /// WPF-приложение для запуска обработчиков и просмотра данных Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.WPF.EntityViewer +{ + /// + /// WPF-окно для просмотра сущностей Pathfinder 2e, с возможностью фильтрации и поиска по данным. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.WPF.EntityViewer.Component +{ + /// + /// Компоненты, которые используются в WPF-окне просмотра сущностей Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.WPF.EntityViewer.EntityViewStructure +{ + /// + /// Структура представления сущностей Pathfinder 2e в WPF-приложении, включая классы и интерфейсы для отображения данных. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.WPF.EntityViewer.Stores +{ + /// + /// Хранилища данных для WPF-приложения просмотра сущностей Pathfinder 2e, которые управляют состоянием и данными приложения. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.WPF.EntityViewer.ViewModel +{ + /// + /// ViewModel для WPF-приложения просмотра сущностей Pathfinder 2e, которые связывают данные и представление. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.WPF.ProgressForm +{ + /// + /// WPF-окно для отображения прогресса выполнения операций, таких как импорт данных или обработка сущностей Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.WPF.StartForm +{ + /// + /// WPF-окно для запуска приложения, которое позволяет пользователю выбрать импортёр и начать обработку данных Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eDataScrapper.WPF.StartForm.Components +{ + /// + /// Компоненты, которые используются в WPF-окне запуска приложения для выбора импортёра и настройки параметров обработки данных Pathfinder 2e. + /// + internal static class NamespaceDoc { } +} diff --git a/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Common/ExternalProcessor.cs b/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Preparation/ExternalProcessor.cs similarity index 95% rename from Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Common/ExternalProcessor.cs rename to Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Preparation/ExternalProcessor.cs index de49b73..52fe39d 100644 --- a/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Common/ExternalProcessor.cs +++ b/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Preparation/ExternalProcessor.cs @@ -1,11 +1,10 @@ using Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers; -using Pf2eDataScrapper.Processors; using Pf2eDataScrapper.Processors.Attributes; using Pf2eDataScrapper.Processors.Definitions; using Pf2eModel; using Pf2eModel.Model.Base.Targets; -namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common; +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation; [Processor( "aonprd:external", diff --git a/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Common/SkillProcessor.cs b/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Preparation/SkillProcessor.cs similarity index 98% rename from Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Common/SkillProcessor.cs rename to Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Preparation/SkillProcessor.cs index 768f45e..8bf81d7 100644 --- a/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Common/SkillProcessor.cs +++ b/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Preparation/SkillProcessor.cs @@ -6,7 +6,7 @@ using Pf2eModel.Model.Common; using Pf2eModel.Model.Common.I18n; using Pf2eModel.Model.Enum; -namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common; +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation; [ProcessorCollection( "aonprd:skill", diff --git a/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Common/SourceProcessor.cs b/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Preparation/SourceProcessor.cs similarity index 98% rename from Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Common/SourceProcessor.cs rename to Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Preparation/SourceProcessor.cs index 99c3b78..80b99a6 100644 --- a/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Common/SourceProcessor.cs +++ b/Pf2eDataScrapper/Importers/Implementations/Aonprd/Processors/Preparation/SourceProcessor.cs @@ -7,7 +7,7 @@ using Pf2eModel; using Pf2eModel.Model.Base.Source; using Pf2eModel.Model.Enum; -namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Common; +namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation; [ProcessorCollection( "aonprd:source", diff --git a/Pf2eDataScrapper/Processors/Attributes/ProcessorGroupEnum.cs b/Pf2eDataScrapper/Processors/Attributes/ProcessorGroupEnum.cs index 427c040..41c56b2 100644 --- a/Pf2eDataScrapper/Processors/Attributes/ProcessorGroupEnum.cs +++ b/Pf2eDataScrapper/Processors/Attributes/ProcessorGroupEnum.cs @@ -15,37 +15,37 @@ public enum ProcessorGroupEnum General, /// - /// Обработчик для подготовки данных Архивов Нефиса. + /// Обработчик для подготовки данных с сайта Archives of Nethys Pathfinder 2e. /// [Description("Архивы Нефиса: Подготовка")] AonprdPreparation, /// - /// Обработчик основных сущностей Архивов Нефиса. + /// Обработчик основных сущностей с сайта Archives of Nethys Pathfinder 2e. /// [Description("Архивы Нефиса: Основные сущности")] AonprdEntities, /// - /// Обработчик подклассов Архивов Нефиса. + /// Обработчик подклассов с сайта Archives of Nethys Pathfinder 2e. /// [Description("Архивы Нефиса: Подклассы")] AonprdSubclasses, /// - /// Обработчик для завершения обработки данных Архивов Нефиса. + /// Обработчик для завершения обработки данных с сайта Archives of Nethys Pathfinder 2e. /// [Description("Архивы Нефиса: Завершение")] AonprdFinalization, /// - /// Обработчик для подготовки данных Foundry EN. + /// Обработчик для подготовки данных из модуля pf2e для FoundryVTT. /// [Description("Foundry EN: Подготовка")] FoundryEnPreparation, /// - /// Обработчик основных сущностей Foundry EN. + /// Обработчик основных сущностей из модуля pf2e для FoundryVTT. /// [Description("Foundry EN: Основные сущности")] FoundryEnEntities, diff --git a/Pf2eDataScrapper/SchemaBuilder/SchemaNode.cs b/Pf2eDataScrapper/SchemaBuilder/SchemaNode.cs index 544d28d..27cde43 100644 --- a/Pf2eDataScrapper/SchemaBuilder/SchemaNode.cs +++ b/Pf2eDataScrapper/SchemaBuilder/SchemaNode.cs @@ -8,6 +8,14 @@ namespace Pf2eDataScrapper.SchemaBuilder; /// /// Элемент схемы данных. /// +/// +/// Пример использования: +/// +/// SchemaNode schema = new (); // Создание схемы данных +/// data = JObject.Parse(reader.ReadToEnd()); // Загрузка данных +/// schema.AddValue(data); // Добавление данных +/// +/// internal class SchemaNode { /// diff --git a/Pf2eModel/Documentation.cs b/Pf2eModel/Documentation.cs new file mode 100644 index 0000000..6736583 --- /dev/null +++ b/Pf2eModel/Documentation.cs @@ -0,0 +1,153 @@ +namespace Pf2eModel +{ + /// + /// Набор классов модели ORM EntityFramework. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model +{ + /// + /// Модель классов ORM EntityFramework. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Base +{ + /// + /// Описание корневой сущности модели: класса и его прямых связей. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Base.Keywords +{ + /// + /// Классы, связанные с ключевыми словами, которые могут использоваться в разных типах сущностей. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Base.Source +{ + /// + /// Классы, связанные с источниками, которые могут использоваться в разных типах сущностей. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Base.Targets +{ + /// + /// Классы, связанные с целями внешних ссылок, которые могут использоваться в разных типах сущностей. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Common +{ + /// + /// Общее классы на которые могут ссылаться разные типа. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Common.I18n +{ + /// + /// Классы, связанные с интернационализацией (i18n) модели. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Enum +{ + /// + /// Описание всех перечислений, использующихся в модели. + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Structure +{ + /// + /// Основные типы, которые связаны 1-к-1 с . + /// Для указания этой связи используется интерфейс . + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Migrations +{ + /// + /// Миграции БД, генерируются в автомотическом режиме. + /// + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Structure.AncestryRelation +{ + /// + /// Классы, описывающие связи класса . + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Structure.ArchetypeRelation +{ + /// + /// Классы, описывающие связи класса . + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Structure.BackgroundRelation +{ + /// + /// Классы, описывающие связи класса . + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Structure.ClassRelation +{ + /// + /// Классы, описывающие связи класса . + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Structure.DeityRelation +{ + /// + /// Классы, описывающие связи класса . + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Structure.FeatRelation +{ + /// + /// Классы, описывающие связи класса . + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Structure.RitualRelation +{ + /// + /// Классы, описывающие связи класса . + /// + internal static class NamespaceDoc { } +} + +namespace Pf2eModel.Model.Structure.SpellRelation +{ + /// + /// Классы, описывающие связи класса . + /// + internal static class NamespaceDoc { } +} diff --git a/Pf2eModel/Pf2eDbContext.cs b/Pf2eModel/Pf2eDbContext.cs index c7c5c52..4d314e8 100644 --- a/Pf2eModel/Pf2eDbContext.cs +++ b/Pf2eModel/Pf2eDbContext.cs @@ -181,8 +181,3 @@ public partial class Pf2eDbContext : DbContext ); } } - -/// -/// Набор классов модели ORM EntityFramework. -/// -internal static class NamespaceDoc { } diff --git a/README.md b/README.md index 550b352..8ba9464 100644 --- a/README.md +++ b/README.md @@ -13,57 +13,14 @@ - Перейдите а папку `Pf2eModel` (`cd ../Pf2eModel`) и запустите `dotnet ef database update` для создания структуры БД в командной строке. Если необходимо обновить структуру после изменения модели - используйте скрипт `RebuildDatabase.bat`. - Запустите проект `Pf2eDataScrapper` для парсинга информации. -## Роли проектов +## Роли и документация проектов -- `Pf2eModel` - общая ORM-структура модели. -- `Pf2eDataScrapper` - загрузчик и обработчик данных. +- [`Pf2eModel`](Documentation/Pf2eModel/index.md) - общая ORM-структура модели. +- [`Pf2eDataScrapper`](Documentation/Pf2eDataScrapper/index.md) - загрузчик и обработчик данных. -## Общая структура +По ссылкам можно увидеть полную документацию классов. -### `Pf2eModel` - -Набор классов модели ORM EntityFramework. - -Класс-контекст `Pf2eDbContext` разделён на 2 файла: -- в `Pf2eDbContext.cs` находится набор таблиц и конфигурация БД, -- в `Pf2eDbContextModel.cs` находится Fluent API описание связей в модели. - -Для удобства модель разбита на несколько папок-пространст имён: -- `Base` - здесь описан класс `Entity`, который является корнем всех связей и описаний. В этой таблице находятся общие характеристики объектов: название, описание, тип, а так же ссылки на общие элементы: указание источников и трейтов - всё это в пространстве имён -- `Common` содержит общее классы на которые могут ссылаться разные типа. -- `Enum` содержит описание всех перечислений, использующихся в модели. -- `Structure` содержит все основные типы, которые связаны 1-к-1 с `Entity` (для указания этого используется интерфейс `IEntity`). - -#### `Migrations` - -Миграции БД, генерируются в автомотическом режиме. - -### `Pf2eDataScrapper` - -Основной проект обработки и отображения данных. - -Структура пространст имён: - -- `Helpers` - классы-помощники, которые используются в - -#### `SchemaBuilder` - -Классы обработки вводимых JSON-данных и создание схемы данных для использовании при формировании обработчиков данных. - -Использование: -```csharp -SchemaNode schema = new(); // Создание схемы данных - -data = JObject.Parse(reader.ReadToEnd()); // Загрузка данных - -schema.AddValue(data); // Добавление данных -``` - -#### `Importers` - -Классы загрузки и обработки данных. - -# Прогресс +# Прогресс создания обработчиков ## Aonprd (Архивы Нефиса)