Compare commits
115
Commits
570b5296ae
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
468f6e2277 | ||
|
|
1ee0f2b47b | ||
|
|
d00d6dd095 | ||
|
|
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 | ||
|
|
0da1424477 | ||
|
|
06985b99be | ||
|
|
d6fef4c2c8 | ||
|
|
06d154eccc | ||
|
|
76167f1b24 | ||
|
|
9d0683a23f | ||
|
|
311a14a39d | ||
|
|
a66aa834bd | ||
|
|
7dcf582c3e | ||
|
|
cc7e97b6ff | ||
|
|
31ad99ade5 | ||
|
|
35b571eb57 | ||
|
|
beb61b7449 | ||
|
|
be8963a073 | ||
|
|
eac73d9f67 | ||
|
|
db432929bf | ||
|
|
29aee61d4c | ||
|
|
38bc6152ed | ||
|
|
5b1fad3372 | ||
|
|
02d35d72d2 | ||
|
|
9a711c5a9d | ||
|
|
372e41e51a | ||
|
|
e54d171835 | ||
|
|
e1ec15d03e | ||
|
|
df7f01938f | ||
|
|
a78b01b15c | ||
|
|
10e3e274d5 | ||
|
|
efaa6c71d7 | ||
|
|
a0eb739363 | ||
|
|
2ed5c2e5c5 | ||
|
|
0353ca732f | ||
|
|
bfe52cff9a | ||
|
|
6e199f72f8 | ||
|
|
0c95c6d68b | ||
|
|
d095001caf | ||
|
|
bf6d600c4b | ||
|
|
414ac03f83 | ||
|
|
4fec054ac6 | ||
|
|
b67c964c80 | ||
|
|
5475b6ab46 | ||
|
|
a087807fe4 | ||
|
|
578bb077da | ||
|
|
9668807b46 | ||
|
|
80b5770036 | ||
|
|
8277294319 | ||
|
|
492323a4c0 | ||
|
|
73bba7a865 |
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"version": 1,
|
||||
"isRoot": true,
|
||||
"tools": {
|
||||
"csharpier": {
|
||||
"version": "1.0.1",
|
||||
"commands": [
|
||||
"csharpier"
|
||||
],
|
||||
"rollForward": false
|
||||
}
|
||||
}
|
||||
}
|
||||
+290
@@ -0,0 +1,290 @@
|
||||
root = true
|
||||
# Удалите строку ниже, если вы хотите наследовать параметры .editorconfig из каталогов, расположенных выше в иерархии
|
||||
|
||||
# Файлы C#
|
||||
[*.cs]
|
||||
|
||||
#### Resharper ####
|
||||
|
||||
resharper_member_can_be_private_global_highlighting = none
|
||||
|
||||
|
||||
#### Основные параметры EditorConfig ####
|
||||
|
||||
# Отступы и интервалы
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
tab_width = 4
|
||||
|
||||
# Предпочтения для новых строк
|
||||
end_of_line = crlf
|
||||
insert_final_newline = false
|
||||
|
||||
#### Действия кода .NET ####
|
||||
|
||||
# Члены типа
|
||||
dotnet_hide_advanced_members = false
|
||||
dotnet_member_insertion_location = with_other_members_of_the_same_kind
|
||||
dotnet_property_generation_behavior = prefer_throwing_properties
|
||||
|
||||
# Поиск символов
|
||||
dotnet_search_reference_assemblies = true
|
||||
|
||||
#### Рекомендации по написанию кода .NET ####
|
||||
|
||||
# Упорядочение Using
|
||||
dotnet_separate_import_directive_groups = false
|
||||
dotnet_sort_system_directives_first = true
|
||||
file_header_template =
|
||||
|
||||
# Предпочтения для this. и Me.
|
||||
dotnet_style_qualification_for_event = false
|
||||
dotnet_style_qualification_for_field = false
|
||||
dotnet_style_qualification_for_method = false
|
||||
dotnet_style_qualification_for_property = false
|
||||
|
||||
# Параметры использования ключевых слов языка и типов BCL
|
||||
dotnet_style_predefined_type_for_locals_parameters_members = true
|
||||
dotnet_style_predefined_type_for_member_access = true
|
||||
|
||||
# Предпочтения для скобок
|
||||
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity
|
||||
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity
|
||||
dotnet_style_parentheses_in_other_operators = never_if_unnecessary
|
||||
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity
|
||||
|
||||
# Предпочтения модификатора
|
||||
dotnet_style_require_accessibility_modifiers = for_non_interface_members
|
||||
|
||||
# Выражения уровень предпочтения
|
||||
dotnet_prefer_system_hash_code = true
|
||||
dotnet_style_coalesce_expression = true
|
||||
dotnet_style_collection_initializer = true
|
||||
dotnet_style_explicit_tuple_names = true
|
||||
dotnet_style_namespace_match_folder = true
|
||||
dotnet_style_null_propagation = true
|
||||
dotnet_style_object_initializer = true
|
||||
dotnet_style_operator_placement_when_wrapping = beginning_of_line
|
||||
dotnet_style_prefer_auto_properties = true
|
||||
dotnet_style_prefer_collection_expression = when_types_loosely_match
|
||||
dotnet_style_prefer_compound_assignment = true
|
||||
dotnet_style_prefer_conditional_expression_over_assignment = true
|
||||
dotnet_style_prefer_conditional_expression_over_return = true
|
||||
dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed
|
||||
dotnet_style_prefer_inferred_anonymous_type_member_names = true
|
||||
dotnet_style_prefer_inferred_tuple_names = true
|
||||
dotnet_style_prefer_is_null_check_over_reference_equality_method = true
|
||||
dotnet_style_prefer_simplified_boolean_expressions = true
|
||||
dotnet_style_prefer_simplified_interpolation = true
|
||||
|
||||
# Предпочтения для полей
|
||||
dotnet_style_readonly_field = true
|
||||
|
||||
# Настройки параметров
|
||||
dotnet_code_quality_unused_parameters = all
|
||||
|
||||
# Параметры подавления
|
||||
dotnet_remove_unnecessary_suppression_exclusions = none
|
||||
|
||||
# Предпочтения для новых строк
|
||||
dotnet_style_allow_multiple_blank_lines_experimental = true
|
||||
dotnet_style_allow_statement_immediately_after_block_experimental = true
|
||||
|
||||
#### Рекомендации по написанию кода C# ####
|
||||
|
||||
# Предпочтения var
|
||||
csharp_style_var_elsewhere = false
|
||||
csharp_style_var_for_built_in_types = false
|
||||
csharp_style_var_when_type_is_apparent = false
|
||||
|
||||
# Члены, заданные выражениями
|
||||
csharp_style_expression_bodied_accessors = true
|
||||
csharp_style_expression_bodied_constructors = false
|
||||
csharp_style_expression_bodied_indexers = true
|
||||
csharp_style_expression_bodied_lambdas = true
|
||||
csharp_style_expression_bodied_local_functions = false
|
||||
csharp_style_expression_bodied_methods = false
|
||||
csharp_style_expression_bodied_operators = false
|
||||
csharp_style_expression_bodied_properties = true
|
||||
|
||||
# Настройки соответствия шаблонов
|
||||
csharp_style_pattern_matching_over_as_with_null_check = true
|
||||
csharp_style_pattern_matching_over_is_with_cast_check = true
|
||||
csharp_style_prefer_extended_property_pattern = true
|
||||
csharp_style_prefer_not_pattern = true
|
||||
csharp_style_prefer_pattern_matching = true
|
||||
csharp_style_prefer_switch_expression = true
|
||||
|
||||
# Настройки проверки на null
|
||||
csharp_style_conditional_delegate_call = true
|
||||
|
||||
# Предпочтения модификатора
|
||||
csharp_prefer_static_anonymous_function = true
|
||||
csharp_prefer_static_local_function = true
|
||||
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_member = true
|
||||
|
||||
# Предпочтения для блоков кода
|
||||
csharp_prefer_braces = true
|
||||
csharp_prefer_simple_using_statement = true
|
||||
csharp_prefer_system_threading_lock = true
|
||||
csharp_style_namespace_declarations = file_scoped
|
||||
csharp_style_prefer_method_group_conversion = true
|
||||
csharp_style_prefer_primary_constructors = true
|
||||
csharp_style_prefer_top_level_statements = true
|
||||
|
||||
# Выражения уровень предпочтения
|
||||
csharp_prefer_simple_default_expression = true:suggestion
|
||||
csharp_style_deconstructed_variable_declaration = true:suggestion
|
||||
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
|
||||
csharp_style_inlined_variable_declaration = true:suggestion
|
||||
csharp_style_prefer_index_operator = true:suggestion
|
||||
csharp_style_prefer_local_over_anonymous_function = true:suggestion
|
||||
csharp_style_prefer_null_check_over_type_check = true:suggestion
|
||||
csharp_style_prefer_range_operator = true:suggestion
|
||||
csharp_style_prefer_tuple_swap = true:suggestion
|
||||
csharp_style_prefer_unbound_generic_type_in_nameof = true:suggestion
|
||||
csharp_style_prefer_utf8_string_literals = true:suggestion
|
||||
csharp_style_throw_expression = true:suggestion
|
||||
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
|
||||
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
|
||||
|
||||
# предпочтения для директивы using
|
||||
csharp_using_directive_placement = outside_namespace
|
||||
|
||||
# Предпочтения для новых строк
|
||||
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true
|
||||
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true
|
||||
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true
|
||||
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true
|
||||
csharp_style_allow_embedded_statements_on_same_line_experimental = true
|
||||
|
||||
#### Правила форматирования C# ####
|
||||
|
||||
# Предпочтения для новых строк
|
||||
csharp_new_line_before_catch = true
|
||||
csharp_new_line_before_else = true
|
||||
csharp_new_line_before_finally = true
|
||||
csharp_new_line_before_members_in_anonymous_types = true
|
||||
csharp_new_line_before_members_in_object_initializers = true
|
||||
csharp_new_line_before_open_brace = all
|
||||
csharp_new_line_between_query_expression_clauses = true
|
||||
|
||||
# Параметры отступов
|
||||
csharp_indent_block_contents = true
|
||||
csharp_indent_braces = false
|
||||
csharp_indent_case_contents = true
|
||||
csharp_indent_case_contents_when_block = false
|
||||
csharp_indent_labels = one_less_than_current
|
||||
csharp_indent_switch_labels = true
|
||||
|
||||
# Предпочтения для интервалов
|
||||
csharp_space_after_cast = false
|
||||
csharp_space_after_colon_in_inheritance_clause = true
|
||||
csharp_space_after_comma = true
|
||||
csharp_space_after_dot = false
|
||||
csharp_space_after_keywords_in_control_flow_statements = true
|
||||
csharp_space_after_semicolon_in_for_statement = true
|
||||
csharp_space_around_binary_operators = before_and_after
|
||||
csharp_space_around_declaration_statements = false
|
||||
csharp_space_before_colon_in_inheritance_clause = true
|
||||
csharp_space_before_comma = false
|
||||
csharp_space_before_dot = false
|
||||
csharp_space_before_open_square_brackets = false
|
||||
csharp_space_before_semicolon_in_for_statement = false
|
||||
csharp_space_between_empty_square_brackets = false
|
||||
csharp_space_between_method_call_empty_parameter_list_parentheses = false
|
||||
csharp_space_between_method_call_name_and_opening_parenthesis = false
|
||||
csharp_space_between_method_call_parameter_list_parentheses = false
|
||||
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
|
||||
csharp_space_between_method_declaration_name_and_open_parenthesis = false
|
||||
csharp_space_between_method_declaration_parameter_list_parentheses = false
|
||||
csharp_space_between_parentheses = false
|
||||
csharp_space_between_square_brackets = false
|
||||
|
||||
# Параметры переноса
|
||||
csharp_preserve_single_line_blocks = true
|
||||
csharp_preserve_single_line_statements = false
|
||||
|
||||
#### Стили именования ####
|
||||
|
||||
# Правила именования
|
||||
|
||||
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
|
||||
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
|
||||
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
|
||||
|
||||
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
|
||||
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
|
||||
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
|
||||
|
||||
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
|
||||
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
|
||||
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
|
||||
|
||||
# Спецификации символов
|
||||
|
||||
dotnet_naming_symbols.interface.applicable_kinds = interface
|
||||
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
||||
dotnet_naming_symbols.interface.required_modifiers =
|
||||
|
||||
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
|
||||
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
||||
dotnet_naming_symbols.types.required_modifiers =
|
||||
|
||||
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
|
||||
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
|
||||
dotnet_naming_symbols.non_field_members.required_modifiers =
|
||||
|
||||
# Стили именования
|
||||
|
||||
dotnet_naming_style.pascal_case.required_prefix =
|
||||
dotnet_naming_style.pascal_case.required_suffix =
|
||||
dotnet_naming_style.pascal_case.word_separator =
|
||||
dotnet_naming_style.pascal_case.capitalization = pascal_case
|
||||
|
||||
dotnet_naming_style.begins_with_i.required_prefix = I
|
||||
dotnet_naming_style.begins_with_i.required_suffix =
|
||||
dotnet_naming_style.begins_with_i.word_separator =
|
||||
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}]
|
||||
dotnet_style_coalesce_expression = true:suggestion
|
||||
dotnet_style_null_propagation = true:suggestion
|
||||
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
|
||||
dotnet_style_prefer_auto_properties = true:silent
|
||||
dotnet_style_object_initializer = true:suggestion
|
||||
dotnet_style_collection_initializer = true:suggestion
|
||||
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
|
||||
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
|
||||
dotnet_style_prefer_conditional_expression_over_return = true:silent
|
||||
dotnet_style_explicit_tuple_names = true:suggestion
|
||||
dotnet_style_prefer_inferred_tuple_names = true:suggestion
|
||||
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
|
||||
dotnet_style_prefer_compound_assignment = true:suggestion
|
||||
dotnet_style_prefer_simplified_interpolation = true:suggestion
|
||||
dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion
|
||||
dotnet_style_namespace_match_folder = true:suggestion
|
||||
dotnet_code_quality_unused_parameters = all:suggestion
|
||||
dotnet_style_operator_placement_when_wrapping = beginning_of_line
|
||||
tab_width = 4
|
||||
indent_size = 4
|
||||
dotnet_diagnostic.ca1822.severity = none
|
||||
dotnet_diagnostic.IDE0305.severity = none
|
||||
+4
-1
@@ -365,4 +365,7 @@ FodyWeavers.xsd
|
||||
|
||||
.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\.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,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,60 @@
|
||||
#### [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')
|
||||
↳ [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 | |
|
||||
| :--- | :--- |
|
||||
| [Entity](AbstractEntityProcessor.Entity.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.AbstractEntityProcessor\.Entity') | Корневая сущность\. |
|
||||
| [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\(\)') | Сгенерировать описание сущности\. |
|
||||
| [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,37 @@
|
||||
#### [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')
|
||||
|
||||
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();
|
||||
```
|
||||
@@ -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').[AncestryProcessor](AncestryProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.AncestryProcessor')
|
||||
|
||||
## AncestryProcessor\.Object Property
|
||||
|
||||
Основная сущность\.
|
||||
|
||||
```csharp
|
||||
public virtual Pf2eModel.Model.Structure.Ancestry Object { get; }
|
||||
```
|
||||
|
||||
#### Property Value
|
||||
[Pf2eModel\.Model\.Structure\.Ancestry](https://docs.microsoft.com/en-us/dotnet/api/Pf2eModel.Model.Structure.Ancestry 'Pf2eModel\.Model\.Structure\.Ancestry')
|
||||
@@ -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').[AncestryProcessor](AncestryProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.AncestryProcessor')
|
||||
|
||||
## AncestryProcessor\.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').[AncestryProcessor](AncestryProcessor.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.AncestryProcessor')
|
||||
|
||||
## AncestryProcessor\.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,20 @@
|
||||
#### [Pf2eDataScrapper](index.md 'index')
|
||||
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types](Pf2eDataScrapper.Importers.Implementations.Aonprd.Processors.Types.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types')
|
||||
|
||||
## AncestryProcessor Class
|
||||
|
||||
```csharp
|
||||
internal class AncestryProcessor : 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') 🡒 AncestryProcessor
|
||||
|
||||
| Properties | |
|
||||
| :--- | :--- |
|
||||
| [Object](AncestryProcessor.Object.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.AncestryProcessor\.Object') | Основная сущность\. |
|
||||
| [Type](AncestryProcessor.Type.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.AncestryProcessor\.Type') | Тип сущности\. |
|
||||
|
||||
| Methods | |
|
||||
| :--- | :--- |
|
||||
| [Add\(\)](AncestryProcessor.Add().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.AncestryProcessor\.Add\(\)') | Добавление основной сущности в контекст базы данных\. |
|
||||
| [Process\(\)](AncestryProcessor.Process().md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Processors\.Types\.AncestryProcessor\.Process\(\)') | Основной метод обработки данных\. |
|
||||
@@ -0,0 +1,10 @@
|
||||
#### [Pf2eDataScrapper](index.md 'index')
|
||||
### [Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers](Pf2eDataScrapper.Importers.Implementations.Aonprd.Helpers.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers').[AonprdBuilderGlobals](AonprdBuilderGlobals.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.AonprdBuilderGlobals')
|
||||
|
||||
## AonprdBuilderGlobals\(\) Constructor
|
||||
|
||||
Конструктор класса [AonprdBuilderGlobals](AonprdBuilderGlobals.md 'Pf2eDataScrapper\.Importers\.Implementations\.Aonprd\.Helpers\.AonprdBuilderGlobals')\.
|
||||
|
||||
```csharp
|
||||
public AonprdBuilderGlobals();
|
||||
```
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user