Глобальное обновление #1

Merged
kozhilya merged 33 commits from dev into master 2025-06-01 22:28:15 +04:00
81 changed files with 602 additions and 341 deletions
Showing only changes of commit b96bd2a224 - Show all commits
@@ -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')
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.Helpers Namespace
Классы\-помощники, используемые во всех частях проекта\.
| Classes | |
| :--- | :--- |
| [DatabaseHelper](DatabaseHelper.md 'Pf2eDataScrapper\.Helpers\.DatabaseHelper') | Класс предоставляет методы для работы с базой данных\. |
@@ -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') | Класс хранения данных компендиума\. |
@@ -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') | Класс\-помощник, хранящий необходимые глобальные данные\. |
@@ -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') | |
@@ -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') | |
@@ -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') | |
@@ -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') | |
@@ -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') | |
@@ -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')\. |
@@ -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') | Класс обработки данных с сайта Архивов Нефеса\. |
@@ -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') | Папка компендиума\. |
@@ -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') | |
@@ -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\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.Importers\.Repositories Namespace
Общее описание репозиториев для хранения данных, которые используются в импортёрах и процессорах\.
| Classes | |
| :--- | :--- |
| [AbstractImporterRepository](AbstractImporterRepository.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository') | Класс абстрактного репозитория\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.Importers Namespace
Описание импортёров, которые определяют наборы обработчиков данных и элементов, необходимых для их работы\.
| Classes | |
| :--- | :--- |
| [AbstractCompendium](AbstractCompendium.md 'Pf2eDataScrapper\.Importers\.AbstractCompendium') | Компендиум данных\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.Processors\.Attributes Namespace
Классы\-аттрибуты, которые используются для описания обработчиков данных и их свойств\.
| Classes | |
| :--- | :--- |
| [AbstractProcessorAttribute](AbstractProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute') | Абстрактный аттрибут обработчика\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.Processors\.Collection Namespace
Описание коллекции классов обработчиков данных\.
| Classes | |
| :--- | :--- |
| [ProcessorCollection](ProcessorCollection.md 'Pf2eDataScrapper\.Processors\.Collection\.ProcessorCollection') | Класс с коллекцией обработчиков\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.Processors\.Definitions Namespace
Общее описание классов и интерфейсов, которые используются в обработчиках данных\.
| Classes | |
| :--- | :--- |
| [AbstractInputProcessor](AbstractInputProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor') | Абстрактный класс\-обработчик данных, полученных из Архивов Нефиса\. Класс предназначен для обработки данных с помощью различных обработчиков, для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.Processors\.Factory Namespace
Фабрики для создания экземпляров обработчиков данных на основе их атрибутов и конфигурации\.
| Classes | |
| :--- | :--- |
| [AbstractProcessorFactory](AbstractProcessorFactory.md 'Pf2eDataScrapper\.Processors\.Factory\.AbstractProcessorFactory') | Абстрактная фабрика создания процессоров\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.Processors Namespace
Общее описание обработчиков данных\.
| Classes | |
| :--- | :--- |
| [EnumSolver&lt;TEnum&gt;](EnumSolver_TEnum_.md 'Pf2eDataScrapper\.Processors\.EnumSolver\<TEnum\>') | Абстрактный класс для разрешения значений перечислений\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.SchemaBuilder\.Types Namespace
Типы полей, которые используются в схемах данных для описания структуры вводимых JSON\-данных\.
| Classes | |
| :--- | :--- |
| [AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType') | Абстрактный тип представоления данных в схеме\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.SchemaBuilder Namespace
Классы обработки вводимых JSON\-данных и создание схемы данных для использовании при формировании обработчиков данных\.
| Classes | |
| :--- | :--- |
| [AbstractSchemaBuildProcessor](AbstractSchemaBuildProcessor.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor') | |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.WPF\.EntityViewer\.Component Namespace
Компоненты, которые используются в WPF\-окне просмотра сущностей Pathfinder 2e\.
| Classes | |
| :--- | :--- |
| [EntityListControl](EntityListControl.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.Component\.EntityListControl') | Логика взаимодействия для DbEntityListControl\.xaml |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.WPF\.EntityViewer\.EntityViewStructure Namespace
Структура представления сущностей Pathfinder 2e в WPF\-приложении, включая классы и интерфейсы для отображения данных\.
| Classes | |
| :--- | :--- |
| [CollapseCommand](CollapseCommand.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.EntityViewStructure\.CollapseCommand') | Команда для сворачивания/разворачивания поля структуры\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.WPF\.EntityViewer\.Stores Namespace
Хранилища данных для WPF\-приложения просмотра сущностей Pathfinder 2e, которые управляют состоянием и данными приложения\.
| Classes | |
| :--- | :--- |
| [SelectedEntityStore](SelectedEntityStore.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.Stores\.SelectedEntityStore') | Хранилище выбранной сущности\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.WPF\.EntityViewer\.ViewModel Namespace
ViewModel для WPF\-приложения просмотра сущностей Pathfinder 2e, которые связывают данные и представление\.
| Classes | |
| :--- | :--- |
| [EntityListViewModel](EntityListViewModel.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.ViewModel\.EntityListViewModel') | |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.WPF\.EntityViewer Namespace
WPF\-окно для просмотра сущностей Pathfinder 2e, с возможностью фильтрации и поиска по данным\.
| Classes | |
| :--- | :--- |
| [EntityForm](EntityForm.md 'Pf2eDataScrapper\.WPF\.EntityViewer\.EntityForm') | |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.WPF\.ProgressForm Namespace
WPF\-окно для отображения прогресса выполнения операций, таких как импорт данных или обработка сущностей Pathfinder 2e\.
| Classes | |
| :--- | :--- |
| [ProgressForm](ProgressForm.md 'Pf2eDataScrapper\.WPF\.ProgressForm\.ProgressForm') | Логика взаимодействия для ProgressFormWpf\.xaml |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.WPF\.StartForm\.Components Namespace
Компоненты, которые используются в WPF\-окне запуска приложения для выбора импортёра и настройки параметров обработки данных Pathfinder 2e\.
| Classes | |
| :--- | :--- |
| [ProcessorCollectionControl](ProcessorCollectionControl.md 'Pf2eDataScrapper\.WPF\.StartForm\.Components\.ProcessorCollectionControl') | Логика взаимодействия для ProcessorCollectionControl\.xaml |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.WPF\.StartForm Namespace
WPF\-окно для запуска приложения, которое позволяет пользователю выбрать импортёр и начать обработку данных Pathfinder 2e\.
| Classes | |
| :--- | :--- |
| [StartForm](StartForm.md 'Pf2eDataScrapper\.WPF\.StartForm\.StartForm') | |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper\.WPF Namespace
WPF\-приложение для запуска обработчиков и просмотра данных Pathfinder 2e\.
| Classes | |
| :--- | :--- |
| [WpfServiceProviderExtension](WpfServiceProviderExtension.md 'Pf2eDataScrapper\.WPF\.WpfServiceProviderExtension') | Расширение для IServiceCollection, позволяющее регистрировать сервисы WPF\. |
@@ -2,6 +2,8 @@
## Pf2eDataScrapper Namespace
Модель классов ORM EntityFramework\.
| Classes | |
| :--- | :--- |
| [ApplicationSettings](ApplicationSettings.md 'Pf2eDataScrapper\.ApplicationSettings') | Настройки программы\. |
@@ -20,34 +20,34 @@ public enum ProcessorGroupEnum
`AonprdPreparation` 1
Обработчик для подготовки данных Архивов Нефиса\.
Обработчик для подготовки данных с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\.
<a name='Pf2eDataScrapper.Processors.Attributes.ProcessorGroupEnum.AonprdEntities'></a>
`AonprdEntities` 2
Обработчик основных сущностей Архивов Нефиса\.
Обработчик основных сущностей с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\.
<a name='Pf2eDataScrapper.Processors.Attributes.ProcessorGroupEnum.AonprdSubclasses'></a>
`AonprdSubclasses` 3
Обработчик подклассов Архивов Нефиса\.
Обработчик подклассов с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\.
<a name='Pf2eDataScrapper.Processors.Attributes.ProcessorGroupEnum.AonprdFinalization'></a>
`AonprdFinalization` 4
Обработчик для завершения обработки данных Архивов Нефиса\.
Обработчик для завершения обработки данных с сайта [Archives of Nethys Pathfinder 2e](https://aonprd.com/ 'https://aonprd\.com/')\.
<a name='Pf2eDataScrapper.Processors.Attributes.ProcessorGroupEnum.FoundryEnPreparation'></a>
`FoundryEnPreparation` 5
Обработчик для подготовки данных Foundry EN\.
Обработчик для подготовки данных из модуля [pf2e](https://github.com/foundryvtt/pf2e 'https://github\.com/foundryvtt/pf2e') для FoundryVTT\.
<a name='Pf2eDataScrapper.Processors.Attributes.ProcessorGroupEnum.FoundryEnEntities'></a>
`FoundryEnEntities` 6
Обработчик основных сущностей Foundry EN\.
Обработчик основных сущностей из модуля [pf2e](https://github.com/foundryvtt/pf2e 'https://github\.com/foundryvtt/pf2e') для FoundryVTT\.
@@ -11,6 +11,15 @@ internal class SchemaNode
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') &#129106; 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\(\)') | Конструктор корневого элемента\. |
@@ -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
@@ -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
@@ -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
@@ -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\(\)') | Метод для сохранения изменений в базе данных\. |
@@ -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
@@ -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
@@ -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
@@ -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\(\)') | Метод для сохранения изменений в базе данных\. |
+31 -32
View File
@@ -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') | |
@@ -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
<a name='Pf2eModel.Migrations.Function.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder).modelBuilder'></a>
`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\.
@@ -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
<a name='Pf2eModel.Migrations.Function.Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder).migrationBuilder'></a>
`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.
@@ -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
<a name='Pf2eModel.Migrations.Function.Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder).migrationBuilder'></a>
`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.
-21
View File
@@ -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') &#129106; [Microsoft\.EntityFrameworkCore\.Migrations\.Migration](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration') &#129106; 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'\. |
@@ -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\. |
@@ -2,6 +2,8 @@
## Pf2eModel\.Model\.Base\.Keywords Namespace
Классы, связанные с ключевыми словами, которые могут использоваться в разных типах сущностей\.
| Classes | |
| :--- | :--- |
| [Keyword](Keyword.md 'Pf2eModel\.Model\.Base\.Keywords\.Keyword') | Ключевое слово\. |
@@ -2,6 +2,8 @@
## Pf2eModel\.Model\.Base\.Source Namespace
Классы, связанные с источниками, которые могут использоваться в разных типах сущностей\.
| Classes | |
| :--- | :--- |
| [EntitySource](EntitySource.md 'Pf2eModel\.Model\.Base\.Source\.EntitySource') | Связь между сущностью и источником\. |
@@ -2,6 +2,8 @@
## Pf2eModel\.Model\.Base\.Targets Namespace
Классы, связанные с целями внешних ссылок, которые могут использоваться в разных типах сущностей\.
| Classes | |
| :--- | :--- |
| [EntityExternal](EntityExternal.md 'Pf2eModel\.Model\.Base\.Targets\.EntityExternal') | Внешняя ссылка сущности\. |
@@ -2,6 +2,8 @@
## Pf2eModel\.Model\.Base Namespace
Описание корневой сущности модели: класса [Entity](Entity.md 'Pf2eModel\.Model\.Base\.Entity') и его прямых связей\.
| Classes | |
| :--- | :--- |
| [Entity](Entity.md 'Pf2eModel\.Model\.Base\.Entity') | Корневая сущность\. |
@@ -2,6 +2,8 @@
## Pf2eModel\.Model\.Common\.I18n Namespace
Классы, связанные с интернационализацией \(i18n\) модели\.
| Classes | |
| :--- | :--- |
| [LocaleExtension](LocaleExtension.md 'Pf2eModel\.Model\.Common\.I18n\.LocaleExtension') | Расширения для работы с локализацией\. |
@@ -2,6 +2,8 @@
## Pf2eModel\.Model\.Common Namespace
Общее классы на которые могут ссылаться разные типа\.
| Classes | |
| :--- | :--- |
| [Frequency](Frequency.md 'Pf2eModel\.Model\.Common\.Frequency') | Частота использования\. |
@@ -2,6 +2,8 @@
## Pf2eModel\.Model\.Enum Namespace
Описание всех перечислений, использующихся в модели\.
| Enums | |
| :--- | :--- |
| [ActionCategory](ActionCategory.md 'Pf2eModel\.Model\.Enum\.ActionCategory') | Тип действия\. |
@@ -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') | Элемент набора повышений атрибутов для родословной\. |
@@ -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') | Связь между архетипом и его чертами\. |
@@ -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') | Элемент набора атрибутов для предыстории\. |
@@ -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') | Набор ключевых атрибутов класса\. |
@@ -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') | Элемент отношения божества и атрибута\. |
@@ -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') | Предварительное требование для черты\. |
@@ -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') | Область действия ритуала\. |
@@ -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') | Область заклинания\. |
@@ -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') | Действие\. |
@@ -2,6 +2,8 @@
## Pf2eModel\.Model Namespace
Модель классов ORM EntityFramework\.
| Interfaces | |
| :--- | :--- |
| [IEntity](IEntity.md 'Pf2eModel\.Model\.IEntity') | Интерфейс сущностей структуры\. |
@@ -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
<a name='Pf2eModel.Migrations._1.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder).modelBuilder'></a>
`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\.
@@ -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
<a name='Pf2eModel.Migrations._1.Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder).migrationBuilder'></a>
`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.
@@ -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
<a name='Pf2eModel.Migrations._1.Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder).migrationBuilder'></a>
`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.
-21
View File
@@ -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') &#129106; [Microsoft\.EntityFrameworkCore\.Migrations\.Migration](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration') &#129106; _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'\. |
+17 -18
View File
@@ -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')\. |
+2
View File
@@ -0,0 +1,2 @@
- [`Pf2eModel`](Pf2eModel/index.md) - общая ORM-структура модели.
- [`Pf2eDataScrapper`](Pf2eDataScrapper/index.md) - загрузчик и обработчик данных.
+247
View File
@@ -0,0 +1,247 @@
namespace Pf2eDataScrapper
{
/// <summary>
/// Модель классов ORM EntityFramework.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Helpers
{
/// <summary>
/// Классы-помощники, используемые во всех частях проекта.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers
{
/// <summary>
/// Описание импортёров, которые определяют наборы обработчиков данных и элементов, необходимых для их работы.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.Aonprd
{
/// <summary>
/// Импортёр данных из сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Compendium
{
/// <summary>
/// Компендиум данных из сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers
{
/// <summary>
/// Класс-помощники, которые используются в импортере данных из сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors
{
/// <summary>
/// Обработчики данных из сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Preparation
{
/// <summary>
/// Обработчики для подготовки данных <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Subclasses
{
/// <summary>
/// Обработчики подклассов с сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types
{
/// <summary>
/// Обработчики основных сущностей с сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.Rules
{
/// <summary>
/// Обработчики правил с сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.FoundryEn
{
/// <summary>
/// Импортёр данных из модуля <see href="https://github.com/foundryvtt/pf2e">pf2e</see> для FoundryVTT.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.FoundryEn.Compendium
{
/// <summary>
/// Компендиум данных из модуля <see href="https://github.com/foundryvtt/pf2e">pf2e</see> для FoundryVTT.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Implementations.FoundryEn.Processors.Preparation
{
/// <summary>
/// Обработчики для подготовки данных из модуля <see href="https://github.com/foundryvtt/pf2e">pf2e</see> для FoundryVTT.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Importers.Repositories
{
/// <summary>
/// Общее описание репозиториев для хранения данных, которые используются в импортёрах и процессорах.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Processors
{
/// <summary>
/// Общее описание обработчиков данных.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Processors.Attributes
{
/// <summary>
/// Классы-аттрибуты, которые используются для описания обработчиков данных и их свойств.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Processors.Collection
{
/// <summary>
/// Описание коллекции классов обработчиков данных.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Processors.Definitions
{
/// <summary>
/// Общее описание классов и интерфейсов, которые используются в обработчиках данных.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.Processors.Factory
{
/// <summary>
/// Фабрики для создания экземпляров обработчиков данных на основе их атрибутов и конфигурации.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.SchemaBuilder
{
/// <summary>
/// Классы обработки вводимых JSON-данных и создание схемы данных для использовании при формировании обработчиков данных.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.SchemaBuilder.Types
{
/// <summary>
/// Типы полей, которые используются в схемах данных для описания структуры вводимых JSON-данных.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.WPF
{
/// <summary>
/// WPF-приложение для запуска обработчиков и просмотра данных Pathfinder 2e.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.WPF.EntityViewer
{
/// <summary>
/// WPF-окно для просмотра сущностей Pathfinder 2e, с возможностью фильтрации и поиска по данным.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.WPF.EntityViewer.Component
{
/// <summary>
/// Компоненты, которые используются в WPF-окне просмотра сущностей Pathfinder 2e.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.WPF.EntityViewer.EntityViewStructure
{
/// <summary>
/// Структура представления сущностей Pathfinder 2e в WPF-приложении, включая классы и интерфейсы для отображения данных.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.WPF.EntityViewer.Stores
{
/// <summary>
/// Хранилища данных для WPF-приложения просмотра сущностей Pathfinder 2e, которые управляют состоянием и данными приложения.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.WPF.EntityViewer.ViewModel
{
/// <summary>
/// ViewModel для WPF-приложения просмотра сущностей Pathfinder 2e, которые связывают данные и представление.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.WPF.ProgressForm
{
/// <summary>
/// WPF-окно для отображения прогресса выполнения операций, таких как импорт данных или обработка сущностей Pathfinder 2e.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.WPF.StartForm
{
/// <summary>
/// WPF-окно для запуска приложения, которое позволяет пользователю выбрать импортёр и начать обработку данных Pathfinder 2e.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eDataScrapper.WPF.StartForm.Components
{
/// <summary>
/// Компоненты, которые используются в WPF-окне запуска приложения для выбора импортёра и настройки параметров обработки данных Pathfinder 2e.
/// </summary>
internal static class NamespaceDoc { }
}
@@ -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",
@@ -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",
@@ -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",
@@ -15,37 +15,37 @@ public enum ProcessorGroupEnum
General,
/// <summary>
/// Обработчик для подготовки данных Архивов Нефиса.
/// Обработчик для подготовки данных с сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
[Description("Архивы Нефиса: Подготовка")]
AonprdPreparation,
/// <summary>
/// Обработчик основных сущностей Архивов Нефиса.
/// Обработчик основных сущностей с сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
[Description("Архивы Нефиса: Основные сущности")]
AonprdEntities,
/// <summary>
/// Обработчик подклассов Архивов Нефиса.
/// Обработчик подклассов с сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
[Description("Архивы Нефиса: Подклассы")]
AonprdSubclasses,
/// <summary>
/// Обработчик для завершения обработки данных Архивов Нефиса.
/// Обработчик для завершения обработки данных с сайта <see href="https://aonprd.com/">Archives of Nethys Pathfinder 2e</see>.
/// </summary>
[Description("Архивы Нефиса: Завершение")]
AonprdFinalization,
/// <summary>
/// Обработчик для подготовки данных Foundry EN.
/// Обработчик для подготовки данных из модуля <see href="https://github.com/foundryvtt/pf2e">pf2e</see> для FoundryVTT.
/// </summary>
[Description("Foundry EN: Подготовка")]
FoundryEnPreparation,
/// <summary>
/// Обработчик основных сущностей Foundry EN.
/// Обработчик основных сущностей из модуля <see href="https://github.com/foundryvtt/pf2e">pf2e</see> для FoundryVTT.
/// </summary>
[Description("Foundry EN: Основные сущности")]
FoundryEnEntities,
@@ -8,6 +8,14 @@ namespace Pf2eDataScrapper.SchemaBuilder;
/// <summary>
/// Элемент схемы данных.
/// </summary>
/// <example>
/// Пример использования:
/// <code>
/// SchemaNode schema = new (); // Создание схемы данных
/// data = JObject.Parse(reader.ReadToEnd()); // Загрузка данных
/// schema.AddValue(data); // Добавление данных
/// </code>
/// </example>
internal class SchemaNode
{
/// <summary>
+153
View File
@@ -0,0 +1,153 @@
namespace Pf2eModel
{
/// <summary>
/// Набор классов модели ORM EntityFramework.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model
{
/// <summary>
/// Модель классов ORM EntityFramework.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Base
{
/// <summary>
/// Описание корневой сущности модели: класса <see cref="Entity"/> и его прямых связей.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Base.Keywords
{
/// <summary>
/// Классы, связанные с ключевыми словами, которые могут использоваться в разных типах сущностей.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Base.Source
{
/// <summary>
/// Классы, связанные с источниками, которые могут использоваться в разных типах сущностей.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Base.Targets
{
/// <summary>
/// Классы, связанные с целями внешних ссылок, которые могут использоваться в разных типах сущностей.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Common
{
/// <summary>
/// Общее классы на которые могут ссылаться разные типа.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Common.I18n
{
/// <summary>
/// Классы, связанные с интернационализацией (i18n) модели.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Enum
{
/// <summary>
/// Описание всех перечислений, использующихся в модели.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Structure
{
/// <summary>
/// Основные типы, которые связаны 1-к-1 с <see cref="Pf2eModel.Model.Base.Entity"/>.
/// Для указания этой связи используется интерфейс <see cref="Pf2eModel.Model.IEntity"/>.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Migrations
{
/// <summary>
/// Миграции БД, генерируются в автомотическом режиме.
/// </summary>
/// <exclude/>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Structure.AncestryRelation
{
/// <summary>
/// Классы, описывающие связи класса <see cref="Pf2eModel.Model.Structure.Ancestry" />.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Structure.ArchetypeRelation
{
/// <summary>
/// Классы, описывающие связи класса <see cref="Pf2eModel.Model.Structure.Archetype" />.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Structure.BackgroundRelation
{
/// <summary>
/// Классы, описывающие связи класса <see cref="Pf2eModel.Model.Structure.Background" />.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Structure.ClassRelation
{
/// <summary>
/// Классы, описывающие связи класса <see cref="Pf2eModel.Model.Structure.Class" />.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Structure.DeityRelation
{
/// <summary>
/// Классы, описывающие связи класса <see cref="Pf2eModel.Model.Structure.Deity" />.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Structure.FeatRelation
{
/// <summary>
/// Классы, описывающие связи класса <see cref="Pf2eModel.Model.Structure.Feat" />.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Structure.RitualRelation
{
/// <summary>
/// Классы, описывающие связи класса <see cref="Pf2eModel.Model.Structure.Ritual" />.
/// </summary>
internal static class NamespaceDoc { }
}
namespace Pf2eModel.Model.Structure.SpellRelation
{
/// <summary>
/// Классы, описывающие связи класса <see cref="Pf2eModel.Model.Structure.Spell" />.
/// </summary>
internal static class NamespaceDoc { }
}
-5
View File
@@ -181,8 +181,3 @@ public partial class Pf2eDbContext : DbContext
);
}
}
/// <summary>
/// Набор классов модели ORM EntityFramework.
/// </summary>
internal static class NamespaceDoc { }
+5 -48
View File
@@ -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 (Архивы Нефиса)