Compare commits
75
Commits
0da1424477
..
dev2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4aa107c3d9 | ||
|
|
66f3adc5f9 | ||
|
|
90597560c5 | ||
|
|
8290183220 | ||
|
|
776abeb58a | ||
|
|
843d0a4aa3 | ||
|
|
2ab05ee592 | ||
|
|
ea1dcb1595 | ||
|
|
73cb4a9982 | ||
|
|
1ee0f2b47b | ||
|
|
3036442621 | ||
|
|
75eba984b5 | ||
|
|
b96bd2a224 | ||
|
|
c9c92a2b54 | ||
|
|
8ff9f6bbc6 | ||
|
|
64c05a393f | ||
|
|
2fa2371ed7 | ||
|
|
34be3a5fc4 | ||
|
|
81695587f1 | ||
|
|
96b4d6da31 | ||
|
|
4d01b100d1 | ||
|
|
00de4cb319 | ||
|
|
bb50ebe986 | ||
|
|
0274d9cbef | ||
|
|
03a644624f | ||
|
|
b49be9883e | ||
|
|
204238de4d | ||
|
|
1d63b695d1 | ||
|
|
f1ca9ec3e4 | ||
|
|
e46cd99f41 | ||
|
|
afdc5d3f81 | ||
|
|
4a7067f0b9 | ||
|
|
2b61669e7a | ||
|
|
995029ce8d | ||
|
|
e6f53fc074 | ||
|
|
619ac7138c | ||
|
|
6426ecfe40 | ||
|
|
1b76893b32 | ||
|
|
83ee914991 | ||
|
|
aad2081912 | ||
|
|
5d2982330d | ||
|
|
f3d710d7d7 | ||
|
|
a9f9ae4b93 | ||
|
|
53baa87144 | ||
|
|
fb8fbc9fbb | ||
|
|
74295465db | ||
|
|
3c65274b45 | ||
|
|
1a977ee988 | ||
|
|
54ef2cf331 | ||
|
|
087421be8a | ||
|
|
d48dc62fe7 | ||
|
|
3168c9c406 | ||
|
|
7c2f2349c0 | ||
|
|
9708bf31e2 | ||
|
|
bf016df060 | ||
|
|
8a0cdcb943 | ||
|
|
bc601379b3 | ||
|
|
693b253ac2 | ||
|
|
6abda701a4 | ||
|
|
5693fa8ce8 | ||
|
|
c1b70a12eb | ||
|
|
fc5d68ca1f | ||
|
|
2c1756cef6 | ||
|
|
c704bc551b | ||
|
|
119a4a893a | ||
|
|
197a9862b3 | ||
|
|
5d3c06e921 | ||
|
|
59a520367f | ||
|
|
5296687d14 | ||
|
|
fda74b661a | ||
|
|
e856f91f9e | ||
|
|
6ec4e43f9d | ||
|
|
c6548349b9 | ||
|
|
732988bd18 | ||
|
|
887094e8ba |
@@ -3,7 +3,7 @@
|
|||||||
"isRoot": true,
|
"isRoot": true,
|
||||||
"tools": {
|
"tools": {
|
||||||
"csharpier": {
|
"csharpier": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"commands": [
|
"commands": [
|
||||||
"csharpier"
|
"csharpier"
|
||||||
],
|
],
|
||||||
|
|||||||
+24
-7
@@ -1,5 +1,5 @@
|
|||||||
# Удалите строку ниже, если вы хотите наследовать параметры .editorconfig из каталогов, расположенных выше в иерархии
|
root = true
|
||||||
root = true
|
# Удалите строку ниже, если вы хотите наследовать параметры .editorconfig из каталогов, расположенных выше в иерархии
|
||||||
|
|
||||||
# Файлы C#
|
# Файлы C#
|
||||||
[*.cs]
|
[*.cs]
|
||||||
@@ -34,8 +34,8 @@ dotnet_search_reference_assemblies = true
|
|||||||
|
|
||||||
# Упорядочение Using
|
# Упорядочение Using
|
||||||
dotnet_separate_import_directive_groups = false
|
dotnet_separate_import_directive_groups = false
|
||||||
dotnet_sort_system_directives_first = false
|
dotnet_sort_system_directives_first = true
|
||||||
file_header_template = unset
|
file_header_template =
|
||||||
|
|
||||||
# Предпочтения для this. и Me.
|
# Предпочтения для this. и Me.
|
||||||
dotnet_style_qualification_for_event = false
|
dotnet_style_qualification_for_event = false
|
||||||
@@ -121,7 +121,7 @@ csharp_style_conditional_delegate_call = true
|
|||||||
# Предпочтения модификатора
|
# Предпочтения модификатора
|
||||||
csharp_prefer_static_anonymous_function = true
|
csharp_prefer_static_anonymous_function = true
|
||||||
csharp_prefer_static_local_function = true
|
csharp_prefer_static_local_function = true
|
||||||
csharp_preferred_modifier_order = public,private,protected,internal,file,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,required,volatile,async
|
csharp_preferred_modifier_order = public, private, protected, internal, file, static, extern, virtual, abstract, override, sealed, readonly, new, unsafe, required, volatile, async:suggestion
|
||||||
csharp_style_prefer_readonly_struct = true
|
csharp_style_prefer_readonly_struct = true
|
||||||
csharp_style_prefer_readonly_struct_member = true
|
csharp_style_prefer_readonly_struct_member = true
|
||||||
|
|
||||||
@@ -180,7 +180,7 @@ csharp_indent_labels = one_less_than_current
|
|||||||
csharp_indent_switch_labels = true
|
csharp_indent_switch_labels = true
|
||||||
|
|
||||||
# Предпочтения для интервалов
|
# Предпочтения для интервалов
|
||||||
csharp_space_after_cast = true
|
csharp_space_after_cast = false
|
||||||
csharp_space_after_colon_in_inheritance_clause = true
|
csharp_space_after_colon_in_inheritance_clause = true
|
||||||
csharp_space_after_comma = true
|
csharp_space_after_comma = true
|
||||||
csharp_space_after_dot = false
|
csharp_space_after_dot = false
|
||||||
@@ -249,6 +249,22 @@ dotnet_naming_style.begins_with_i.required_suffix =
|
|||||||
dotnet_naming_style.begins_with_i.word_separator =
|
dotnet_naming_style.begins_with_i.word_separator =
|
||||||
dotnet_naming_style.begins_with_i.capitalization = pascal_case
|
dotnet_naming_style.begins_with_i.capitalization = pascal_case
|
||||||
|
|
||||||
|
# ReSharper properties
|
||||||
|
resharper_accessor_owner_body = accessors_with_expression_body
|
||||||
|
resharper_blank_lines_after_multiline_statements = 1
|
||||||
|
resharper_csharp_blank_lines_around_single_line_field = 1
|
||||||
|
resharper_csharp_wrap_after_invocation_lpar = true
|
||||||
|
resharper_csharp_wrap_arguments_style = chop_if_long
|
||||||
|
resharper_csharp_wrap_before_invocation_rpar = true
|
||||||
|
resharper_instance_members_qualify_declared_in =
|
||||||
|
resharper_local_function_body = expression_body
|
||||||
|
resharper_parentheses_redundancy_style = remove
|
||||||
|
resharper_place_expr_accessor_on_single_line = true
|
||||||
|
resharper_place_expr_method_on_single_line = true
|
||||||
|
resharper_place_expr_property_on_single_line = true
|
||||||
|
resharper_trailing_comma_in_multiline_lists = true
|
||||||
|
resharper_use_heuristics_for_body_style = true
|
||||||
|
|
||||||
[*.{cs,vb}]
|
[*.{cs,vb}]
|
||||||
dotnet_style_coalesce_expression = true:suggestion
|
dotnet_style_coalesce_expression = true:suggestion
|
||||||
dotnet_style_null_propagation = true:suggestion
|
dotnet_style_null_propagation = true:suggestion
|
||||||
@@ -270,4 +286,5 @@ dotnet_code_quality_unused_parameters = all:suggestion
|
|||||||
dotnet_style_operator_placement_when_wrapping = beginning_of_line
|
dotnet_style_operator_placement_when_wrapping = beginning_of_line
|
||||||
tab_width = 4
|
tab_width = 4
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
dotnet_diagnostic.CA1822.severity = none
|
dotnet_diagnostic.ca1822.severity = none
|
||||||
|
dotnet_diagnostic.IDE0305.severity = none
|
||||||
|
|||||||
+4
-1
@@ -365,4 +365,7 @@ FodyWeavers.xsd
|
|||||||
|
|
||||||
.vscode
|
.vscode
|
||||||
|
|
||||||
/Pf2eDataScrapper/.env
|
.env
|
||||||
|
.aider*
|
||||||
|
|
||||||
|
erd/.dump.*
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers').[AbstractCompendium](AbstractCompendium.md 'Pf2eDataScrapper\.Importers\.AbstractCompendium')
|
||||||
|
|
||||||
|
## AbstractCompendium\.Count\(ICollection\<string\>\) Method
|
||||||
|
|
||||||
|
Возвращает количество элементов для указанного типа данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract int Count(System.Collections.Generic.ICollection<string> type);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.AbstractCompendium.Count(System.Collections.Generic.ICollection_string_).type'></a>
|
||||||
|
|
||||||
|
`type` [System\.Collections\.Generic\.ICollection<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')
|
||||||
|
|
||||||
|
Типы данных\.
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.Int32](https://docs.microsoft.com/en-us/dotnet/api/System.Int32 'System\.Int32')
|
||||||
|
Количество элементов\.
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers').[AbstractCompendium](AbstractCompendium.md 'Pf2eDataScrapper\.Importers\.AbstractCompendium')
|
||||||
|
|
||||||
|
## AbstractCompendium\.Dir Property
|
||||||
|
|
||||||
|
Путь к хранению исходных данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public string Dir { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers').[AbstractCompendium](AbstractCompendium.md 'Pf2eDataScrapper\.Importers\.AbstractCompendium')
|
||||||
|
|
||||||
|
## AbstractCompendium\.Iterate\(ICollection\<string\>\) Method
|
||||||
|
|
||||||
|
Получение итератора сущностей\. Если указан тип [type](AbstractCompendium.Iterate(ICollection_string_).md#Pf2eDataScrapper.Importers.AbstractCompendium.Iterate(System.Collections.Generic.ICollection_string_).type 'Pf2eDataScrapper\.Importers\.AbstractCompendium\.Iterate\(System\.Collections\.Generic\.ICollection\<string\>\)\.type') \- то только указанного типа\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract System.Collections.Generic.IEnumerable<System.Tuple<Pf2eDataScrapper.Importers.AbstractCompendiumItem,Newtonsoft.Json.Linq.JObject>> Iterate(System.Collections.Generic.ICollection<string> type);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.AbstractCompendium.Iterate(System.Collections.Generic.ICollection_string_).type'></a>
|
||||||
|
|
||||||
|
`type` [System\.Collections\.Generic\.ICollection<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')
|
||||||
|
|
||||||
|
Типы сущностей, которые нужно получить\.
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.Collections\.Generic\.IEnumerable<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IEnumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')[System\.Tuple<](https://docs.microsoft.com/en-us/dotnet/api/System.Tuple-2 'System\.Tuple\`2')[AbstractCompendiumItem](AbstractCompendiumItem.md 'Pf2eDataScrapper\.Importers\.AbstractCompendiumItem')[,](https://docs.microsoft.com/en-us/dotnet/api/System.Tuple-2 'System\.Tuple\`2')[Newtonsoft\.Json\.Linq\.JObject](https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JObject 'Newtonsoft\.Json\.Linq\.JObject')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Tuple-2 'System\.Tuple\`2')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IEnumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')
|
||||||
|
Итератор сущностей\.
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers').[AbstractCompendium](AbstractCompendium.md 'Pf2eDataScrapper\.Importers\.AbstractCompendium')
|
||||||
|
|
||||||
|
## AbstractCompendium\.Repository Property
|
||||||
|
|
||||||
|
Репозиторий данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract Pf2eDataScrapper.Importers.Repositories.AbstractImporterRepository Repository { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[AbstractImporterRepository](AbstractImporterRepository.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository')
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers')
|
||||||
|
|
||||||
|
## AbstractCompendium Class
|
||||||
|
|
||||||
|
Компендиум данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractCompendium
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 AbstractCompendium
|
||||||
|
|
||||||
|
Derived
|
||||||
|
↳ [AonprdCompendium](AonprdCompendium.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Compendium\.AonprdCompendium')
|
||||||
|
↳ [FoundryEnCompendium](FoundryEnCompendium.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Compendium\.FoundryEnCompendium')
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Dir](AbstractCompendium.Dir.md 'Pf2eDataScrapper\.Importers\.AbstractCompendium\.Dir') | Путь к хранению исходных данных\. |
|
||||||
|
| [Repository](AbstractCompendium.Repository.md 'Pf2eDataScrapper\.Importers\.AbstractCompendium\.Repository') | Репозиторий данных\. |
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Count\(ICollection<string>\)](AbstractCompendium.Count(ICollection_string_).md 'Pf2eDataScrapper\.Importers\.AbstractCompendium\.Count\(System\.Collections\.Generic\.ICollection\<string\>\)') | Возвращает количество элементов для указанного типа данных\. |
|
||||||
|
| [Iterate\(ICollection<string>\)](AbstractCompendium.Iterate(ICollection_string_).md 'Pf2eDataScrapper\.Importers\.AbstractCompendium\.Iterate\(System\.Collections\.Generic\.ICollection\<string\>\)') | Получение итератора сущностей\. Если указан тип [type](AbstractCompendium.Iterate(ICollection_string_).md#Pf2eDataScrapper.Importers.AbstractCompendium.Iterate(System.Collections.Generic.ICollection_string_).type 'Pf2eDataScrapper\.Importers\.AbstractCompendium\.Iterate\(System\.Collections\.Generic\.ICollection\<string\>\)\.type') \- то только указанного типа\. |
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers').[AbstractCompendiumItem](AbstractCompendiumItem.md 'Pf2eDataScrapper\.Importers\.AbstractCompendiumItem')
|
||||||
|
|
||||||
|
## AbstractCompendiumItem\.Id Property
|
||||||
|
|
||||||
|
Идентификатор сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract string Id { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers').[AbstractCompendiumItem](AbstractCompendiumItem.md 'Pf2eDataScrapper\.Importers\.AbstractCompendiumItem')
|
||||||
|
|
||||||
|
## AbstractCompendiumItem\.ToString\(\) Method
|
||||||
|
|
||||||
|
Строковое представление имени сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public override string ToString();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
Строковое представление\.
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers').[AbstractCompendiumItem](AbstractCompendiumItem.md 'Pf2eDataScrapper\.Importers\.AbstractCompendiumItem')
|
||||||
|
|
||||||
|
## AbstractCompendiumItem\.Type Property
|
||||||
|
|
||||||
|
Тип сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract string Type { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers')
|
||||||
|
|
||||||
|
## AbstractCompendiumItem Class
|
||||||
|
|
||||||
|
Абстрактная ссылка на сущность\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractCompendiumItem
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 AbstractCompendiumItem
|
||||||
|
|
||||||
|
Derived
|
||||||
|
↳ [AonprdCompendiumItem](AonprdCompendiumItem.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Compendium\.AonprdCompendiumItem')
|
||||||
|
↳ [FoundryEnCompendiumItem](FoundryEnCompendiumItem.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Compendium\.FoundryEnCompendiumItem')
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Id](AbstractCompendiumItem.Id.md 'Pf2eDataScrapper\.Importers\.AbstractCompendiumItem\.Id') | Идентификатор сущности\. |
|
||||||
|
| [Type](AbstractCompendiumItem.Type.md 'Pf2eDataScrapper\.Importers\.AbstractCompendiumItem\.Type') | Тип сущности\. |
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [ToString\(\)](AbstractCompendiumItem.ToString().md 'Pf2eDataScrapper\.Importers\.AbstractCompendiumItem\.ToString\(\)') | Строковое представление имени сущности\. |
|
||||||
+40
@@ -0,0 +1,40 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\(ProcessorInput, StringHelper, DatabaseHelper, AonprdBuilderGlobals\) Constructor
|
||||||
|
|
||||||
|
Абстрактный класс\-обработчик сущностей, полученных из Архивов Нефиса\.
|
||||||
|
Класс предназначен для обработки данных с помощью различных обработчиков,
|
||||||
|
для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected AbstractEntityProcessor(Pf2eDataScrapper.Processors.ProcessorInput input, Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.StringHelper stringHelper, Pf2eDataScrapper.Helpers.DatabaseHelper helper, Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals globals);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AbstractEntityProcessor(Pf2eDataScrapper.Processors.ProcessorInput,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.StringHelper,Pf2eDataScrapper.Helpers.DatabaseHelper,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals).input'></a>
|
||||||
|
|
||||||
|
`input` [ProcessorInput](ProcessorInput.md 'Pf2eDataScrapper\.Processors\.ProcessorInput')
|
||||||
|
|
||||||
|
Объект обработки вводимого JSON\.
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AbstractEntityProcessor(Pf2eDataScrapper.Processors.ProcessorInput,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.StringHelper,Pf2eDataScrapper.Helpers.DatabaseHelper,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals).stringHelper'></a>
|
||||||
|
|
||||||
|
`stringHelper` [StringHelper](StringHelper.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.StringHelper')
|
||||||
|
|
||||||
|
\[DI\] Помощник обработки строк\.
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AbstractEntityProcessor(Pf2eDataScrapper.Processors.ProcessorInput,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.StringHelper,Pf2eDataScrapper.Helpers.DatabaseHelper,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals).helper'></a>
|
||||||
|
|
||||||
|
`helper` [DatabaseHelper](DatabaseHelper.md 'Pf2eDataScrapper\.Helpers\.DatabaseHelper')
|
||||||
|
|
||||||
|
\[DI\] Помощник работы с БД\.
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AbstractEntityProcessor(Pf2eDataScrapper.Processors.ProcessorInput,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.StringHelper,Pf2eDataScrapper.Helpers.DatabaseHelper,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals).globals'></a>
|
||||||
|
|
||||||
|
`globals` [AonprdBuilderGlobals](AonprdBuilderGlobals.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.AonprdBuilderGlobals')
|
||||||
|
|
||||||
|
\[DI\] Глобальные параметра обработки Архивов Нефиса\.
|
||||||
|
|
||||||
|
### See Also
|
||||||
|
- [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Add\(\) Method
|
||||||
|
|
||||||
|
Добавление основной сущности в контекст базы данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected abstract void Add();
|
||||||
|
```
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.AddEntity\(\) Method
|
||||||
|
|
||||||
|
Генерация основных полей корневой сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected virtual void AddEntity();
|
||||||
|
```
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.AddExternal\(\) Method
|
||||||
|
|
||||||
|
Генерация внешних ссылок сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected virtual void AddExternal();
|
||||||
|
```
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.AddSource\(\) Method
|
||||||
|
|
||||||
|
Генерация источников сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected virtual void AddSource();
|
||||||
|
```
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.AddTraits\(\) Method
|
||||||
|
|
||||||
|
Генерация списка признаков сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected virtual void AddTraits();
|
||||||
|
```
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.AddedDescription Method
|
||||||
|
|
||||||
|
| Overloads | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [AddedDescription\(string\)](AbstractEntityProcessor.AddedDescription.md#Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AddedDescription(string) 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.AddedDescription\(string\)') | Создание строкового представления объекта по указанному пути для добавления к описанию сущности\. |
|
||||||
|
| [AddedDescription\(ICollection<string>\)](AbstractEntityProcessor.AddedDescription.md#Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AddedDescription(System.Collections.Generic.ICollection_string_) 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.AddedDescription\(System\.Collections\.Generic\.ICollection\<string\>\)') | Создание строкового представления объектов по указанным путям для добавления к описанию сущности\. |
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AddedDescription(string)'></a>
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.AddedDescription\(string\) Method
|
||||||
|
|
||||||
|
Создание строкового представления объекта по указанному пути для добавления к описанию сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected string AddedDescription(string path);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AddedDescription(string).path'></a>
|
||||||
|
|
||||||
|
`path` [System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
|
||||||
|
Путь к добавляемому объекту\.
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
Строковое представление для добавления к описанию сущности\.
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AddedDescription(System.Collections.Generic.ICollection_string_)'></a>
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.AddedDescription\(ICollection\<string\>\) Method
|
||||||
|
|
||||||
|
Создание строкового представления объектов по указанным путям для добавления к описанию сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected string AddedDescription(System.Collections.Generic.ICollection<string> paths);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AddedDescription(System.Collections.Generic.ICollection_string_).paths'></a>
|
||||||
|
|
||||||
|
`paths` [System\.Collections\.Generic\.ICollection<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')
|
||||||
|
|
||||||
|
Список путей к добавляемым объектам\.
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
Строковое представление для добавления к описанию сущности\.
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.AddedDescriptionPaths\(\) Method
|
||||||
|
|
||||||
|
Получение списка полей, которые должны быть добавлены в описание\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected virtual System.Collections.Generic.ICollection<string> AddedDescriptionPaths();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.Collections\.Generic\.ICollection<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Check\(\) Method
|
||||||
|
|
||||||
|
Проверки необходимости импорта сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public virtual void Check();
|
||||||
|
```
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Context Property
|
||||||
|
|
||||||
|
Предоставляет механизм для освобождения неуправляемых ресурсов\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public Pf2eModel.Pf2eDbContext Context { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[Pf2eModel\.Pf2eDbContext](https://docs.microsoft.com/en-us/dotnet/api/Pf2eModel.Pf2eDbContext 'Pf2eModel\.Pf2eDbContext')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Entity Property
|
||||||
|
|
||||||
|
Корневая сущность\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public Pf2eModel.Model.Base.Entity Entity { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[Pf2eModel\.Model\.Base\.Entity](https://docs.microsoft.com/en-us/dotnet/api/Pf2eModel.Model.Base.Entity 'Pf2eModel\.Model\.Base\.Entity')
|
||||||
+21
@@ -0,0 +1,21 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.GenerateJsonString\(ICollection\<string\>\) Method
|
||||||
|
|
||||||
|
Генерация JSON\-строки из объектов, располагаюхися по путям, указанным в [paths](AbstractEntityProcessor.GenerateJsonString(ICollection_string_).md#Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.GenerateJsonString(System.Collections.Generic.ICollection_string_).paths 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.GenerateJsonString\(System\.Collections\.Generic\.ICollection\<string\>\)\.paths')\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected string GenerateJsonString(System.Collections.Generic.ICollection<string> paths);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.GenerateJsonString(System.Collections.Generic.ICollection_string_).paths'></a>
|
||||||
|
|
||||||
|
`paths` [System\.Collections\.Generic\.ICollection<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')
|
||||||
|
|
||||||
|
Коллекция путей, из которых необходимо достатить объекты\.
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
JSON\-строка\.
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.GetDescription\(\) Method
|
||||||
|
|
||||||
|
Сгенерировать описание сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected virtual string GetDescription();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
Описание сущности
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.GetEntityName\(\) Method
|
||||||
|
|
||||||
|
Получает имя сущности из входных данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected virtual string GetEntityName();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
Имя сущности\.
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Globals Property
|
||||||
|
|
||||||
|
Класс\-помощник, хранящий необходимые глобальные данные\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals Globals { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[AonprdBuilderGlobals](AonprdBuilderGlobals.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.AonprdBuilderGlobals')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Helper Property
|
||||||
|
|
||||||
|
Класс предоставляет методы для работы с базой данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public Pf2eDataScrapper.Helpers.DatabaseHelper Helper { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[DatabaseHelper](DatabaseHelper.md 'Pf2eDataScrapper\.Helpers\.DatabaseHelper')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Name Property
|
||||||
|
|
||||||
|
Название сущности, которое будет использоваться для обработки данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public string Name { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Object Property
|
||||||
|
|
||||||
|
Основная сущность\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract Pf2eModel.Model.IEntity Object { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[Pf2eModel\.Model\.IEntity](https://docs.microsoft.com/en-us/dotnet/api/Pf2eModel.Model.IEntity 'Pf2eModel\.Model\.IEntity')
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Process\(\) Method
|
||||||
|
|
||||||
|
Основной метод обработки данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public override void Process();
|
||||||
|
```
|
||||||
|
|
||||||
|
Implements [Process\(\)](IProcessor.Process().md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor\.Process\(\)')
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Save\(\) Method
|
||||||
|
|
||||||
|
Метод для сохранения изменений в базе данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public override void Save();
|
||||||
|
```
|
||||||
|
|
||||||
|
Implements [Save\(\)](IProcessor.Save().md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor\.Save\(\)')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor\.Type Property
|
||||||
|
|
||||||
|
Тип сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract Pf2eModel.Model.Enum.EntityType Type { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[Pf2eModel\.Model\.Enum\.EntityType](https://docs.microsoft.com/en-us/dotnet/api/Pf2eModel.Model.Enum.EntityType 'Pf2eModel\.Model\.Enum\.EntityType')
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors')
|
||||||
|
|
||||||
|
## AbstractEntityProcessor Class
|
||||||
|
|
||||||
|
Абстрактный класс\-обработчик сущностей, полученных из Архивов Нефиса\.
|
||||||
|
Класс предназначен для обработки данных с помощью различных обработчиков,
|
||||||
|
для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractEntityProcessor : Pf2eDataScrapper.Processors.Definitions.AbstractInputProcessor
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 [AbstractInputProcessor](AbstractInputProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor') 🡒 AbstractEntityProcessor
|
||||||
|
|
||||||
|
Derived
|
||||||
|
↳ [AbstractSubclassProcessor](AbstractSubclassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor')
|
||||||
|
↳ [ActionProcessor](ActionProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor')
|
||||||
|
↳ [AncestryProcessor](AncestryProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.AncestryProcessor')
|
||||||
|
↳ [ArchetypeProcessor](ArchetypeProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ArchetypeProcessor')
|
||||||
|
↳ [BackgroundProcessor](BackgroundProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.BackgroundProcessor')
|
||||||
|
↳ [ClassProcessor](ClassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ClassProcessor')
|
||||||
|
↳ [DeityProcessor](DeityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.DeityProcessor')
|
||||||
|
↳ [DomainProcessor](DomainProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.DomainProcessor')
|
||||||
|
↳ [FeatProcessor](FeatProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.FeatProcessor')
|
||||||
|
↳ [HeritageProcessor](HeritageProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.HeritageProcessor')
|
||||||
|
↳ [LanguageProcessor](LanguageProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.LanguageProcessor')
|
||||||
|
↳ [RitualProcessor](RitualProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.RitualProcessor')
|
||||||
|
↳ [RuleProcessor](RuleProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.Rules\.RuleProcessor')
|
||||||
|
↳ [SkillActionsProcessor](SkillActionsProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.SkillActionsProcessor')
|
||||||
|
↳ [SpellProcessor](SpellProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.SpellProcessor')
|
||||||
|
↳ [TraitProcessor](TraitProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.TraitProcessor')
|
||||||
|
↳ [VersitileHeritageProcessor](VersitileHeritageProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.VersitileHeritageProcessor')
|
||||||
|
|
||||||
|
### See Also
|
||||||
|
- [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')
|
||||||
|
|
||||||
|
| Constructors | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [AbstractEntityProcessor\(ProcessorInput, StringHelper, DatabaseHelper, AonprdBuilderGlobals\)](AbstractEntityProcessor.AbstractEntityProcessor(ProcessorInput,StringHelper,DatabaseHelper,AonprdBuilderGlobals).md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.AbstractEntityProcessor\(Pf2eDataScrapper\.Processors\.ProcessorInput, Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.StringHelper, Pf2eDataScrapper\.Helpers\.DatabaseHelper, Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.AonprdBuilderGlobals\)') | Абстрактный класс\-обработчик сущностей, полученных из Архивов Нефиса\. Класс предназначен для обработки данных с помощью различных обработчиков, для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\. |
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Context](AbstractEntityProcessor.Context.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Context') | Предоставляет механизм для освобождения неуправляемых ресурсов\. |
|
||||||
|
| [Entity](AbstractEntityProcessor.Entity.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Entity') | Корневая сущность\. |
|
||||||
|
| [Globals](AbstractEntityProcessor.Globals.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Globals') | Класс\-помощник, хранящий необходимые глобальные данные\. |
|
||||||
|
| [Helper](AbstractEntityProcessor.Helper.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Helper') | Класс предоставляет методы для работы с базой данных\. |
|
||||||
|
| [Name](AbstractEntityProcessor.Name.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Name') | Название сущности, которое будет использоваться для обработки данных\. |
|
||||||
|
| [Object](AbstractEntityProcessor.Object.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Object') | Основная сущность\. |
|
||||||
|
| [Type](AbstractEntityProcessor.Type.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Type') | Тип сущности\. |
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Add\(\)](AbstractEntityProcessor.Add().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Add\(\)') | Добавление основной сущности в контекст базы данных\. |
|
||||||
|
| [AddedDescription\(string\)](AbstractEntityProcessor.AddedDescription.md#Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AddedDescription(string) 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.AddedDescription\(string\)') | Создание строкового представления объекта по указанному пути для добавления к описанию сущности\. |
|
||||||
|
| [AddedDescription\(ICollection<string>\)](AbstractEntityProcessor.AddedDescription.md#Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.AddedDescription(System.Collections.Generic.ICollection_string_) 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.AddedDescription\(System\.Collections\.Generic\.ICollection\<string\>\)') | Создание строкового представления объектов по указанным путям для добавления к описанию сущности\. |
|
||||||
|
| [AddedDescriptionPaths\(\)](AbstractEntityProcessor.AddedDescriptionPaths().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.AddedDescriptionPaths\(\)') | Получение списка полей, которые должны быть добавлены в описание\. |
|
||||||
|
| [AddEntity\(\)](AbstractEntityProcessor.AddEntity().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.AddEntity\(\)') | Генерация основных полей корневой сущности\. |
|
||||||
|
| [AddExternal\(\)](AbstractEntityProcessor.AddExternal().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.AddExternal\(\)') | Генерация внешних ссылок сущности\. |
|
||||||
|
| [AddSource\(\)](AbstractEntityProcessor.AddSource().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.AddSource\(\)') | Генерация источников сущности\. |
|
||||||
|
| [AddTraits\(\)](AbstractEntityProcessor.AddTraits().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.AddTraits\(\)') | Генерация списка признаков сущности\. |
|
||||||
|
| [Check\(\)](AbstractEntityProcessor.Check().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Check\(\)') | Проверки необходимости импорта сущности\. |
|
||||||
|
| [GenerateJsonString\(ICollection<string>\)](AbstractEntityProcessor.GenerateJsonString(ICollection_string_).md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.GenerateJsonString\(System\.Collections\.Generic\.ICollection\<string\>\)') | Генерация JSON\-строки из объектов, располагаюхися по путям, указанным в [paths](AbstractEntityProcessor.GenerateJsonString(ICollection_string_).md#Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor.GenerateJsonString(System.Collections.Generic.ICollection_string_).paths 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.GenerateJsonString\(System\.Collections\.Generic\.ICollection\<string\>\)\.paths')\. |
|
||||||
|
| [GetDescription\(\)](AbstractEntityProcessor.GetDescription().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.GetDescription\(\)') | Сгенерировать описание сущности\. |
|
||||||
|
| [GetEntityName\(\)](AbstractEntityProcessor.GetEntityName().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.GetEntityName\(\)') | Получает имя сущности из входных данных\. |
|
||||||
|
| [Process\(\)](AbstractEntityProcessor.Process().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Process\(\)') | Основной метод обработки данных\. |
|
||||||
|
| [Save\(\)](AbstractEntityProcessor.Save().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Save\(\)') | Метод для сохранения изменений в базе данных\. |
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers').[AbstractImporter](AbstractImporter.md 'Pf2eDataScrapper\.Importers\.AbstractImporter')
|
||||||
|
|
||||||
|
## AbstractImporter\.Dir Property
|
||||||
|
|
||||||
|
Путь к директории с данными для импортёра\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public string Dir { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers').[AbstractImporter](AbstractImporter.md 'Pf2eDataScrapper\.Importers\.AbstractImporter')
|
||||||
|
|
||||||
|
## AbstractImporter\.Name Property
|
||||||
|
|
||||||
|
Отображаемое имя импортёра\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract string Name { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers').[AbstractImporter](AbstractImporter.md 'Pf2eDataScrapper\.Importers\.AbstractImporter')
|
||||||
|
|
||||||
|
## AbstractImporter\.Slug Property
|
||||||
|
|
||||||
|
Короткое имя импортёра\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract string Slug { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers](Pf2eDataScrapper.Importers.md 'Pf2eDataScrapper\.Importers')
|
||||||
|
|
||||||
|
## AbstractImporter Class
|
||||||
|
|
||||||
|
Абстрактный класс импортёра\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractImporter
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 AbstractImporter
|
||||||
|
|
||||||
|
Derived
|
||||||
|
↳ [AonprdImporter](AonprdImporter.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.AonprdImporter')
|
||||||
|
↳ [FoundryEnImporter](FoundryEnImporter.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.FoundryEnImporter')
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Dir](AbstractImporter.Dir.md 'Pf2eDataScrapper\.Importers\.AbstractImporter\.Dir') | Путь к директории с данными для импортёра\. |
|
||||||
|
| [Name](AbstractImporter.Name.md 'Pf2eDataScrapper\.Importers\.AbstractImporter\.Name') | Отображаемое имя импортёра\. |
|
||||||
|
| [Slug](AbstractImporter.Slug.md 'Pf2eDataScrapper\.Importers\.AbstractImporter\.Slug') | Короткое имя импортёра\. |
|
||||||
+17
@@ -0,0 +1,17 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Repositories](Pf2eDataScrapper.Importers.Repositories.md 'Pf2eDataScrapper\.Importers\.Repositories').[AbstractImporterRepository](AbstractImporterRepository.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository')
|
||||||
|
|
||||||
|
## AbstractImporterRepository\(AbstractImporter\) Constructor
|
||||||
|
|
||||||
|
Класс абстрактного репозитория\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected AbstractImporterRepository(Pf2eDataScrapper.Importers.AbstractImporter importer);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Repositories.AbstractImporterRepository.AbstractImporterRepository(Pf2eDataScrapper.Importers.AbstractImporter).importer'></a>
|
||||||
|
|
||||||
|
`importer` [AbstractImporter](AbstractImporter.md 'Pf2eDataScrapper\.Importers\.AbstractImporter')
|
||||||
|
|
||||||
|
Импортёр, использующий репозиторий\.
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Repositories](Pf2eDataScrapper.Importers.Repositories.md 'Pf2eDataScrapper\.Importers\.Repositories').[AbstractImporterRepository](AbstractImporterRepository.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository')
|
||||||
|
|
||||||
|
## AbstractImporterRepository\.Importer Field
|
||||||
|
|
||||||
|
Импортёр, использующий репозиторий\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public readonly AbstractImporter Importer;
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Field Value
|
||||||
|
[AbstractImporter](AbstractImporter.md 'Pf2eDataScrapper\.Importers\.AbstractImporter')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Repositories](Pf2eDataScrapper.Importers.Repositories.md 'Pf2eDataScrapper\.Importers\.Repositories').[AbstractImporterRepository](AbstractImporterRepository.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository')
|
||||||
|
|
||||||
|
## AbstractImporterRepository\.RepositoryDir Property
|
||||||
|
|
||||||
|
CLR\-представкление директории с данными\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public System.IO.DirectoryInfo RepositoryDir { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.IO\.DirectoryInfo](https://docs.microsoft.com/en-us/dotnet/api/System.IO.DirectoryInfo 'System\.IO\.DirectoryInfo')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Repositories](Pf2eDataScrapper.Importers.Repositories.md 'Pf2eDataScrapper\.Importers\.Repositories').[AbstractImporterRepository](AbstractImporterRepository.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository')
|
||||||
|
|
||||||
|
## AbstractImporterRepository\.RepositoryDirPath Property
|
||||||
|
|
||||||
|
Путь к директории с данными для импортёра\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public string RepositoryDirPath { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Repositories](Pf2eDataScrapper.Importers.Repositories.md 'Pf2eDataScrapper\.Importers\.Repositories').[AbstractImporterRepository](AbstractImporterRepository.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository')
|
||||||
|
|
||||||
|
## AbstractImporterRepository\.Update\(ProcessProgress\) Method
|
||||||
|
|
||||||
|
Обновление данных в репозитории\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract void Update(Pf2eDataScrapper.Helpers.ProcessProgress progress);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Repositories.AbstractImporterRepository.Update(Pf2eDataScrapper.Helpers.ProcessProgress).progress'></a>
|
||||||
|
|
||||||
|
`progress` [ProcessProgress](ProcessProgress.md 'Pf2eDataScrapper\.Helpers\.ProcessProgress')
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Repositories](Pf2eDataScrapper.Importers.Repositories.md 'Pf2eDataScrapper\.Importers\.Repositories')
|
||||||
|
|
||||||
|
## AbstractImporterRepository Class
|
||||||
|
|
||||||
|
Класс абстрактного репозитория\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractImporterRepository
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 AbstractImporterRepository
|
||||||
|
|
||||||
|
Derived
|
||||||
|
↳ [AonprdRepository](AonprdRepository.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.AonprdRepository')
|
||||||
|
↳ [GitRepository](GitRepository.md 'Pf2eDataScrapper\.Importers\.Repositories\.GitRepository')
|
||||||
|
|
||||||
|
| Constructors | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [AbstractImporterRepository\(AbstractImporter\)](AbstractImporterRepository.AbstractImporterRepository(AbstractImporter).md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository\.AbstractImporterRepository\(Pf2eDataScrapper\.Importers\.AbstractImporter\)') | Класс абстрактного репозитория\. |
|
||||||
|
|
||||||
|
| Fields | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Importer](AbstractImporterRepository.Importer.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository\.Importer') | Импортёр, использующий репозиторий\. |
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [RepositoryDir](AbstractImporterRepository.RepositoryDir.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository\.RepositoryDir') | CLR\-представкление директории с данными\. |
|
||||||
|
| [RepositoryDirPath](AbstractImporterRepository.RepositoryDirPath.md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository\.RepositoryDirPath') | Путь к директории с данными для импортёра\. |
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Update\(ProcessProgress\)](AbstractImporterRepository.Update(ProcessProgress).md 'Pf2eDataScrapper\.Importers\.Repositories\.AbstractImporterRepository\.Update\(Pf2eDataScrapper\.Helpers\.ProcessProgress\)') | Обновление данных в репозитории\. |
|
||||||
+22
@@ -0,0 +1,22 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Definitions](Pf2eDataScrapper.Processors.Definitions.md 'Pf2eDataScrapper\.Processors\.Definitions').[AbstractInputProcessor](AbstractInputProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor')
|
||||||
|
|
||||||
|
## AbstractInputProcessor\(ProcessorInput\) Constructor
|
||||||
|
|
||||||
|
Абстрактный класс\-обработчик данных, полученных из Архивов Нефиса\.
|
||||||
|
Класс предназначен для обработки данных с помощью различных обработчиков,
|
||||||
|
для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected AbstractInputProcessor(Pf2eDataScrapper.Processors.ProcessorInput input);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Processors.Definitions.AbstractInputProcessor.AbstractInputProcessor(Pf2eDataScrapper.Processors.ProcessorInput).input'></a>
|
||||||
|
|
||||||
|
`input` [ProcessorInput](ProcessorInput.md 'Pf2eDataScrapper\.Processors\.ProcessorInput')
|
||||||
|
|
||||||
|
Входные данные обработчика\.
|
||||||
|
|
||||||
|
### See Also
|
||||||
|
- [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Definitions](Pf2eDataScrapper.Processors.Definitions.md 'Pf2eDataScrapper\.Processors\.Definitions').[AbstractInputProcessor](AbstractInputProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor')
|
||||||
|
|
||||||
|
## AbstractInputProcessor\.Input Property
|
||||||
|
|
||||||
|
Входные данные обработчика\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public Pf2eDataScrapper.Processors.ProcessorInput Input { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[ProcessorInput](ProcessorInput.md 'Pf2eDataScrapper\.Processors\.ProcessorInput')
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Definitions](Pf2eDataScrapper.Processors.Definitions.md 'Pf2eDataScrapper\.Processors\.Definitions').[AbstractInputProcessor](AbstractInputProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor')
|
||||||
|
|
||||||
|
## AbstractInputProcessor\.Process\(\) Method
|
||||||
|
|
||||||
|
Основной метод обработки данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract void Process();
|
||||||
|
```
|
||||||
|
|
||||||
|
Implements [Process\(\)](IProcessor.Process().md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor\.Process\(\)')
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Definitions](Pf2eDataScrapper.Processors.Definitions.md 'Pf2eDataScrapper\.Processors\.Definitions').[AbstractInputProcessor](AbstractInputProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor')
|
||||||
|
|
||||||
|
## AbstractInputProcessor\.Save\(\) Method
|
||||||
|
|
||||||
|
Метод для сохранения изменений в базе данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract void Save();
|
||||||
|
```
|
||||||
|
|
||||||
|
Implements [Save\(\)](IProcessor.Save().md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor\.Save\(\)')
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Definitions](Pf2eDataScrapper.Processors.Definitions.md 'Pf2eDataScrapper\.Processors\.Definitions')
|
||||||
|
|
||||||
|
## AbstractInputProcessor Class
|
||||||
|
|
||||||
|
Абстрактный класс\-обработчик данных, полученных из Архивов Нефиса\.
|
||||||
|
Класс предназначен для обработки данных с помощью различных обработчиков,
|
||||||
|
для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractInputProcessor : Pf2eDataScrapper.Processors.Definitions.IProcessor
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 AbstractInputProcessor
|
||||||
|
|
||||||
|
Derived
|
||||||
|
↳ [AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor')
|
||||||
|
↳ [SkillProcessor](SkillProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SkillProcessor')
|
||||||
|
↳ [SourceProcessor](SourceProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SourceProcessor')
|
||||||
|
↳ [FoundryEnAbstractProcessor<TEntity>](FoundryEnAbstractProcessor_TEntity_.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Processors\.FoundryEnAbstractProcessor\<TEntity\>')
|
||||||
|
|
||||||
|
Implements [IProcessor](IProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor')
|
||||||
|
|
||||||
|
### See Also
|
||||||
|
- [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')
|
||||||
|
|
||||||
|
| Constructors | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [AbstractInputProcessor\(ProcessorInput\)](AbstractInputProcessor.AbstractInputProcessor(ProcessorInput).md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor\.AbstractInputProcessor\(Pf2eDataScrapper\.Processors\.ProcessorInput\)') | Абстрактный класс\-обработчик данных, полученных из Архивов Нефиса\. Класс предназначен для обработки данных с помощью различных обработчиков, для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\. |
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Input](AbstractInputProcessor.Input.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor\.Input') | Входные данные обработчика\. |
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Process\(\)](AbstractInputProcessor.Process().md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor\.Process\(\)') | Основной метод обработки данных\. |
|
||||||
|
| [Save\(\)](AbstractInputProcessor.Save().md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor\.Save\(\)') | Метод для сохранения изменений в базе данных\. |
|
||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Attributes](Pf2eDataScrapper.Processors.Attributes.md 'Pf2eDataScrapper\.Processors\.Attributes').[AbstractProcessorAttribute](AbstractProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute')
|
||||||
|
|
||||||
|
## AbstractProcessorAttribute\(string\) Constructor
|
||||||
|
|
||||||
|
Абстрактный аттрибут обработчика\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public AbstractProcessorAttribute(string name);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Processors.Attributes.AbstractProcessorAttribute.AbstractProcessorAttribute(string).name'></a>
|
||||||
|
|
||||||
|
`name` [System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Attributes](Pf2eDataScrapper.Processors.Attributes.md 'Pf2eDataScrapper\.Processors\.Attributes').[AbstractProcessorAttribute](AbstractProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute')
|
||||||
|
|
||||||
|
## AbstractProcessorAttribute\.Active Property
|
||||||
|
|
||||||
|
Процессор включён по умолчанию\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public bool Active { get; init; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System\.Boolean')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Attributes](Pf2eDataScrapper.Processors.Attributes.md 'Pf2eDataScrapper\.Processors\.Attributes').[AbstractProcessorAttribute](AbstractProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute')
|
||||||
|
|
||||||
|
## AbstractProcessorAttribute\.Description Property
|
||||||
|
|
||||||
|
Описание обработчика\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public string Description { get; init; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Attributes](Pf2eDataScrapper.Processors.Attributes.md 'Pf2eDataScrapper\.Processors\.Attributes').[AbstractProcessorAttribute](AbstractProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute')
|
||||||
|
|
||||||
|
## AbstractProcessorAttribute\.Group Property
|
||||||
|
|
||||||
|
Группа обработчиков, к которому относится обработчик\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public Pf2eDataScrapper.Processors.Attributes.ProcessorGroupEnum Group { get; init; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[ProcessorGroupEnum](ProcessorGroupEnum.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorGroupEnum')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Attributes](Pf2eDataScrapper.Processors.Attributes.md 'Pf2eDataScrapper\.Processors\.Attributes').[AbstractProcessorAttribute](AbstractProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute')
|
||||||
|
|
||||||
|
## AbstractProcessorAttribute\.Name Property
|
||||||
|
|
||||||
|
Название обработчика\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public string Name { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Attributes](Pf2eDataScrapper.Processors.Attributes.md 'Pf2eDataScrapper\.Processors\.Attributes').[AbstractProcessorAttribute](AbstractProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute')
|
||||||
|
|
||||||
|
## AbstractProcessorAttribute\.Parallel Property
|
||||||
|
|
||||||
|
Разрешить выполнять процессов в параллельном режиме
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public bool Parallel { get; init; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System\.Boolean')
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Attributes](Pf2eDataScrapper.Processors.Attributes.md 'Pf2eDataScrapper\.Processors\.Attributes')
|
||||||
|
|
||||||
|
## AbstractProcessorAttribute Class
|
||||||
|
|
||||||
|
Абстрактный аттрибут обработчика\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal class AbstractProcessorAttribute : System.Attribute
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 [System\.Attribute](https://docs.microsoft.com/en-us/dotnet/api/System.Attribute 'System\.Attribute') 🡒 AbstractProcessorAttribute
|
||||||
|
|
||||||
|
Derived
|
||||||
|
↳ [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')
|
||||||
|
↳ [ProcessorCollectionAttribute](ProcessorCollectionAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorCollectionAttribute')
|
||||||
|
↳ [ProcessorFactoryAttribute](ProcessorFactoryAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorFactoryAttribute')
|
||||||
|
|
||||||
|
| Constructors | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [AbstractProcessorAttribute\(string\)](AbstractProcessorAttribute.AbstractProcessorAttribute(string).md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute\.AbstractProcessorAttribute\(string\)') | Абстрактный аттрибут обработчика\. |
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Active](AbstractProcessorAttribute.Active.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute\.Active') | Процессор включён по умолчанию\. |
|
||||||
|
| [Description](AbstractProcessorAttribute.Description.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute\.Description') | Описание обработчика\. |
|
||||||
|
| [Group](AbstractProcessorAttribute.Group.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute\.Group') | Группа обработчиков, к которому относится обработчик\. |
|
||||||
|
| [Name](AbstractProcessorAttribute.Name.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute\.Name') | Название обработчика\. |
|
||||||
|
| [Parallel](AbstractProcessorAttribute.Parallel.md 'Pf2eDataScrapper\.Processors\.Attributes\.AbstractProcessorAttribute\.Parallel') | Разрешить выполнять процессов в параллельном режиме |
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Factory](Pf2eDataScrapper.Processors.Factory.md 'Pf2eDataScrapper\.Processors\.Factory').[AbstractProcessorFactory](AbstractProcessorFactory.md 'Pf2eDataScrapper\.Processors\.Factory\.AbstractProcessorFactory')
|
||||||
|
|
||||||
|
## AbstractProcessorFactory\.Count\(\) Method
|
||||||
|
|
||||||
|
Количество элеметов для итерирования\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract int Count();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.Int32](https://docs.microsoft.com/en-us/dotnet/api/System.Int32 'System\.Int32')
|
||||||
|
Количество элеметов
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Factory](Pf2eDataScrapper.Processors.Factory.md 'Pf2eDataScrapper\.Processors\.Factory').[AbstractProcessorFactory](AbstractProcessorFactory.md 'Pf2eDataScrapper\.Processors\.Factory\.AbstractProcessorFactory')
|
||||||
|
|
||||||
|
## AbstractProcessorFactory\.GetEnumerator\(\) Method
|
||||||
|
|
||||||
|
Итератор процессоров\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract System.Collections.Generic.IEnumerable<System.Tuple<string,Pf2eDataScrapper.Processors.Definitions.IProcessor>> GetEnumerator();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.Collections\.Generic\.IEnumerable<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IEnumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')[System\.Tuple<](https://docs.microsoft.com/en-us/dotnet/api/System.Tuple-2 'System\.Tuple\`2')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[,](https://docs.microsoft.com/en-us/dotnet/api/System.Tuple-2 'System\.Tuple\`2')[IProcessor](IProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Tuple-2 'System\.Tuple\`2')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IEnumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')
|
||||||
|
Пара значений: \[0\] \- описание элемента процессор, \[1\] \- процессор\.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Factory](Pf2eDataScrapper.Processors.Factory.md 'Pf2eDataScrapper\.Processors\.Factory').[AbstractProcessorFactory](AbstractProcessorFactory.md 'Pf2eDataScrapper\.Processors\.Factory\.AbstractProcessorFactory')
|
||||||
|
|
||||||
|
## AbstractProcessorFactory\.Prepare\(\) Method
|
||||||
|
|
||||||
|
Подготовить фабрику к работе\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public virtual void Prepare();
|
||||||
|
```
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Factory](Pf2eDataScrapper.Processors.Factory.md 'Pf2eDataScrapper\.Processors\.Factory')
|
||||||
|
|
||||||
|
## AbstractProcessorFactory Class
|
||||||
|
|
||||||
|
Абстрактная фабрика создания процессоров\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractProcessorFactory
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 AbstractProcessorFactory
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Count\(\)](AbstractProcessorFactory.Count().md 'Pf2eDataScrapper\.Processors\.Factory\.AbstractProcessorFactory\.Count\(\)') | Количество элеметов для итерирования\. |
|
||||||
|
| [GetEnumerator\(\)](AbstractProcessorFactory.GetEnumerator().md 'Pf2eDataScrapper\.Processors\.Factory\.AbstractProcessorFactory\.GetEnumerator\(\)') | Итератор процессоров\. |
|
||||||
|
| [Prepare\(\)](AbstractProcessorFactory.Prepare().md 'Pf2eDataScrapper\.Processors\.Factory\.AbstractProcessorFactory\.Prepare\(\)') | Подготовить фабрику к работе\. |
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder').[AbstractSchemaBuildProcessor](AbstractSchemaBuildProcessor.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor')
|
||||||
|
|
||||||
|
## AbstractSchemaBuildProcessor\.Compendium Property
|
||||||
|
|
||||||
|
Связаный компендиум
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected abstract Pf2eDataScrapper.Importers.AbstractCompendium Compendium { protected get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[AbstractCompendium](AbstractCompendium.md 'Pf2eDataScrapper\.Importers\.AbstractCompendium')
|
||||||
+21
@@ -0,0 +1,21 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder').[AbstractSchemaBuildProcessor](AbstractSchemaBuildProcessor.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor')
|
||||||
|
|
||||||
|
## AbstractSchemaBuildProcessor\.GetSchemaNodes\(AbstractCompendiumItem\) Method
|
||||||
|
|
||||||
|
Получить список названий элементов структуры данных на основе вводимого элемента\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected abstract System.Collections.Generic.ICollection<string> GetSchemaNodes(Pf2eDataScrapper.Importers.AbstractCompendiumItem item);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.SchemaBuilder.AbstractSchemaBuildProcessor.GetSchemaNodes(Pf2eDataScrapper.Importers.AbstractCompendiumItem).item'></a>
|
||||||
|
|
||||||
|
`item` [AbstractCompendiumItem](AbstractCompendiumItem.md 'Pf2eDataScrapper\.Importers\.AbstractCompendiumItem')
|
||||||
|
|
||||||
|
Вводимый элемент
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.Collections\.Generic\.ICollection<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.ICollection-1 'System\.Collections\.Generic\.ICollection\`1')
|
||||||
|
Коллекция названий элементов структуры данных/
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder').[AbstractSchemaBuildProcessor](AbstractSchemaBuildProcessor.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor')
|
||||||
|
|
||||||
|
## AbstractSchemaBuildProcessor\.Process\(\) Method
|
||||||
|
|
||||||
|
Построение схемы данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public void Process();
|
||||||
|
```
|
||||||
|
|
||||||
|
Implements [Process\(\)](IProcessor.Process().md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor\.Process\(\)')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder').[AbstractSchemaBuildProcessor](AbstractSchemaBuildProcessor.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor')
|
||||||
|
|
||||||
|
## AbstractSchemaBuildProcessor\.Resolver Property
|
||||||
|
|
||||||
|
Определитель типов данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected abstract Pf2eDataScrapper.SchemaBuilder.TypeResolver Resolver { protected get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[TypeResolver](TypeResolver.md 'Pf2eDataScrapper\.SchemaBuilder\.TypeResolver')
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder').[AbstractSchemaBuildProcessor](AbstractSchemaBuildProcessor.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor')
|
||||||
|
|
||||||
|
## AbstractSchemaBuildProcessor\.Save\(\) Method
|
||||||
|
|
||||||
|
Сохранение постренных схем данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public void Save();
|
||||||
|
```
|
||||||
|
|
||||||
|
Implements [Save\(\)](IProcessor.Save().md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor\.Save\(\)')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder').[AbstractSchemaBuildProcessor](AbstractSchemaBuildProcessor.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor')
|
||||||
|
|
||||||
|
## AbstractSchemaBuildProcessor\.SavePath Property
|
||||||
|
|
||||||
|
Путь к каталогу для сохранения вывода\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected abstract string SavePath { protected get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
+29
@@ -0,0 +1,29 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder').[AbstractSchemaBuildProcessor](AbstractSchemaBuildProcessor.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor')
|
||||||
|
|
||||||
|
## AbstractSchemaBuildProcessor\.SaveSchema\(string, string, SchemaNode\) Method
|
||||||
|
|
||||||
|
Сохранение отдельной схемы данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected void SaveSchema(string dir, string name, Pf2eDataScrapper.SchemaBuilder.SchemaNode schema);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.SchemaBuilder.AbstractSchemaBuildProcessor.SaveSchema(string,string,Pf2eDataScrapper.SchemaBuilder.SchemaNode).dir'></a>
|
||||||
|
|
||||||
|
`dir` [System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
|
||||||
|
Целевой каталог\.
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.SchemaBuilder.AbstractSchemaBuildProcessor.SaveSchema(string,string,Pf2eDataScrapper.SchemaBuilder.SchemaNode).name'></a>
|
||||||
|
|
||||||
|
`name` [System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
|
||||||
|
Название схемы\.
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.SchemaBuilder.AbstractSchemaBuildProcessor.SaveSchema(string,string,Pf2eDataScrapper.SchemaBuilder.SchemaNode).schema'></a>
|
||||||
|
|
||||||
|
`schema` [SchemaNode](SchemaNode.md 'Pf2eDataScrapper\.SchemaBuilder\.SchemaNode')
|
||||||
|
|
||||||
|
Сохраняемая схема\.
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder').[AbstractSchemaBuildProcessor](AbstractSchemaBuildProcessor.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor')
|
||||||
|
|
||||||
|
## AbstractSchemaBuildProcessor\.Schemas Property
|
||||||
|
|
||||||
|
Набор схем данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected System.Collections.Generic.Dictionary<string,Pf2eDataScrapper.SchemaBuilder.SchemaNode> Schemas { protected get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.Collections\.Generic\.Dictionary<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[,](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')[SchemaNode](SchemaNode.md 'Pf2eDataScrapper\.SchemaBuilder\.SchemaNode')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder](Pf2eDataScrapper.SchemaBuilder.md 'Pf2eDataScrapper\.SchemaBuilder')
|
||||||
|
|
||||||
|
## AbstractSchemaBuildProcessor Class
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractSchemaBuildProcessor : Pf2eDataScrapper.Processors.Definitions.IProcessor
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 AbstractSchemaBuildProcessor
|
||||||
|
|
||||||
|
Derived
|
||||||
|
↳ [SchemaBuildProcessor](SchemaBuildProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Preparation\.SchemaBuildProcessor')
|
||||||
|
↳ [SchemaBuildProcessor](SchemaBuildProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.FoundryEn\.Processors\.Preparation\.SchemaBuildProcessor')
|
||||||
|
|
||||||
|
Implements [IProcessor](IProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor')
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Compendium](AbstractSchemaBuildProcessor.Compendium.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor\.Compendium') | Связаный компендиум |
|
||||||
|
| [Resolver](AbstractSchemaBuildProcessor.Resolver.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor\.Resolver') | Определитель типов данных\. |
|
||||||
|
| [SavePath](AbstractSchemaBuildProcessor.SavePath.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor\.SavePath') | Путь к каталогу для сохранения вывода\. |
|
||||||
|
| [Schemas](AbstractSchemaBuildProcessor.Schemas.md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor\.Schemas') | Набор схем данных\. |
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [GetSchemaNodes\(AbstractCompendiumItem\)](AbstractSchemaBuildProcessor.GetSchemaNodes(AbstractCompendiumItem).md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor\.GetSchemaNodes\(Pf2eDataScrapper\.Importers\.AbstractCompendiumItem\)') | Получить список названий элементов структуры данных на основе вводимого элемента\. |
|
||||||
|
| [Process\(\)](AbstractSchemaBuildProcessor.Process().md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor\.Process\(\)') | Построение схемы данных\. |
|
||||||
|
| [Save\(\)](AbstractSchemaBuildProcessor.Save().md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor\.Save\(\)') | Сохранение постренных схем данных\. |
|
||||||
|
| [SaveSchema\(string, string, SchemaNode\)](AbstractSchemaBuildProcessor.SaveSchema(string,string,SchemaNode).md 'Pf2eDataScrapper\.SchemaBuilder\.AbstractSchemaBuildProcessor\.SaveSchema\(string, string, Pf2eDataScrapper\.SchemaBuilder\.SchemaNode\)') | Сохранение отдельной схемы данных\. |
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types').[AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType')
|
||||||
|
|
||||||
|
## AbstractSchemaType\(SchemaNode\) Constructor
|
||||||
|
|
||||||
|
Абстрактный тип представоления данных в схеме\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected AbstractSchemaType(Pf2eDataScrapper.SchemaBuilder.SchemaNode parent);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.SchemaBuilder.Types.AbstractSchemaType.AbstractSchemaType(Pf2eDataScrapper.SchemaBuilder.SchemaNode).parent'></a>
|
||||||
|
|
||||||
|
`parent` [SchemaNode](SchemaNode.md 'Pf2eDataScrapper\.SchemaBuilder\.SchemaNode')
|
||||||
|
|
||||||
|
Элемент, к которому добавляется тип\.
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types').[AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType')
|
||||||
|
|
||||||
|
## AbstractSchemaType\.AddValue\(JToken\) Method
|
||||||
|
|
||||||
|
Добавление нового значения\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract void AddValue(Newtonsoft.Json.Linq.JToken value);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.SchemaBuilder.Types.AbstractSchemaType.AddValue(Newtonsoft.Json.Linq.JToken).value'></a>
|
||||||
|
|
||||||
|
`value` [Newtonsoft\.Json\.Linq\.JToken](https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JToken 'Newtonsoft\.Json\.Linq\.JToken')
|
||||||
|
|
||||||
|
Новое значение\.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types').[AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType')
|
||||||
|
|
||||||
|
## AbstractSchemaType\.Beautify\(\) Method
|
||||||
|
|
||||||
|
Подготовка типа к красивому представлению\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract void Beautify();
|
||||||
|
```
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types').[AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType')
|
||||||
|
|
||||||
|
## AbstractSchemaType\.GetTypeName\(\) Method
|
||||||
|
|
||||||
|
Получение строкового представоения типа элемента\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract string GetTypeName();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
Строковое представоение типа элемента
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types').[AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType')
|
||||||
|
|
||||||
|
## AbstractSchemaType\.GetYamlData\(\) Method
|
||||||
|
|
||||||
|
Получение данных для форматирования в YAML\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract System.Collections.Generic.Dictionary<string,string> GetYamlData();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.Collections\.Generic\.Dictionary<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[,](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.Dictionary-2 'System\.Collections\.Generic\.Dictionary\`2')
|
||||||
|
Словарь данных
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types').[AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType')
|
||||||
|
|
||||||
|
## AbstractSchemaType\.IsCompatibleValue\(JToken\) Method
|
||||||
|
|
||||||
|
Проверка, что значение совместимо с текущим типом\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract bool IsCompatibleValue(Newtonsoft.Json.Linq.JToken value);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.SchemaBuilder.Types.AbstractSchemaType.IsCompatibleValue(Newtonsoft.Json.Linq.JToken).value'></a>
|
||||||
|
|
||||||
|
`value` [Newtonsoft\.Json\.Linq\.JToken](https://docs.microsoft.com/en-us/dotnet/api/Newtonsoft.Json.Linq.JToken 'Newtonsoft\.Json\.Linq\.JToken')
|
||||||
|
|
||||||
|
Проверяемое значение\.
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System\.Boolean')
|
||||||
|
\`true\`, если значение совместимо с текущим типом\.
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types').[AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType')
|
||||||
|
|
||||||
|
## AbstractSchemaType\.Parent Field
|
||||||
|
|
||||||
|
Элемент схемы данных, к которому относится тип\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public readonly SchemaNode Parent;
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Field Value
|
||||||
|
[SchemaNode](SchemaNode.md 'Pf2eDataScrapper\.SchemaBuilder\.SchemaNode')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types').[AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType')
|
||||||
|
|
||||||
|
## AbstractSchemaType\.Resolver Property
|
||||||
|
|
||||||
|
Объект для определения типа поля в схеме данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public Pf2eDataScrapper.SchemaBuilder.TypeResolver Resolver { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[TypeResolver](TypeResolver.md 'Pf2eDataScrapper\.SchemaBuilder\.TypeResolver')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types').[AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType')
|
||||||
|
|
||||||
|
## AbstractSchemaType\.Root Property
|
||||||
|
|
||||||
|
Корневой элемент схемы данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public Pf2eDataScrapper.SchemaBuilder.SchemaNode Root { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[SchemaNode](SchemaNode.md 'Pf2eDataScrapper\.SchemaBuilder\.SchemaNode')
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types').[AbstractSchemaType](AbstractSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType')
|
||||||
|
|
||||||
|
## AbstractSchemaType\.ToString\(\) Method
|
||||||
|
|
||||||
|
Полное строковое представление элемента\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public override string ToString();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
|
Строковое представление элемента\.
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.SchemaBuilder\.Types](Pf2eDataScrapper.SchemaBuilder.Types.md 'Pf2eDataScrapper\.SchemaBuilder\.Types')
|
||||||
|
|
||||||
|
## AbstractSchemaType Class
|
||||||
|
|
||||||
|
Абстрактный тип представоления данных в схеме\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractSchemaType
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 AbstractSchemaType
|
||||||
|
|
||||||
|
Derived
|
||||||
|
↳ [ArraySchemaType](ArraySchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.ArraySchemaType')
|
||||||
|
↳ [DictionarySchemaType](DictionarySchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.DictionarySchemaType')
|
||||||
|
↳ [IgnoreSchemaType](IgnoreSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.IgnoreSchemaType')
|
||||||
|
↳ [ObjectSchemaType](ObjectSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.ObjectSchemaType')
|
||||||
|
↳ [StaticSchemaType](StaticSchemaType.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.StaticSchemaType')
|
||||||
|
|
||||||
|
| Constructors | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [AbstractSchemaType\(SchemaNode\)](AbstractSchemaType.AbstractSchemaType(SchemaNode).md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType\.AbstractSchemaType\(Pf2eDataScrapper\.SchemaBuilder\.SchemaNode\)') | Абстрактный тип представоления данных в схеме\. |
|
||||||
|
|
||||||
|
| Fields | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Parent](AbstractSchemaType.Parent.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType\.Parent') | Элемент схемы данных, к которому относится тип\. |
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Resolver](AbstractSchemaType.Resolver.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType\.Resolver') | Объект для определения типа поля в схеме данных\. |
|
||||||
|
| [Root](AbstractSchemaType.Root.md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType\.Root') | Корневой элемент схемы данных\. |
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [AddValue\(JToken\)](AbstractSchemaType.AddValue(JToken).md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType\.AddValue\(Newtonsoft\.Json\.Linq\.JToken\)') | Добавление нового значения\. |
|
||||||
|
| [Beautify\(\)](AbstractSchemaType.Beautify().md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType\.Beautify\(\)') | Подготовка типа к красивому представлению\. |
|
||||||
|
| [GetTypeName\(\)](AbstractSchemaType.GetTypeName().md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType\.GetTypeName\(\)') | Получение строкового представоения типа элемента\. |
|
||||||
|
| [GetYamlData\(\)](AbstractSchemaType.GetYamlData().md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType\.GetYamlData\(\)') | Получение данных для форматирования в YAML\. |
|
||||||
|
| [IsCompatibleValue\(JToken\)](AbstractSchemaType.IsCompatibleValue(JToken).md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType\.IsCompatibleValue\(Newtonsoft\.Json\.Linq\.JToken\)') | Проверка, что значение совместимо с текущим типом\. |
|
||||||
|
| [ToString\(\)](AbstractSchemaType.ToString().md 'Pf2eDataScrapper\.SchemaBuilder\.Types\.AbstractSchemaType\.ToString\(\)') | Полное строковое представление элемента\. |
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Definitions](Pf2eDataScrapper.Processors.Definitions.md 'Pf2eDataScrapper\.Processors\.Definitions').[AbstractSimpleProcessor](AbstractSimpleProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractSimpleProcessor')
|
||||||
|
|
||||||
|
## AbstractSimpleProcessor\.Process\(\) Method
|
||||||
|
|
||||||
|
Основной метод обработки данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract void Process();
|
||||||
|
```
|
||||||
|
|
||||||
|
Implements [Process\(\)](IProcessor.Process().md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor\.Process\(\)')
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Definitions](Pf2eDataScrapper.Processors.Definitions.md 'Pf2eDataScrapper\.Processors\.Definitions').[AbstractSimpleProcessor](AbstractSimpleProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractSimpleProcessor')
|
||||||
|
|
||||||
|
## AbstractSimpleProcessor\.Save\(\) Method
|
||||||
|
|
||||||
|
Метод для сохранения изменений в базе данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract void Save();
|
||||||
|
```
|
||||||
|
|
||||||
|
Implements [Save\(\)](IProcessor.Save().md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor\.Save\(\)')
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Processors\.Definitions](Pf2eDataScrapper.Processors.Definitions.md 'Pf2eDataScrapper\.Processors\.Definitions')
|
||||||
|
|
||||||
|
## AbstractSimpleProcessor Class
|
||||||
|
|
||||||
|
Абстрактный класс\-обработчик данных, полученных из Архивов Нефиса\.
|
||||||
|
Класс предназначен для обработки данных с помощью различных обработчиков,
|
||||||
|
для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractSimpleProcessor : Pf2eDataScrapper.Processors.Definitions.IProcessor
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 AbstractSimpleProcessor
|
||||||
|
|
||||||
|
Implements [IProcessor](IProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor')
|
||||||
|
|
||||||
|
### See Also
|
||||||
|
- [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Process\(\)](AbstractSimpleProcessor.Process().md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractSimpleProcessor\.Process\(\)') | Основной метод обработки данных\. |
|
||||||
|
| [Save\(\)](AbstractSimpleProcessor.Save().md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractSimpleProcessor\.Save\(\)') | Метод для сохранения изменений в базе данных\. |
|
||||||
+29
@@ -0,0 +1,29 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractSubclassProcessor](AbstractSubclassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor')
|
||||||
|
|
||||||
|
## AbstractSubclassProcessor\(ProcessorInput, StringHelper, DatabaseHelper, AonprdBuilderGlobals\) Constructor
|
||||||
|
|
||||||
|
Абстрактный класс\-обработчик сущностей подклассов, полученных из Архивов Нефиса\.
|
||||||
|
Класс предназначен для обработки данных с помощью различных обработчиков,
|
||||||
|
для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected AbstractSubclassProcessor(Pf2eDataScrapper.Processors.ProcessorInput input, Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.StringHelper stringHelper, Pf2eDataScrapper.Helpers.DatabaseHelper helper, Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals globals);
|
||||||
|
```
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractSubclassProcessor.AbstractSubclassProcessor(Pf2eDataScrapper.Processors.ProcessorInput,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.StringHelper,Pf2eDataScrapper.Helpers.DatabaseHelper,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals).input'></a>
|
||||||
|
|
||||||
|
`input` [ProcessorInput](ProcessorInput.md 'Pf2eDataScrapper\.Processors\.ProcessorInput')
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractSubclassProcessor.AbstractSubclassProcessor(Pf2eDataScrapper.Processors.ProcessorInput,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.StringHelper,Pf2eDataScrapper.Helpers.DatabaseHelper,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals).stringHelper'></a>
|
||||||
|
|
||||||
|
`stringHelper` [StringHelper](StringHelper.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.StringHelper')
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractSubclassProcessor.AbstractSubclassProcessor(Pf2eDataScrapper.Processors.ProcessorInput,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.StringHelper,Pf2eDataScrapper.Helpers.DatabaseHelper,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals).helper'></a>
|
||||||
|
|
||||||
|
`helper` [DatabaseHelper](DatabaseHelper.md 'Pf2eDataScrapper\.Helpers\.DatabaseHelper')
|
||||||
|
|
||||||
|
<a name='Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractSubclassProcessor.AbstractSubclassProcessor(Pf2eDataScrapper.Processors.ProcessorInput,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.StringHelper,Pf2eDataScrapper.Helpers.DatabaseHelper,Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.AonprdBuilderGlobals).globals'></a>
|
||||||
|
|
||||||
|
`globals` [AonprdBuilderGlobals](AonprdBuilderGlobals.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.AonprdBuilderGlobals')
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractSubclassProcessor](AbstractSubclassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor')
|
||||||
|
|
||||||
|
## AbstractSubclassProcessor\.Add\(\) Method
|
||||||
|
|
||||||
|
Добавление основной сущности в контекст базы данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected override void Add();
|
||||||
|
```
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractSubclassProcessor](AbstractSubclassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor')
|
||||||
|
|
||||||
|
## AbstractSubclassProcessor\.ClassName Property
|
||||||
|
|
||||||
|
Название подкласса\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract string? ClassName { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractSubclassProcessor](AbstractSubclassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor')
|
||||||
|
|
||||||
|
## AbstractSubclassProcessor\.GetGroup\(\) Method
|
||||||
|
|
||||||
|
Получение CLR\-представления группы подклассов, к которому относится обрабатываемый подкласс\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public Pf2eModel.Model.Structure.SubclassGroup GetGroup();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[Pf2eModel\.Model\.Structure\.SubclassGroup](https://docs.microsoft.com/en-us/dotnet/api/Pf2eModel.Model.Structure.SubclassGroup 'Pf2eModel\.Model\.Structure\.SubclassGroup')
|
||||||
|
CLR\-представления группы подклассов\.
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractSubclassProcessor](AbstractSubclassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor')
|
||||||
|
|
||||||
|
## AbstractSubclassProcessor\.GroupName Property
|
||||||
|
|
||||||
|
Название группы подклассов\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract string GroupName { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractSubclassProcessor](AbstractSubclassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor')
|
||||||
|
|
||||||
|
## AbstractSubclassProcessor\.Object Property
|
||||||
|
|
||||||
|
Основная сущность\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract Pf2eModel.Model.Structure.Subclass Object { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[Pf2eModel\.Model\.Structure\.Subclass](https://docs.microsoft.com/en-us/dotnet/api/Pf2eModel.Model.Structure.Subclass 'Pf2eModel\.Model\.Structure\.Subclass')
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractSubclassProcessor](AbstractSubclassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor')
|
||||||
|
|
||||||
|
## AbstractSubclassProcessor\.Process\(\) Method
|
||||||
|
|
||||||
|
Основной метод обработки данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public override void Process();
|
||||||
|
```
|
||||||
|
|
||||||
|
Implements [Process\(\)](IProcessor.Process().md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor\.Process\(\)')
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractSubclassProcessor](AbstractSubclassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor')
|
||||||
|
|
||||||
|
## AbstractSubclassProcessor\.ProcessObject\(\) Method
|
||||||
|
|
||||||
|
Обработка полей подкласса\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public abstract void ProcessObject();
|
||||||
|
```
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors').[AbstractSubclassProcessor](AbstractSubclassProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor')
|
||||||
|
|
||||||
|
## AbstractSubclassProcessor\.Type Property
|
||||||
|
|
||||||
|
Тип сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public override Pf2eModel.Model.Enum.EntityType Type { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[Pf2eModel\.Model\.Enum\.EntityType](https://docs.microsoft.com/en-us/dotnet/api/Pf2eModel.Model.Enum.EntityType 'Pf2eModel\.Model\.Enum\.EntityType')
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors')
|
||||||
|
|
||||||
|
## AbstractSubclassProcessor Class
|
||||||
|
|
||||||
|
Абстрактный класс\-обработчик сущностей подклассов, полученных из Архивов Нефиса\.
|
||||||
|
Класс предназначен для обработки данных с помощью различных обработчиков,
|
||||||
|
для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal abstract class AbstractSubclassProcessor : Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 [AbstractInputProcessor](AbstractInputProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor') 🡒 [AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor') 🡒 AbstractSubclassProcessor
|
||||||
|
|
||||||
|
Derived
|
||||||
|
↳ [ApparitionProcessor](ApparitionProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Subclasses\.ApparitionProcessor')
|
||||||
|
|
||||||
|
| Constructors | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [AbstractSubclassProcessor\(ProcessorInput, StringHelper, DatabaseHelper, AonprdBuilderGlobals\)](AbstractSubclassProcessor.AbstractSubclassProcessor(ProcessorInput,StringHelper,DatabaseHelper,AonprdBuilderGlobals).md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor\.AbstractSubclassProcessor\(Pf2eDataScrapper\.Processors\.ProcessorInput, Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.StringHelper, Pf2eDataScrapper\.Helpers\.DatabaseHelper, Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.AonprdBuilderGlobals\)') | Абстрактный класс\-обработчик сущностей подклассов, полученных из Архивов Нефиса\. Класс предназначен для обработки данных с помощью различных обработчиков, для которых указан атрибут [ProcessorAttribute](ProcessorAttribute.md 'Pf2eDataScrapper\.Processors\.Attributes\.ProcessorAttribute')\. |
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [ClassName](AbstractSubclassProcessor.ClassName.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor\.ClassName') | Название подкласса\. |
|
||||||
|
| [GroupName](AbstractSubclassProcessor.GroupName.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor\.GroupName') | Название группы подклассов\. |
|
||||||
|
| [Object](AbstractSubclassProcessor.Object.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor\.Object') | Основная сущность\. |
|
||||||
|
| [Type](AbstractSubclassProcessor.Type.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor\.Type') | Тип сущности\. |
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Add\(\)](AbstractSubclassProcessor.Add().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor\.Add\(\)') | Добавление основной сущности в контекст базы данных\. |
|
||||||
|
| [GetGroup\(\)](AbstractSubclassProcessor.GetGroup().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor\.GetGroup\(\)') | Получение CLR\-представления группы подклассов, к которому относится обрабатываемый подкласс\. |
|
||||||
|
| [Process\(\)](AbstractSubclassProcessor.Process().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor\.Process\(\)') | Основной метод обработки данных\. |
|
||||||
|
| [ProcessObject\(\)](AbstractSubclassProcessor.ProcessObject().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractSubclassProcessor\.ProcessObject\(\)') | Обработка полей подкласса\. |
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types').[ActionProcessor](ActionProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor')
|
||||||
|
|
||||||
|
## ActionProcessor\.Add\(\) Method
|
||||||
|
|
||||||
|
Добавление основной сущности в контекст базы данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected override void Add();
|
||||||
|
```
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types').[ActionProcessor](ActionProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor')
|
||||||
|
|
||||||
|
## ActionProcessor\.AddedDescriptionPaths\(\) Method
|
||||||
|
|
||||||
|
Получение списка полей, которые должны быть добавлены в описание\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected virtual string[] AddedDescriptionPaths();
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Returns
|
||||||
|
[System\.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System\.String')[\[\]](https://docs.microsoft.com/en-us/dotnet/api/System.Array 'System\.Array')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types').[ActionProcessor](ActionProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor')
|
||||||
|
|
||||||
|
## ActionProcessor\.Object Property
|
||||||
|
|
||||||
|
Основная сущность\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public virtual Pf2eModel.Model.Structure.Action Object { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[Pf2eModel\.Model\.Structure\.Action](https://docs.microsoft.com/en-us/dotnet/api/Pf2eModel.Model.Structure.Action 'Pf2eModel\.Model\.Structure\.Action')
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types').[ActionProcessor](ActionProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor')
|
||||||
|
|
||||||
|
## ActionProcessor\.Process\(\) Method
|
||||||
|
|
||||||
|
Основной метод обработки данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public override void Process();
|
||||||
|
```
|
||||||
|
|
||||||
|
Implements [Process\(\)](IProcessor.Process().md 'Pf2eDataScrapper\.Processors\.Definitions\.IProcessor\.Process\(\)')
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types').[ActionProcessor](ActionProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor')
|
||||||
|
|
||||||
|
## ActionProcessor\.Type Property
|
||||||
|
|
||||||
|
Тип сущности\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
public override Pf2eModel.Model.Enum.EntityType Type { get; }
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Property Value
|
||||||
|
[Pf2eModel\.Model\.Enum\.EntityType](https://docs.microsoft.com/en-us/dotnet/api/Pf2eModel.Model.Enum.EntityType 'Pf2eModel\.Model\.Enum\.EntityType')
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types')
|
||||||
|
|
||||||
|
## ActionProcessor Class
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
internal class ActionProcessor : Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.AbstractEntityProcessor
|
||||||
|
```
|
||||||
|
|
||||||
|
Inheritance [System\.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System\.Object') 🡒 [AbstractInputProcessor](AbstractInputProcessor.md 'Pf2eDataScrapper\.Processors\.Definitions\.AbstractInputProcessor') 🡒 [AbstractEntityProcessor](AbstractEntityProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor') 🡒 ActionProcessor
|
||||||
|
|
||||||
|
| Properties | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Object](ActionProcessor.Object.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor\.Object') | Основная сущность\. |
|
||||||
|
| [Type](ActionProcessor.Type.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor\.Type') | Тип сущности\. |
|
||||||
|
|
||||||
|
| Methods | |
|
||||||
|
| :--- | :--- |
|
||||||
|
| [Add\(\)](ActionProcessor.Add().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor\.Add\(\)') | Добавление основной сущности в контекст базы данных\. |
|
||||||
|
| [AddedDescriptionPaths\(\)](ActionProcessor.AddedDescriptionPaths().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor\.AddedDescriptionPaths\(\)') | Получение списка полей, которые должны быть добавлены в описание\. |
|
||||||
|
| [Process\(\)](ActionProcessor.Process().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.ActionProcessor\.Process\(\)') | Основной метод обработки данных\. |
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#### [Pf2eDataScrapper](index.md 'index')
|
||||||
|
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types').[AncestryProcessor](AncestryProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.AncestryProcessor')
|
||||||
|
|
||||||
|
## AncestryProcessor\.Add\(\) Method
|
||||||
|
|
||||||
|
Добавление основной сущности в контекст базы данных\.
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
protected override void Add();
|
||||||
|
```
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user