diff --git a/.editorconfig b/.editorconfig index 4193512..df76a7a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,270 +7,270 @@ root = true #### Core EditorConfig Options #### # Indentation and spacing -indent_size = 4 -indent_style = space -tab_width = 4 +indent_size = 4 +indent_style = space +tab_width = 4 # New line preferences -end_of_line = crlf -insert_final_newline = true +end_of_line = crlf +insert_final_newline = true #### .NET Coding Conventions #### # Organize usings -dotnet_separate_import_directive_groups = false -dotnet_sort_system_directives_first = true -file_header_template = unset +dotnet_separate_import_directive_groups = false +dotnet_sort_system_directives_first = true +file_header_template = unset # this. and Me. preferences -dotnet_style_qualification_for_event = false:error -dotnet_style_qualification_for_field = false -dotnet_style_qualification_for_method = false:error -dotnet_style_qualification_for_property = false:error +dotnet_style_qualification_for_event = false:error +dotnet_style_qualification_for_field = false +dotnet_style_qualification_for_method = false:error +dotnet_style_qualification_for_property = false:error # Language keywords vs BCL types preferences -dotnet_style_predefined_type_for_locals_parameters_members = true -dotnet_style_predefined_type_for_member_access = true +dotnet_style_predefined_type_for_locals_parameters_members = true +dotnet_style_predefined_type_for_member_access = true # Parentheses preferences -dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_other_operators = always_for_clarity:warning -dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_other_operators = always_for_clarity:warning +dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning # Modifier preferences -dotnet_style_require_accessibility_modifiers = for_non_interface_members +dotnet_style_require_accessibility_modifiers = for_non_interface_members # Expression-level preferences -dotnet_style_coalesce_expression = true:warning -dotnet_style_collection_initializer = true:error -dotnet_style_explicit_tuple_names = true:error -dotnet_style_namespace_match_folder = true -dotnet_style_null_propagation = true:warning -dotnet_style_object_initializer = true:error -dotnet_style_operator_placement_when_wrapping = beginning_of_line -dotnet_style_prefer_auto_properties = true:warning -dotnet_style_prefer_collection_expression = when_types_loosely_match -dotnet_style_prefer_compound_assignment = true:error -dotnet_style_prefer_conditional_expression_over_assignment = true:error -dotnet_style_prefer_conditional_expression_over_return = true:error -dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed -dotnet_style_prefer_inferred_anonymous_type_member_names = true:error -dotnet_style_prefer_inferred_tuple_names = true:error -dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning -dotnet_style_prefer_simplified_boolean_expressions = true:error -dotnet_style_prefer_simplified_interpolation = true +dotnet_style_coalesce_expression = true:warning +dotnet_style_collection_initializer = true:error +dotnet_style_explicit_tuple_names = true:error +dotnet_style_namespace_match_folder = true +dotnet_style_null_propagation = true:warning +dotnet_style_object_initializer = true:error +dotnet_style_operator_placement_when_wrapping = beginning_of_line +dotnet_style_prefer_auto_properties = true:warning +dotnet_style_prefer_collection_expression = when_types_loosely_match +dotnet_style_prefer_compound_assignment = true:error +dotnet_style_prefer_conditional_expression_over_assignment = true:error +dotnet_style_prefer_conditional_expression_over_return = true:error +dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed +dotnet_style_prefer_inferred_anonymous_type_member_names = true:error +dotnet_style_prefer_inferred_tuple_names = true:error +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning +dotnet_style_prefer_simplified_boolean_expressions = true:error +dotnet_style_prefer_simplified_interpolation = true # Field preferences -dotnet_style_readonly_field = true:error +dotnet_style_readonly_field = true:error # Parameter preferences -dotnet_code_quality_unused_parameters = all:error +dotnet_code_quality_unused_parameters = all:error # Suppression preferences -dotnet_remove_unnecessary_suppression_exclusions = none +dotnet_remove_unnecessary_suppression_exclusions = none # New line preferences -dotnet_style_allow_multiple_blank_lines_experimental = false:error -dotnet_style_allow_statement_immediately_after_block_experimental = false:warning +dotnet_style_allow_multiple_blank_lines_experimental = false:error +dotnet_style_allow_statement_immediately_after_block_experimental = false:warning #### C# Coding Conventions #### # var preferences -csharp_style_var_elsewhere = false:error -csharp_style_var_for_built_in_types = true:error -csharp_style_var_when_type_is_apparent = true:error +csharp_style_var_elsewhere = false:error +csharp_style_var_for_built_in_types = true:error +csharp_style_var_when_type_is_apparent = true:error # Expression-bodied members -csharp_style_expression_bodied_accessors = true:warning -csharp_style_expression_bodied_constructors = true:warning -csharp_style_expression_bodied_indexers = true:warning -csharp_style_expression_bodied_lambdas = true:warning -csharp_style_expression_bodied_local_functions = false:silent -csharp_style_expression_bodied_methods = true:warning -csharp_style_expression_bodied_operators = true:warning -csharp_style_expression_bodied_properties = true:warning +csharp_style_expression_bodied_accessors = true:warning +csharp_style_expression_bodied_constructors = true:warning +csharp_style_expression_bodied_indexers = true:warning +csharp_style_expression_bodied_lambdas = true:warning +csharp_style_expression_bodied_local_functions = false:silent +csharp_style_expression_bodied_methods = true:warning +csharp_style_expression_bodied_operators = true:warning +csharp_style_expression_bodied_properties = true:warning # Pattern matching preferences -csharp_style_pattern_matching_over_as_with_null_check = true:error -csharp_style_pattern_matching_over_is_with_cast_check = true:error -csharp_style_prefer_extended_property_pattern = true:warning -csharp_style_prefer_not_pattern = true:error -csharp_style_prefer_pattern_matching = true:error -csharp_style_prefer_switch_expression = true:error +csharp_style_pattern_matching_over_as_with_null_check = true:error +csharp_style_pattern_matching_over_is_with_cast_check = true:error +csharp_style_prefer_extended_property_pattern = true:warning +csharp_style_prefer_not_pattern = true:error +csharp_style_prefer_pattern_matching = true:error +csharp_style_prefer_switch_expression = true:error # Null-checking preferences -csharp_style_conditional_delegate_call = true:warning +csharp_style_conditional_delegate_call = true:warning # Modifier preferences -csharp_prefer_static_local_function = true:warning +csharp_prefer_static_local_function = true:warning csharp_preferred_modifier_order = public, private, protected, internal, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, volatile, async -csharp_style_prefer_readonly_struct = true:warning -csharp_style_prefer_readonly_struct_member = true:suggestion +csharp_style_prefer_readonly_struct = true:warning +csharp_style_prefer_readonly_struct_member = true:suggestion # Code-block preferences -csharp_prefer_braces = when_multiline:error -csharp_prefer_simple_using_statement = true:warning -csharp_style_namespace_declarations = file_scoped:warning -csharp_style_prefer_method_group_conversion = true:warning -csharp_style_prefer_primary_constructors = true:suggestion -csharp_style_prefer_top_level_statements = false:silent +csharp_prefer_braces = when_multiline:error +csharp_prefer_simple_using_statement = true:warning +csharp_style_namespace_declarations = file_scoped:warning +csharp_style_prefer_method_group_conversion = true:warning +csharp_style_prefer_primary_constructors = true:suggestion +csharp_style_prefer_top_level_statements = false:silent # Expression-level preferences -csharp_prefer_simple_default_expression = true:error -csharp_style_deconstructed_variable_declaration = true:warning -csharp_style_implicit_object_creation_when_type_is_apparent = true:error -csharp_style_inlined_variable_declaration = true:warning -csharp_style_prefer_index_operator = true:error -csharp_style_prefer_local_over_anonymous_function = true:error -csharp_style_prefer_null_check_over_type_check = true:warning -csharp_style_prefer_range_operator = true:error -csharp_style_prefer_tuple_swap = true:error -csharp_style_prefer_utf8_string_literals = true:suggestion -csharp_style_throw_expression = true:warning -csharp_style_unused_value_assignment_preference = discard_variable:warning -csharp_style_unused_value_expression_statement_preference = discard_variable:warning +csharp_prefer_simple_default_expression = true:error +csharp_style_deconstructed_variable_declaration = true:warning +csharp_style_implicit_object_creation_when_type_is_apparent = true:error +csharp_style_inlined_variable_declaration = true:warning +csharp_style_prefer_index_operator = true:error +csharp_style_prefer_local_over_anonymous_function = true:error +csharp_style_prefer_null_check_over_type_check = true:warning +csharp_style_prefer_range_operator = true:error +csharp_style_prefer_tuple_swap = true:error +csharp_style_prefer_utf8_string_literals = true:suggestion +csharp_style_throw_expression = true:warning +csharp_style_unused_value_assignment_preference = discard_variable:warning +csharp_style_unused_value_expression_statement_preference = discard_variable:warning # 'using' directive preferences -csharp_using_directive_placement = outside_namespace:warning +csharp_using_directive_placement = outside_namespace:warning # New line preferences csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = false:warning csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = false:warning -csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = false:warning -csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false:error -csharp_style_allow_embedded_statements_on_same_line_experimental = true:warning +csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = false:warning +csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false:error +csharp_style_allow_embedded_statements_on_same_line_experimental = true:warning #### C# Formatting Rules #### # New line preferences -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_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 # Indentation preferences -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_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 # Space preferences -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 = false -csharp_space_after_semicolon_in_for_statement = true -csharp_space_around_binary_operators = before_and_after -csharp_space_around_declaration_statements = ignore -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_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 = false +csharp_space_after_semicolon_in_for_statement = true +csharp_space_around_binary_operators = before_and_after +csharp_space_around_declaration_statements = ignore +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 # Wrapping preferences -csharp_preserve_single_line_blocks = true -csharp_preserve_single_line_statements = false +csharp_preserve_single_line_blocks = true +csharp_preserve_single_line_statements = false #### Naming styles #### # Naming rules -dotnet_naming_rule.interface_should_be_begins_with_i.severity = error -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.interface_should_be_begins_with_i.severity = error +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 = error -dotnet_naming_rule.types_should_be_pascal_case.symbols = types -dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.types_should_be_pascal_case.severity = error +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 = warning -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_rule.non_field_members_should_be_pascal_case.severity = warning +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_rule.static_field_should_be_pascal_case.severity = warning -dotnet_naming_rule.static_field_should_be_pascal_case.symbols = static_field -dotnet_naming_rule.static_field_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.static_field_should_be_pascal_case.severity = warning +dotnet_naming_rule.static_field_should_be_pascal_case.symbols = static_field +dotnet_naming_rule.static_field_should_be_pascal_case.style = pascal_case # Symbol specifications -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.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.static_field.applicable_kinds = field -dotnet_naming_symbols.static_field.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected -dotnet_naming_symbols.static_field.required_modifiers = static +dotnet_naming_symbols.static_field.applicable_kinds = field +dotnet_naming_symbols.static_field.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.static_field.required_modifiers = static -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.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_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 = # Naming styles -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.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 +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 [*.{cs,vb}] -dotnet_style_operator_placement_when_wrapping = beginning_of_line -tab_width = 4 -indent_size = 4 -end_of_line = crlf -dotnet_style_coalesce_expression = true:warning -dotnet_style_null_propagation = true:warning -dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning -dotnet_style_prefer_auto_properties = true:warning -dotnet_style_object_initializer = true:error -dotnet_style_collection_initializer = true:error -dotnet_style_prefer_simplified_boolean_expressions = true:error -dotnet_style_prefer_conditional_expression_over_assignment = true:error -dotnet_style_explicit_tuple_names = true:error -dotnet_style_prefer_conditional_expression_over_return = true:error -dotnet_style_prefer_inferred_tuple_names = true:error -dotnet_style_prefer_inferred_anonymous_type_member_names = true:error -dotnet_style_prefer_compound_assignment = true:error -dotnet_style_prefer_simplified_interpolation = true:error -dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion -dotnet_style_namespace_match_folder = true:suggestion -dotnet_style_readonly_field = true:warning -dotnet_style_predefined_type_for_member_access = true:silent -dotnet_style_predefined_type_for_locals_parameters_members = true:silent -dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent -dotnet_style_allow_multiple_blank_lines_experimental = false:error +dotnet_style_operator_placement_when_wrapping = beginning_of_line +tab_width = 4 +indent_size = 4 +end_of_line = crlf +dotnet_style_coalesce_expression = true:warning +dotnet_style_null_propagation = true:warning +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning +dotnet_style_prefer_auto_properties = true:warning +dotnet_style_object_initializer = true:error +dotnet_style_collection_initializer = true:error +dotnet_style_prefer_simplified_boolean_expressions = true:error +dotnet_style_prefer_conditional_expression_over_assignment = true:error +dotnet_style_explicit_tuple_names = true:error +dotnet_style_prefer_conditional_expression_over_return = true:error +dotnet_style_prefer_inferred_tuple_names = true:error +dotnet_style_prefer_inferred_anonymous_type_member_names = true:error +dotnet_style_prefer_compound_assignment = true:error +dotnet_style_prefer_simplified_interpolation = true:error +dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion +dotnet_style_namespace_match_folder = true:suggestion +dotnet_style_readonly_field = true:warning +dotnet_style_predefined_type_for_member_access = true:silent +dotnet_style_predefined_type_for_locals_parameters_members = true:silent +dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent +dotnet_style_allow_multiple_blank_lines_experimental = false:error dotnet_style_allow_statement_immediately_after_block_experimental = false:warning -dotnet_code_quality_unused_parameters = all:error -dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent -dotnet_style_qualification_for_field = false:silent -dotnet_style_qualification_for_property = false:error -dotnet_style_qualification_for_method = false:error -dotnet_style_qualification_for_event = false:error +dotnet_code_quality_unused_parameters = all:error +dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent +dotnet_style_qualification_for_field = false:silent +dotnet_style_qualification_for_property = false:error +dotnet_style_qualification_for_method = false:error +dotnet_style_qualification_for_event = false:error diff --git a/AStar.Dev.slnx b/AStar.Dev.slnx index 00f52f4..528cfb0 100644 --- a/AStar.Dev.slnx +++ b/AStar.Dev.slnx @@ -39,7 +39,7 @@ - + @@ -63,8 +63,9 @@ - + + @@ -78,9 +79,9 @@ - + @@ -113,6 +114,9 @@ + + + diff --git a/Directory.Build.props b/Directory.Build.props index a341230..ca3cec1 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,18 +1,18 @@ - - true - net9.0 - enable - true - + + true + net9.0 + enable + true + - - True - 1701;1702; - + + True + 1701;1702; + - - True - 1701;1702; - + + True + 1701;1702; + \ No newline at end of file diff --git a/src/nuget-packages/AStar.Dev.Infrastructure.FilesDb/AStar.Dev.Infrastructure.FilesDb.csproj b/src/nuget-packages/AStar.Dev.Infrastructure.FilesDb/AStar.Dev.Infrastructure.FilesDb.csproj index 2d4191a..ad4deb9 100644 --- a/src/nuget-packages/AStar.Dev.Infrastructure.FilesDb/AStar.Dev.Infrastructure.FilesDb.csproj +++ b/src/nuget-packages/AStar.Dev.Infrastructure.FilesDb/AStar.Dev.Infrastructure.FilesDb.csproj @@ -56,7 +56,7 @@ - + diff --git a/src/source-generators/AStar.Dev.Annotations/AStar.Dev.Annotations.csproj b/src/source-generators/AStar.Dev.Annotations/AStar.Dev.Annotations.csproj index cfb3833..8eaf8d8 100644 --- a/src/source-generators/AStar.Dev.Annotations/AStar.Dev.Annotations.csproj +++ b/src/source-generators/AStar.Dev.Annotations/AStar.Dev.Annotations.csproj @@ -1,10 +1,9 @@  - netstandard2.0 - preview - enable + net9.0 enable + enable - + \ No newline at end of file diff --git a/src/source-generators/AStar.Dev.Annotations/ConfigSectionAttribute.cs b/src/source-generators/AStar.Dev.Annotations/ConfigSectionAttribute.cs new file mode 100644 index 0000000..27f0d28 --- /dev/null +++ b/src/source-generators/AStar.Dev.Annotations/ConfigSectionAttribute.cs @@ -0,0 +1,7 @@ +namespace AStar.Dev.Annotations; + +[AttributeUsage(AttributeTargets.Class, Inherited = false)] +public sealed class ConfigSectionAttribute(string name) : Attribute +{ + public string Name { get; } = name; +} \ No newline at end of file diff --git a/src/source-generators/AStar.Dev.Annotations/RegisterServiceAttribute.cs b/src/source-generators/AStar.Dev.Annotations/RegisterServiceAttribute.cs new file mode 100644 index 0000000..3740f85 --- /dev/null +++ b/src/source-generators/AStar.Dev.Annotations/RegisterServiceAttribute.cs @@ -0,0 +1,51 @@ +namespace AStar.Dev.Annotations; + +public enum Lifetime +{ + Singleton, + Scoped, + Transient +} + +/// +/// An attribute used to register a class as a service within a dependency injection container. +/// The attribute allows specifying the service's lifetime, the interface it should be registered against, +/// and whether the concrete type should also be registered as itself. +/// +/// The required lifetime of the service being registered +[AttributeUsage(AttributeTargets.Class, Inherited = false)] +public sealed class RegisterServiceAttribute(Lifetime lifetime = Lifetime.Scoped) : Attribute +{ + /// + /// Specifies the lifetime of a service when registered in a dependency injection container. + /// + /// + /// Lifetime defines how the service is instantiated and shared within the application: + /// - Singleton: A single instance is created and shared across the entire application. + /// - Scoped: A single instance is created and shared within the same scope, such as a single HTTP request in web applications. + /// - Transient: A new instance is created each time the service is requested. + /// + public Lifetime Lifetime { get; } = lifetime; + + /// + /// Specifies the interface or base type that the service should be registered against + /// within the dependency injection container. + /// + /// + /// This property allows for explicitly defining the type the service is associated with, + /// enabling more control over how the service is resolved at runtime. If not specified, + /// the default behavior may vary based on the DI container implementation. + /// + public Type? As { get; set; } + + /// + /// Determines whether the concrete type of the service should be registered as itself + /// in addition to any specified service interface. + /// + /// + /// If set to true, the concrete type will be registered in the dependency injection + /// container so that it can be resolved directly. This is useful when the service + /// needs to be resolved by its own type rather than an interface. + /// + public bool AsSelf { get; set; } = false; +} diff --git a/src/source-generators/AStar.Dev.Annotations/StrongIdAttribute.cs b/src/source-generators/AStar.Dev.Annotations/StrongIdAttribute.cs index 3b62b8b..be72c52 100644 --- a/src/source-generators/AStar.Dev.Annotations/StrongIdAttribute.cs +++ b/src/source-generators/AStar.Dev.Annotations/StrongIdAttribute.cs @@ -1,40 +1,11 @@ -using System; - namespace AStar.Dev.Annotations; -/// -/// Represents an attribute that can be used to mark a struct as a strong identifier. -/// -/// -/// This attribute is used to annotate structures with a specific identifier type, typically -/// to signify that the struct is a strongly typed id. The default identifier type is a GUID. -/// -/// -/// The type of the identifier associated with the struct. By default, it is "System.Guid". -/// -/// -/// Indicates whether the GUID used as the identifier for the struct conforms to the version 7 GUID format. -/// [AttributeUsage(AttributeTargets.Struct)] -public sealed class StrongIdAttribute(string idType = "System.Guid", bool guidV7 = true) : Attribute +public sealed class StrongIdAttribute(string underlying = "System.Guid") : Attribute { /// - /// Gets the type of the identifier associated with a struct marked by the . - /// - /// - /// This property returns the string name of the identifier type. By default, it is "System.Guid". - /// The identifier type specifies the type used as an identifier for the struct. - /// - public string IdType { get; } = idType; - - /// - /// Indicates whether the GUID used as the identifier for a struct marked by the - /// conforms to the version 7 GUID format. + /// Underlying CLR type. Defaults to System.Guid. + /// Examples: "System.Guid", "int", "long", "string". /// - /// - /// Version 7 GUIDs are designed to facilitate time-based sorting and are a newer standard - /// compared to the traditional random GUIDs (version 4). When this property is set to true, - /// the identifier adopts the version 7 format. - /// - public bool GuidV7 { get; } = guidV7; -} + public string Underlying { get; } = underlying; +} \ No newline at end of file diff --git a/src/source-generators/AStar.Dev.Source.Generators/AStar.Dev.Source.Generators.csproj b/src/source-generators/AStar.Dev.Source.Generators/AStar.Dev.Source.Generators.csproj new file mode 100644 index 0000000..1be6321 --- /dev/null +++ b/src/source-generators/AStar.Dev.Source.Generators/AStar.Dev.Source.Generators.csproj @@ -0,0 +1,22 @@ + + + + netstandard2.0 + latest + enable + true + true + true + false + $(NoWarn);NU5128 + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + \ No newline at end of file diff --git a/src/source-generators/AStar.Dev.Source.Generators/Constants.cs b/src/source-generators/AStar.Dev.Source.Generators/Constants.cs new file mode 100644 index 0000000..ee1b93a --- /dev/null +++ b/src/source-generators/AStar.Dev.Source.Generators/Constants.cs @@ -0,0 +1,38 @@ +namespace AStar.Dev.Source.Generators; + +/// +/// Provides a centralized location for constant values used in the AStar.Dev.Source.Generators library. +/// +public static class Constants +{ + /// + /// Represents a predefined string indicating the namespace of the source generators within the AStar.Dev.Source.Generators library. + /// + public const string Namespace = "AStar.Dev.Source.Generators"; + + /// + /// Represents a predefined string containing the header comment added to the top of generated source files, + /// indicating that the file is auto-generated by the AStar.Dev.Source.Generators library and should not be manually edited. + /// + public const string SourceGeneratorHeader = $""" + //---------------------- + // + // Generated by {Namespace} + // Do not edit this file manually. Any changes will be overwritten at the next build. + // + //---------------------- + """; + + public const string GeneratedSourceXmlClassHeader = """ + /// + /// Generated class header to quiet the compiler when XML Documentation is generated. + /// This class contains the registration for services tagged with the RegisterService attribute. + /// + """; + + public const string GeneratedSourceXmlHeader = """ + /// + /// Generated method summary to quiet the compiler when XML Documentation is generated. + /// + """; +} diff --git a/src/source-generators/AStar.Dev.Source.Generators/OptionBindingGenerator.cs b/src/source-generators/AStar.Dev.Source.Generators/OptionBindingGenerator.cs new file mode 100644 index 0000000..d4c874f --- /dev/null +++ b/src/source-generators/AStar.Dev.Source.Generators/OptionBindingGenerator.cs @@ -0,0 +1,313 @@ +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; +using System.Text; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp.Syntax; + +namespace AStar.Dev.Source.Generators; + +[Generator] +public sealed class OptionsBindingGenerator : IIncrementalGenerator +{ + private const string AttrFqn = "AStar.Dev.Annotations.ConfigSectionAttribute"; + + public void Initialize(IncrementalGeneratorInitializationContext ctx) + { + // A) Discover [ConfigSection] classes (syntax-only gate → semantic match) + IncrementalValuesProvider optionsTypes = ctx.SyntaxProvider.ForAttributeWithMetadataName( + AttrFqn, + static (node, _) => + node is ClassDeclarationSyntax c && + c.Modifiers.Any(m => m.Text == "partial") && + c.AttributeLists.Count > 0, + static (syntaxCtx, _) => + { + var type = (INamedTypeSymbol)syntaxCtx.TargetSymbol; + + // Skip non-public/abstract/generic types + if (type.DeclaredAccessibility != Accessibility.Public || + type.IsAbstract || type.Arity != 0) + return null; + + AttributeData attr = syntaxCtx.Attributes[0]; + + // [ConfigSection("Payments")] + var section = "Options"; + if (attr.ConstructorArguments.Length == 1 && + attr.ConstructorArguments[0].Value is string s && !string.IsNullOrWhiteSpace(s)) + section = s; + + // Collect simple property info so we can emit defaults + PropModel[] props = type.GetMembers() + .OfType() + .Where(p => p.DeclaredAccessibility == Accessibility.Public && !p.IsStatic) + .Select(p => + { + SimpleKind sk = GetSimpleKind(p.Type); + return new PropModel(p.Name, sk); + }) + .ToArray(); + + var ns = type.ContainingNamespace.IsGlobalNamespace + ? null + : type.ContainingNamespace.ToDisplayString(); + + return new OptionsModel( + ns, + type.Name, + section, + props + ); + }) + .Where(static m => m is not null); + + // B) Read AdditionalFiles (all *.options.schema) → collect all entries + IncrementalValueProvider> schemaFiles = ctx.AdditionalTextsProvider + .Where(static f => f.Path.EndsWith("options.schema", StringComparison.OrdinalIgnoreCase)) + .Select(static (text, ct) => ParseSchema(text)) + .Collect(); + + // C) Pair each options type with the current schema set + IncrementalValuesProvider<(OptionsModel? Left, ImmutableArray Right)> paired = optionsTypes.Combine(schemaFiles); + + // D) Emit one file per options type (incremental per-type) + ctx.RegisterSourceOutput(paired, static (spc, pair) => + { + (OptionsModel? model, ImmutableArray allSchemas) = pair; + Dictionary> dict = BuildSchemaDictionary(allSchemas); // Section -> (PropName -> Entry) + var code = Generate(model!, dict); + spc.AddSource($"{model!.TypeName}.OptionsBinding.g.cs", code); + }); + } + + // ---- helpers ------------------------------------------------------------- + + private static string Generate(OptionsModel m, Dictionary> schema) + { + var ns = m.Namespace is null ? null : $"namespace {m.Namespace};"; + var sb = new StringBuilder(); + if (ns is not null) + sb.AppendLine(Constants.SourceGeneratorHeader).AppendLine(ns).AppendLine(); + else sb.AppendLine(Constants.SourceGeneratorHeader); + + // Look up defaults/required for this section + schema.TryGetValue(m.SectionName, out Dictionary? sectionMap); + sectionMap ??= new Dictionary(StringComparer.Ordinal); + + sb.AppendLine("using System;"); + sb.AppendLine("using System.Collections.Generic;"); + sb.AppendLine("using System.ComponentModel.DataAnnotations;"); + sb.AppendLine("using Microsoft.Extensions.Configuration;"); + sb.AppendLine("using Microsoft.Extensions.DependencyInjection;"); + sb.AppendLine("using Microsoft.Extensions.Options;"); + sb.AppendLine(); + sb.AppendLine($"public static class {m.TypeName}OptionsRegistration"); + sb.AppendLine("{"); + sb.AppendLine( + $" public static IServiceCollection Add{m.TypeName}(this IServiceCollection s, IConfiguration cfg)"); + sb.AppendLine(" {"); + sb.AppendLine($" var section = cfg.GetSection(\"{Escape(m.SectionName)}\");"); + sb.AppendLine($" var opts = section.Get<{m.TypeName}>() ?? new {m.TypeName}();"); + + // Apply defaults from schema (only simple types) + foreach (PropModel p in m.Properties) + { + if (sectionMap.TryGetValue(p.Name, out SchemaEntry? entry) && entry.DefaultValue is string dv) + { + var assign = DefaultAssignment(p, dv); + if (assign is not null) sb.AppendLine(assign); + } + } + + // Validate with DataAnnotations + sb.AppendLine(" var results = new List();"); + sb.AppendLine( + " var ok = Validator.TryValidateObject(opts, new ValidationContext(opts), results, validateAllProperties: true);"); + +// Add extra 'required' checks from schema (lightweight) + foreach (PropModel p in m.Properties) + { + if (sectionMap.TryGetValue(p.Name, out SchemaEntry? entry) && entry.IsRequired) + { + switch (p.Kind) + { + case SimpleKind.String: + sb.AppendLine( + " if (string.IsNullOrWhiteSpace(opts." + p.Name + + ")) { ok = false; results.Add(new ValidationResult(\"" + + p.Name + " is required\", new[]{\"" + p.Name + "\"})); }"); + break; + + case SimpleKind.Int32: + sb.AppendLine( + " if (opts." + p.Name + + " == default(int)) { ok = false; results.Add(new ValidationResult(\"" + + p.Name + " must be non-zero\", new[]{\"" + p.Name + "\"})); }"); + break; + + case SimpleKind.Boolean: + sb.AppendLine( + " /* schema-required boolean: ensure it's explicitly set if that matters to you */"); + break; + } + } + } + + sb.AppendLine(" if (!ok)"); + sb.AppendLine( + $" throw new OptionsValidationException(\"{m.TypeName}\", typeof({m.TypeName}), results.ConvertAll(r => r.ErrorMessage ?? \"Invalid\"));"); + + // Register binding with DI so IOptions works elsewhere + sb.AppendLine($" s.Configure<{m.TypeName}>(section);"); + sb.AppendLine(" return s;"); + sb.AppendLine(" }"); + sb.AppendLine("}"); + + return sb.ToString(); + } + + private static string? DefaultAssignment(PropModel p, string defaultLiteral) + { + // Our schema format uses simple literals: strings, ints, bools + switch (p.Kind) + { + case SimpleKind.String: + return + $" if (string.IsNullOrWhiteSpace(opts.{p.Name})) opts.{p.Name} = {ToCSharpString(defaultLiteral)};"; + case SimpleKind.Int32: + if (int.TryParse(defaultLiteral, out _)) + return $" if (opts.{p.Name} == default(int)) opts.{p.Name} = {defaultLiteral};"; + return null; + case SimpleKind.Boolean: + if (bool.TryParse(defaultLiteral, out _)) + { + return + $" /* boolean default from schema */ if (opts.{p.Name} == default(bool)) opts.{p.Name} = {defaultLiteral.ToLowerInvariant()};"; + } + + return null; + default: + return null; + } + } + + private static string ToCSharpString(string s) + { + return "\"" + s.Replace("\\", "\\\\").Replace("\"", "\\\"") + "\""; + } + + private static string Escape(string s) + { + return s.Replace("\\", "\\\\").Replace("\"", "\\\""); + } + + private static Dictionary> BuildSchemaDictionary( + ImmutableArray files) + { + var map = new Dictionary>(StringComparer.Ordinal); + foreach (SchemaFile? f in files) + foreach (SchemaEntry? e in f.Entries) + { + if (!map.TryGetValue(e.Section, out Dictionary? props)) + { + props = new Dictionary(StringComparer.Ordinal); + map[e.Section] = props; + } + + props[e.Property] = e; // last write wins + } + + return map; + } + + private static SchemaFile ParseSchema(AdditionalText text) + { + // Very simple "ini-like" schema format per line: + // Section:Property=default:VALUE + // Section:Property=required + // e.g. Payments:ApiKey=required + // Payments:TimeoutSeconds=default:30 + var entries = new List(); + var content = text.GetText()?.ToString() ?? ""; + var lines = content.Split(["\r\n", "\n"], StringSplitOptions.None); + foreach (var raw in lines) + { + var line = raw.Trim(); + if (line.Length == 0 || line.StartsWith("#", StringComparison.Ordinal)) continue; + var parts = line.Split(['='], 2); + if (parts.Length != 2) continue; + + var left = parts[0].Trim(); // Section:Property + var right = parts[1].Trim(); // required | default:VALUE + + var sp = left.Split([':'], 2); + if (sp.Length != 2) continue; + + var section = sp[0].Trim(); + var prop = sp[1].Trim(); + var isReq = false; + string? def = null; + + if (right.Equals("required", StringComparison.OrdinalIgnoreCase)) + isReq = true; + else if (right.StartsWith("default:", StringComparison.OrdinalIgnoreCase)) + def = right.Substring("default:".Length).Trim(); + + if (!string.IsNullOrEmpty(section) && !string.IsNullOrEmpty(prop)) + entries.Add(new SchemaEntry(section, prop, isReq, def)); + } + + return new SchemaFile(text.Path, entries); + } + + // ---- small models ------------------------------------------------------- + + private static SimpleKind GetSimpleKind(ITypeSymbol t) + { + switch (t) + { + case { SpecialType: SpecialType.System_String }: return SimpleKind.String; + case { SpecialType: SpecialType.System_Int32 }: return SimpleKind.Int32; + case { SpecialType: SpecialType.System_Boolean }: return SimpleKind.Boolean; + default: return SimpleKind.Other; + } + } + + private enum SimpleKind + { + String, + Int32, + Boolean, + Other + } + + private sealed class PropModel(string name, SimpleKind kind) + { + public string Name { get; } = name; + public SimpleKind Kind { get; } = kind; + } + + private sealed class OptionsModel(string? @namespace, string typeName, string sectionName, PropModel[] properties) + { + public string? Namespace { get; } = @namespace; + public string TypeName { get; } = typeName; + public string SectionName { get; } = sectionName; + public PropModel[] Properties { get; } = properties; + } + + private sealed class SchemaFile(string path, List entries) + { + public string Path { get; } = path; + public List Entries { get; } = entries; + } + + private sealed class SchemaEntry(string section, string property, bool isRequired, string? defaultValue) + { + public string Section { get; } = section; + public string Property { get; } = property; + public bool IsRequired { get; } = isRequired; + public string? DefaultValue { get; } = defaultValue; + } +} diff --git a/src/source-generators/AStar.Dev.Source.Generators/Properties/launchSettings.json b/src/source-generators/AStar.Dev.Source.Generators/Properties/launchSettings.json new file mode 100644 index 0000000..8086423 --- /dev/null +++ b/src/source-generators/AStar.Dev.Source.Generators/Properties/launchSettings.json @@ -0,0 +1,9 @@ +{ + "$schema": "http://json.schemastore.org/launchsettings.json", + "profiles": { + "Demo.Generator": { + "commandName": "DebugRoslynComponent", + "targetProject": "..\\Demo.Domain\\Demo.Domain.csproj" + } + } +} diff --git a/src/source-generators/AStar.Dev.Source.Generators/ServiceCollectionExtensionsGenerator.cs b/src/source-generators/AStar.Dev.Source.Generators/ServiceCollectionExtensionsGenerator.cs new file mode 100644 index 0000000..b4506ec --- /dev/null +++ b/src/source-generators/AStar.Dev.Source.Generators/ServiceCollectionExtensionsGenerator.cs @@ -0,0 +1,205 @@ +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; +using System.Text; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; +using Microsoft.CodeAnalysis.CSharp.Syntax; + +namespace AStar.Dev.Source.Generators; + +[Generator] +public sealed class ServiceCollectionExtensionsGenerator : IIncrementalGenerator +{ + private const string AttributeFqn = $"RegisterService"; + private const string AttributeFqnSecondaryNaming = $"RegisterServiceAttribute"; + + public void Initialize(IncrementalGeneratorInitializationContext incrementalContext) + { + IncrementalValuesProvider classSyntax = SelectClassesWithAttributes(incrementalContext); + + IncrementalValuesProvider<(INamedTypeSymbol namedTypeSymbol, AttributeData? attributeData)> services = FilterClassesToRegisterServiceAnnotated(classSyntax); + + IncrementalValuesProvider serviceModels = CreateServiceRegistrationsModel(services); + + // 4) Combine with Compilation and collect to one batch + IncrementalValueProvider<(Compilation Left, ImmutableArray Right)> combined = incrementalContext.CompilationProvider.Combine(serviceModels.Collect()); + + incrementalContext.RegisterSourceOutput(combined, static (spc, pair) => + { + (_, ImmutableArray batch) = pair; + var code = Generate(batch); + spc.AddSource("ServiceCollectionExtensions.g.cs", code); + }); + } + + private static IncrementalValuesProvider CreateServiceRegistrationsModel(IncrementalValuesProvider<(INamedTypeSymbol namedTypeSymbol, AttributeData? attributeData)> services) => + services.Select(static (tuple, _) => + { + (INamedTypeSymbol? implementation, AttributeData? attribute) = tuple; + + Lifetime lifetime = Lifetime.Scoped; + if (attribute!.ConstructorArguments.Length == 1 && attribute.ConstructorArguments[0].Value is int requestedLifetime) lifetime = (Lifetime)requestedLifetime; + + INamedTypeSymbol? asType = CheckForNamedTypeSymbol(attribute); + + var asSelf = CheckWhetherToRegisterAsSelf(attribute); + + if (ConstructorTypesToIgnore(implementation)) + return null; + + INamedTypeSymbol? inferred = CheckWhetherToRegisterAs(asType, implementation); + + INamedTypeSymbol? service = asType ?? inferred; + + return new ServiceModel( + lifetime, + implementation.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat), + service?.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat), + asSelf + ); + }).Where(static serviceModel => serviceModel is not null)!; + + private static INamedTypeSymbol? CheckWhetherToRegisterAs(INamedTypeSymbol? asType, INamedTypeSymbol implementation) + { + INamedTypeSymbol? inferred = null; + if(asType is not null) return inferred; + + INamedTypeSymbol[] candidates = implementation.AllInterfaces + .Where(i => i.DeclaredAccessibility == Accessibility.Public + && i is { TypeKind: TypeKind.Interface, Arity: 0 } + && i.ToDisplayString() != "System.IDisposable") + .ToArray(); + if (candidates.Length == 1) inferred = candidates[0]; + + return inferred; + } + + private static bool ConstructorTypesToIgnore(INamedTypeSymbol impl) => impl!.IsAbstract || impl.Arity != 0 || impl.DeclaredAccessibility != Accessibility.Public; + + private static bool CheckWhetherToRegisterAsSelf(AttributeData attr) + { + var asSelf = false; + foreach (KeyValuePair na in attr.NamedArguments) + { + if(na is not { Key: "AsSelf", Value.Value: bool b }) continue; + asSelf = b; + break; + } + + return asSelf; + } + + private static INamedTypeSymbol? CheckForNamedTypeSymbol(AttributeData attributeData) + { + INamedTypeSymbol? asType = null; + foreach (KeyValuePair namedArgument in attributeData.NamedArguments) + { + if(namedArgument is not { Key: "As", Value.Value: INamedTypeSymbol ts }) continue; + asType = ts; + break; + } + + return asType; + } + + private static IncrementalValuesProvider<(INamedTypeSymbol namedTypeSymbol, AttributeData? attributeData)> FilterClassesToRegisterServiceAnnotated(IncrementalValuesProvider classSyntax) + => classSyntax + .Select(static (sym, _) => ValueTuple(sym)) + .Where(static t => t.attr is not null); + + private static (INamedTypeSymbol sym, AttributeData? attr) ValueTuple(INamedTypeSymbol? sym) + { + ImmutableArray attributeDatas = sym!.GetAttributes(); + AttributeData? attr = attributeDatas + .FirstOrDefault(a => + a.AttributeClass?.ToDisplayString() == AttributeFqn || + a.AttributeClass?.ToDisplayString() == AttributeFqnSecondaryNaming); + return (sym, attr); + } + + private static IncrementalValuesProvider SelectClassesWithAttributes(IncrementalGeneratorInitializationContext ctx) => + ctx.SyntaxProvider.CreateSyntaxProvider( + static (node, _) => + node is ClassDeclarationSyntax { AttributeLists.Count: > 0, TypeParameterList: null }, + static (syntaxCtx, _) => + { + var classDecl = (ClassDeclarationSyntax)syntaxCtx.Node; + INamedTypeSymbol? symbol = syntaxCtx.SemanticModel.GetDeclaredSymbol(classDecl); + return symbol; + }) + .Where(static s => s is not null)!; + + private static string Generate(IReadOnlyList serviceModels) + { + var seen = new HashSet(StringComparer.Ordinal); + var sb = new StringBuilder(); + sb.AppendLine(Constants.SourceGeneratorHeader); + sb.AppendLine("using Microsoft.Extensions.DependencyInjection;"); + sb.AppendLine(); + sb.AppendLine(Constants.GeneratedSourceXmlClassHeader); + sb.AppendLine("public static class ServiceCollectionExtensions"); + sb.AppendLine("{"); + sb.AppendLine($" {Constants.GeneratedSourceXmlHeader}"); + sb.AppendLine(" public static IServiceCollection AddGeneratedServices(this IServiceCollection services)"); + sb.AppendLine(" {"); + + foreach (ServiceModel? serviceModel in serviceModels) + { + var method = serviceModel.Lifetime switch + { + Lifetime.Singleton => "AddSingleton", + Lifetime.Scoped => "AddScoped", + Lifetime.Transient => "AddTransient", + _ => "AddScoped" + }; + + // Register against interface if present; else self + if (!string.IsNullOrEmpty(serviceModel.ServiceFqn)) + { + var line = $" services.{method}<{serviceModel.ServiceFqn}, {serviceModel.ImplFqn}>();"; + if (seen.Add(line)) sb.AppendLine(line); + if(!serviceModel.AlsoAsSelf) continue; + + var self = $" services.{method}<{serviceModel.ImplFqn}>();"; + if (seen.Add(self)) sb.AppendLine(self); + } + else + { + var self = $" services.{method}<{serviceModel.ImplFqn}>();"; + if (seen.Add(self)) sb.AppendLine(self); + } + } + + sb.AppendLine(" return services;"); + sb.AppendLine(" }"); + sb.AppendLine("}"); + + return sb.ToString(); + } + + private sealed class ServiceModel + { + public ServiceModel(Lifetime lifetime, string implFqn, string? serviceFqn, bool alsoAsSelf) + { + this.Lifetime = lifetime; + this.ImplFqn = implFqn; + this.ServiceFqn = serviceFqn; + this.AlsoAsSelf = alsoAsSelf; + } + + public Lifetime Lifetime { get; } + public string ImplFqn { get; } + public string? ServiceFqn { get; } + public bool AlsoAsSelf { get; } + } + + // Mirror the annotations enum here so we can parse constructor args without referencing the annotations assembly at runtime. + private enum Lifetime + { + Singleton = 0, + Scoped = 1, + Transient = 2 + } +} diff --git a/src/source-generators/AStar.Dev.Source.Generators/SourceGeneratorWithAttributes.cs b/src/source-generators/AStar.Dev.Source.Generators/SourceGeneratorWithAttributes.cs new file mode 100644 index 0000000..314e2d0 --- /dev/null +++ b/src/source-generators/AStar.Dev.Source.Generators/SourceGeneratorWithAttributes.cs @@ -0,0 +1,144 @@ +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; +using System.Text; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; +using Microsoft.CodeAnalysis.CSharp.Syntax; +using Microsoft.CodeAnalysis.Text; + +namespace AStar.Dev.Source.Generators; + +/// +/// A sample source generator that creates a custom report based on class properties. The target class should be annotated with the 'Generators.ReportAttribute' attribute. +/// When using the source code as a baseline, an incremental source generator is preferable because it reduces the performance overhead. +/// +[Generator] +public class SourceGeneratorWithAttributes : IIncrementalGenerator +{ + private const string Namespace = "AStar.Dev.Source.Generators"; + private const string AttributeName = "ReportAttribute"; + + private const string AttributeSourceCode = $@"// + +namespace {Namespace} +{{ + /// + /// + [System.AttributeUsage(System.AttributeTargets.Class)] + public class {AttributeName} : System.Attribute + {{ + }} +}}"; + + public void Initialize(IncrementalGeneratorInitializationContext incrementalContext) + { + // Add the marker attribute to the compilation. + incrementalContext.RegisterPostInitializationOutput(ctx => ctx.AddSource( + "ReportAttribute.g.cs", + SourceText.From(AttributeSourceCode, Encoding.UTF8))); + + IncrementalValuesProvider classSyntax = SelectClassesWithAttributes(incrementalContext); + // Filter classes annotated with the [Report] attribute. Only filtered Syntax Nodes can trigger code generation. + IncrementalValuesProvider provider = incrementalContext.SyntaxProvider + .CreateSyntaxProvider( + (s, _) => s is ClassDeclarationSyntax, + (ctx, _) => GetClassDeclarationForSourceGen(ctx)) + .Where(t => t.reportAttributeFound) + .Select((t, _) => t.Item1); + + // Generate the source code. + incrementalContext.RegisterSourceOutput(incrementalContext.CompilationProvider.Combine(provider.Collect()), + ((ctx, t) => GenerateCode(ctx, t.Left, t.Right))); + } + private static IncrementalValuesProvider SelectClassesWithAttributes(IncrementalGeneratorInitializationContext ctx) => + ctx.SyntaxProvider.CreateSyntaxProvider( + static (node, _) => + node is ClassDeclarationSyntax { AttributeLists.Count: > 0, TypeParameterList: null }, + static (syntaxCtx, _) => + { + var classDecl = (ClassDeclarationSyntax)syntaxCtx.Node; + INamedTypeSymbol? symbol = syntaxCtx.SemanticModel.GetDeclaredSymbol(classDecl); + return symbol; + }) + .Where(static s => s is not null)!; + /// + /// Checks whether the Node is annotated with the [Report] attribute and maps syntax context to the specific node type (ClassDeclarationSyntax). + /// + /// Syntax context, based on CreateSyntaxProvider predicate + /// The specific cast and whether the attribute was found. + private static (ClassDeclarationSyntax, bool reportAttributeFound) GetClassDeclarationForSourceGen( + GeneratorSyntaxContext context) + { + var classDeclarationSyntax = (ClassDeclarationSyntax)context.Node; + + // Go through all attributes of the class. + foreach (AttributeListSyntax attributeListSyntax in classDeclarationSyntax.AttributeLists) + foreach (AttributeSyntax attributeSyntax in attributeListSyntax.Attributes) + { + if (context.SemanticModel.GetSymbolInfo(attributeSyntax).Symbol is not IMethodSymbol attributeSymbol) + continue; // if we can't get the symbol, ignore it + + var attributeName = attributeSymbol.ContainingType.ToDisplayString(); + + // Check the full name of the [Report] attribute. + if (attributeName == $"{Namespace}.{AttributeName}") + return (classDeclarationSyntax, true); + } + + return (classDeclarationSyntax, false); + } + + /// + /// Generate code action. + /// It will be executed on specific nodes (ClassDeclarationSyntax annotated with the [Report] attribute) changed by the user. + /// + /// Source generation context used to add source files. + /// Compilation used to provide access to the Semantic Model. + /// Nodes annotated with the [Report] attribute that trigger the generate action. + private void GenerateCode(SourceProductionContext context, Compilation compilation, + ImmutableArray classDeclarations) + { + // Go through all filtered class declarations. + foreach (ClassDeclarationSyntax? classDeclarationSyntax in classDeclarations) + { + // We need to get semantic model of the class to retrieve metadata. + SemanticModel semanticModel = compilation.GetSemanticModel(classDeclarationSyntax.SyntaxTree); + + // Symbols allow us to get the compile-time information. + if (semanticModel.GetDeclaredSymbol(classDeclarationSyntax) is not INamedTypeSymbol classSymbol) + continue; + + var namespaceName = classSymbol.ContainingNamespace.ToDisplayString(); + + // 'Identifier' means the token of the node. Get class name from the syntax node. + var className = classDeclarationSyntax.Identifier.Text; + + // Go through all class members with a particular type (property) to generate method lines. + IEnumerable methodBody = classSymbol.GetMembers() + .OfType() + .Select(p => + $@" yield return $""{p.Name}:{{this.{p.Name}}}"";"); // e.g. yield return $"Id:{this.Id}"; + + // Build up the source code + var code = $@"// + +using System; +using System.Collections.Generic; + +namespace {namespaceName}; + +partial class {className} +{{ + public IEnumerable Report() + {{ +{string.Join("\n", methodBody)} + }} +}} +"; + + // Add the source code to the compilation. + context.AddSource($"{className}.g.cs", SourceText.From(code, Encoding.UTF8)); + } + } +} diff --git a/src/source-generators/AStar.Dev.SourceGenerators/StrongIdGenerator.cs b/src/source-generators/AStar.Dev.Source.Generators/StrongIdGenerator.cs similarity index 91% rename from src/source-generators/AStar.Dev.SourceGenerators/StrongIdGenerator.cs rename to src/source-generators/AStar.Dev.Source.Generators/StrongIdGenerator.cs index b78173a..b00ffa8 100644 --- a/src/source-generators/AStar.Dev.SourceGenerators/StrongIdGenerator.cs +++ b/src/source-generators/AStar.Dev.Source.Generators/StrongIdGenerator.cs @@ -1,17 +1,17 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; - -namespace AStar.Dev.SourceGenerators; + +namespace AStar.Dev.Source.Generators; [Generator] public sealed class StrongIdGenerator : IIncrementalGenerator { - private const string AttrFqn = "Annotations.StrongIdAttribute"; + private const string AttrFqn = "AStar.Dev.Annotations.StrongIdAttribute"; public void Initialize(IncrementalGeneratorInitializationContext ctx) { @@ -41,11 +41,11 @@ public void Initialize(IncrementalGeneratorInitializationContext ctx) ctx.RegisterSourceOutput(models, static (spc, batch) => { - foreach (StrongIdModel? model in batch) spc.AddSource($"{model.Name}.StrongId.g.cs", Emit(model)); + foreach (StrongIdModel? model in batch) spc.AddSource($"{model.Name}.StrongId.g.cs", Generate(model)); }); } - private static string Emit(StrongIdModel m) + private static string Generate(StrongIdModel m) { var ns = m.Namespace is null ? null : $"namespace {m.Namespace};"; var acc = m.Accessibility.ToString().ToLowerInvariant(); @@ -63,7 +63,7 @@ private static string Emit(StrongIdModel m) : $"System.Collections.Generic.EqualityComparer<{t}>.Default.GetHashCode(_value)"; var sb = new StringBuilder(); - sb.AppendLine("// "); + sb.AppendLine(Constants.SourceGeneratorHeader); sb.AppendLine("#nullable enable"); if (ns is not null) sb.AppendLine(ns).AppendLine(); @@ -130,6 +130,9 @@ public bool Equals(StrongIdModel? x, StrongIdModel? y) && x.Accessibility == y.Accessibility; } - public int GetHashCode(StrongIdModel obj) => (obj.Namespace, obj.Name, obj.UnderlyingTypeDisplay, obj.Accessibility).GetHashCode(); + public int GetHashCode(StrongIdModel obj) + { + return (obj.Namespace, obj.Name, obj.UnderlyingTypeDisplay, obj.Accessibility).GetHashCode(); + } } } diff --git a/src/source-generators/AStar.Dev.SourceGenerators.TestApp/AStar.Dev.SourceGenerators.TestApp.csproj b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/AStar.Dev.SourceGenerators.TestApp.csproj new file mode 100644 index 0000000..3467064 --- /dev/null +++ b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/AStar.Dev.SourceGenerators.TestApp.csproj @@ -0,0 +1,39 @@ + + + Exe + net9.0 + enable + enable + true + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + Always + + + \ No newline at end of file diff --git a/src/source-generators/AStar.Dev.SourceGenerators.TestApp/Order.cs b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/Order.cs new file mode 100644 index 0000000..2f29b5c --- /dev/null +++ b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/Order.cs @@ -0,0 +1,14 @@ +using AStar.Dev.Annotations; + +namespace AStar.Dev.SourceGenerators.TestApp; + +[StrongId] +public readonly partial struct OrderId; + +public sealed class Order +{ + public OrderId Id { get; set; } + public string Status { get; set; } = ""; + public int Quantity { get; set; } + public string? Note { get; set; } +} diff --git a/src/source-generators/AStar.Dev.SourceGenerators.TestApp/OrderDTO.cs b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/OrderDTO.cs new file mode 100644 index 0000000..f0745e4 --- /dev/null +++ b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/OrderDTO.cs @@ -0,0 +1,18 @@ +using AStar.Dev.Annotations; + +namespace AStar.Dev.SourceGenerators.TestApp; + +public sealed class OrderDto +{ + public OrderId Id { get; set; } // same type → direct assign + public string Status { get; set; } = ""; + public int Quantity { get; set; } + public string? Note { get; set; } // no source → generator will DIAGNOSE +} + +public partial class SampleEntity +{ + public int Id { get; } = 42; + public string? Name { get; } = "Sample"; + public string? Name2 { get; } = "Sample"; +} diff --git a/src/source-generators/AStar.Dev.SourceGenerators.TestApp/PaymentOptions.cs b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/PaymentOptions.cs new file mode 100644 index 0000000..f97e606 --- /dev/null +++ b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/PaymentOptions.cs @@ -0,0 +1,12 @@ +using System.ComponentModel.DataAnnotations; +using AStar.Dev.Annotations; + +namespace AStar.Dev.SourceGenerators.TestApp; + +[ConfigSection("Payments")] +public sealed class PaymentsOptions +{ + public string ApiKey { get; set; } = default!; + + [Range(1, 120)] public int TimeoutSeconds { get; set; } +} diff --git a/src/source-generators/AStar.Dev.SourceGenerators.TestApp/Program.cs b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/Program.cs new file mode 100644 index 0000000..5b8af49 --- /dev/null +++ b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/Program.cs @@ -0,0 +1,4 @@ +using AStar.Dev.SourceGenerators.TestApp; + +var order = new Order { Id = OrderId.New(), Status = "Open", Quantity = 3 }; +Console.WriteLine(order); diff --git a/src/source-generators/AStar.Dev.SourceGenerators.TestApp/Services/ExampleService.cs b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/Services/ExampleService.cs new file mode 100644 index 0000000..d042190 --- /dev/null +++ b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/Services/ExampleService.cs @@ -0,0 +1,15 @@ +using AStar.Dev.Annotations; + +namespace AStar.Dev.SourceGenerators.TestApp.Services; + +[RegisterService(Lifetime.Scoped, AsSelf = false)] +public class ExampleService +{ + /// + /// Dummy service method + /// + /// +#pragma warning disable CA1822 + public int DoSomething() => 42; +#pragma warning restore CA1822 +} diff --git a/src/source-generators/AStar.Dev.SourceGenerators.TestApp/appsettings.json b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/appsettings.json new file mode 100644 index 0000000..9c1087d --- /dev/null +++ b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/appsettings.json @@ -0,0 +1,6 @@ +{ + "Payments": { + "ApiKey": "dev-123", + "TimeoutSeconds": 15 + } +} diff --git a/src/source-generators/AStar.Dev.SourceGenerators.TestApp/options.schema b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/options.schema new file mode 100644 index 0000000..a215551 --- /dev/null +++ b/src/source-generators/AStar.Dev.SourceGenerators.TestApp/options.schema @@ -0,0 +1,3 @@ +# Section:Property=required | default:VALUE +Payments:ApiKey=required +Payments:TimeoutSeconds=default:30 diff --git a/src/source-generators/AStar.Dev.SourceGenerators/AStar.Dev.SourceGenerators.csproj b/src/source-generators/AStar.Dev.SourceGenerators/AStar.Dev.SourceGenerators.csproj deleted file mode 100644 index 56651ec..0000000 --- a/src/source-generators/AStar.Dev.SourceGenerators/AStar.Dev.SourceGenerators.csproj +++ /dev/null @@ -1,18 +0,0 @@ - - - - netstandard2.0 - preview - enable - true - false - true - false - - - - - - - - diff --git a/src/uis/AStar.Dev.Web/AStar.Dev.Web.csproj b/src/uis/AStar.Dev.Web/AStar.Dev.Web.csproj index b54b3b1..2ee10d5 100644 --- a/src/uis/AStar.Dev.Web/AStar.Dev.Web.csproj +++ b/src/uis/AStar.Dev.Web/AStar.Dev.Web.csproj @@ -5,6 +5,8 @@ true d7e61e34-084f-4c2b-9be8-5925170dc3b7 astar.ico + true + Generated\$(TargetFramework) @@ -36,6 +38,7 @@ + @@ -43,4 +46,9 @@ + + + + + diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.Source.Generators/AStar.Dev.Source.Generators.ServiceCollectionExtensionsGenerator/ServiceCollectionExtensions.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.Source.Generators/AStar.Dev.Source.Generators.ServiceCollectionExtensionsGenerator/ServiceCollectionExtensions.g.cs new file mode 100644 index 0000000..dd6a9ce --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.Source.Generators/AStar.Dev.Source.Generators.ServiceCollectionExtensionsGenerator/ServiceCollectionExtensions.g.cs @@ -0,0 +1,22 @@ +//---------------------- +// +// Generated by AStar.Dev.Source.Generators +// Do not edit this file manually. Any changes will be overwritten at the next build. +// +//---------------------- +using Microsoft.Extensions.DependencyInjection; + +/// +/// Generated class header to quiet the compiler when XML Documentation is generated. +/// This class contains the registration for services tagged with the RegisterService attribute. +/// +public static class ServiceCollectionExtensions +{ + /// + /// Generated method summary to quiet the compiler when XML Documentation is generated. + /// + public static IServiceCollection AddGeneratedServices(this IServiceCollection services) + { + return services; + } +} diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.Source.Generators/AStar.Dev.Source.Generators.SourceGeneratorWithAttributes/ReportAttribute.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.Source.Generators/AStar.Dev.Source.Generators.SourceGeneratorWithAttributes/ReportAttribute.g.cs new file mode 100644 index 0000000..232b708 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.Source.Generators/AStar.Dev.Source.Generators.SourceGeneratorWithAttributes/ReportAttribute.g.cs @@ -0,0 +1,11 @@ +// + +namespace AStar.Dev.Source.Generators +{ + /// + /// + [System.AttributeUsage(System.AttributeTargets.Class)] + public class ReportAttribute : System.Attribute + { + } +} \ No newline at end of file diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.SourceGenerators/AStar.Dev.SourceGenerators.ServiceCollectionExtensionsGenerator/ServiceCollectionExtensions.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.SourceGenerators/AStar.Dev.SourceGenerators.ServiceCollectionExtensionsGenerator/ServiceCollectionExtensions.g.cs new file mode 100644 index 0000000..97544f7 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.SourceGenerators/AStar.Dev.SourceGenerators.ServiceCollectionExtensionsGenerator/ServiceCollectionExtensions.g.cs @@ -0,0 +1,22 @@ +//---------------------- +// +// Generated by AStar.Dev.Source.Generators +// Do not edit this file manually. Any changes will be overwritten at next build. +// +//---------------------- +using Microsoft.Extensions.DependencyInjection; + +/// +/// Generated class header to quiet the compiler when XML Documentation is generated. +/// This class contains the registration for services tagged with the RegisterService attribute. +/// +public static class ServiceCollectionExtensions +{ + /// + /// Generated method summary to quiet the compiler when XML Documentation is generated. + /// + public static IServiceCollection AddGeneratedServices(this IServiceCollection services) + { + return services; + } +} diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.SourceGenerators/AStar.Dev.SourceGenerators.SourceGeneratorWithAttributes/ReportAttribute.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.SourceGenerators/AStar.Dev.SourceGenerators.SourceGeneratorWithAttributes/ReportAttribute.g.cs new file mode 100644 index 0000000..fd4fab0 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/AStar.Dev.SourceGenerators/AStar.Dev.SourceGenerators.SourceGeneratorWithAttributes/ReportAttribute.g.cs @@ -0,0 +1,11 @@ +// + +namespace AStar.Dev.SourceGenerators +{ + /// + /// + [System.AttributeUsage(System.AttributeTargets.Class)] + public class ReportAttribute : System.Attribute + { + } +} \ No newline at end of file diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_App_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_App_razor.g.cs new file mode 100644 index 0000000..201df32 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_App_razor.g.cs @@ -0,0 +1,200 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/App.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6ab04d04115dbc6502a8dfe7e3a45c75e008b90a1a9f970655fab0b5c6263bbb" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; + #line default + #line hidden + #nullable restore + public partial class App : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.AddMarkupContent(0, "\n"); + __builder.OpenElement(1, "html"); + __builder.AddAttribute(2, "lang", "en"); + __builder.OpenElement(3, "head"); + __builder.AddMarkupContent(4, "\n \n \n "); + __builder.OpenElement(5, "link"); + __builder.AddAttribute(6, "rel", "stylesheet"); + __builder.AddAttribute(7, "href", +#nullable restore +#line (8,35)-(8,52) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/App.razor" +Assets["app.css"] + +#line default +#line hidden +#nullable disable + ); + __builder.CloseElement(); + __builder.AddMarkupContent(8, "\n "); + __builder.OpenElement(9, "link"); + __builder.AddAttribute(10, "rel", "stylesheet"); + __builder.AddAttribute(11, "href", +#nullable restore +#line (9,35)-(9,69) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/App.razor" +Assets["AStar.Dev.Web.styles.css"] + +#line default +#line hidden +#nullable disable + ); + __builder.CloseElement(); + __builder.AddMarkupContent(12, "\n "); + __builder.OpenComponent(13); + __builder.CloseComponent(); + __builder.AddMarkupContent(14, "\n \n "); + __builder.OpenComponent(15); + global::Microsoft.AspNetCore.Components.IComponentRenderMode __renderMode = +#nullable restore +#line (12,30)-(12,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/App.razor" +InteractiveServer + +#line default +#line hidden +#nullable disable + + ; + __builder.AddComponentRenderMode(__renderMode); + __builder.CloseComponent(); + __builder.AddMarkupContent(16, @" + + + + + "); + __builder.AddMarkupContent(17, @" + + + + "); + __builder.AddMarkupContent(18, @""); + __builder.CloseElement(); + __builder.AddMarkupContent(19, "\n\n"); + __builder.OpenElement(20, "body"); + __builder.OpenComponent(21); + global::Microsoft.AspNetCore.Components.IComponentRenderMode __renderMode1_1 = +#nullable restore +#line (50,22)-(50,39) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/App.razor" +InteractiveServer + +#line default +#line hidden +#nullable disable + + ; + __builder.AddComponentRenderMode(__renderMode1_1); + __builder.CloseComponent(); + __builder.AddMarkupContent(22, "\n"); + __builder.CloseElement(); + __builder.CloseElement(); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_LoginDisplay_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_LoginDisplay_razor.g.cs new file mode 100644 index 0000000..fd79dda --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_LoginDisplay_razor.g.cs @@ -0,0 +1,97 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/LoginDisplay.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Layout +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; + #line default + #line hidden + #nullable restore + public partial class LoginDisplay : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_MainLayout_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_MainLayout_razor.g.cs new file mode 100644 index 0000000..7fc1699 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_MainLayout_razor.g.cs @@ -0,0 +1,365 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "886fefa745b626723f794b822b9efdfc12275eb680261b0a6a3098a1151b0e0c" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Layout +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden + #nullable restore + public partial class MainLayout : +#nullable restore +#line (2,11)-(2,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +LayoutComponentBase + +#line default +#line hidden +#nullable disable + + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(2); + __builder2.AddAttribute(3, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.OpenElement(4, "img"); + __builder3.AddAttribute(5, "src", +#nullable restore +#line (6,20)-(6,51) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Assets["assets/astar-logo.png"] + +#line default +#line hidden +#nullable disable + ); + __builder3.AddAttribute(6, "alt", "AStar.Dev"); + __builder3.AddAttribute(7, "style", "height: 40px;"); + __builder3.AddAttribute(8, "b-bodtrlhjf5"); + __builder3.CloseElement(); + __builder3.AddMarkupContent(9, "\r\n "); + __builder3.OpenComponent(10); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(11, "\r\n "); + __builder3.OpenComponent(12); + __builder3.AddComponentParameter(13, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (8,23)-(8,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Appearance + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (8,35)-(8,53) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Appearance.Stealth + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(14, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (9,23)-(9,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +IconStart + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (9,36)-(9,57) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +new Size20.Settings() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(15, "onclick", global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (10,33)-(10,51) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +OpenSettingsDialog + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(16, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (11,23)-(11,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Title + +#line default +#line hidden +#nullable disable + ), "Settings"); + __builder3.CloseComponent(); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(17, "\r\n "); + __builder2.OpenComponent(18); + __builder2.AddComponentParameter(19, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (14,18)-(14,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Class + +#line default +#line hidden +#nullable disable + ), "main"); + __builder2.AddComponentParameter(20, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (14,31)-(14,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Orientation + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (14,44)-(14,66) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Orientation.Horizontal + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(21, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (14,68)-(14,73) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Width + +#line default +#line hidden +#nullable disable + ), "100%"); + __builder2.AddAttribute(22, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.OpenComponent(23); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(24, "\r\n "); + __builder3.OpenComponent(25); + __builder3.AddComponentParameter(26, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBodyContent. +#nullable restore +#line (16,28)-(16,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Class + +#line default +#line hidden +#nullable disable + ), "body-content"); + __builder3.AddAttribute(27, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(28, "div"); + __builder4.AddAttribute(29, "class", "content"); + __builder4.AddAttribute(30, "b-bodtrlhjf5"); +#nullable restore +#line (18,18)-(18,22) 26 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +__builder4.AddContent(31, Body + +#line default +#line hidden +#nullable disable + ); + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(32, "\r\n "); + __builder2.OpenComponent(33); + __builder2.AddAttribute(34, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.OpenComponent(35); + __builder3.AddComponentParameter(36, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (23,22)-(23,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Orientation + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (23,35)-(23,57) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Orientation.Horizontal + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(37, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (23,59)-(23,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +HorizontalAlignment + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (23,80)-(23,106) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +HorizontalAlignment.Center + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(38, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (23,108)-(23,113) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +Width + +#line default +#line hidden +#nullable disable + ), "100%"); + __builder3.AddAttribute(39, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.AddMarkupContent(40, "\r\n Copyright ©: AStar Development, 2009 - "); +#nullable restore +#line (24,54)-(24,71) 26 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +__builder4.AddContent(41, DateTime.Now.Year + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder3.CloseComponent(); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(42, "\r\n\r\n"); + __builder.OpenComponent(43); + __builder.AddComponentParameter(44, nameof(global::AStar.Dev.Web.Components.Layout.SettingsPanel. +#nullable restore +#line (29,16)-(29,22) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +IsOpen + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (29,24)-(29,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +_settingsPanelOpen + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(45, nameof(global::AStar.Dev.Web.Components.Layout.SettingsPanel. +#nullable restore +#line (29,44)-(29,51) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +OnClose + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (29,53)-(29,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/MainLayout.razor" +CloseSettingsPanel + +#line default +#line hidden +#nullable disable + ))); + __builder.CloseComponent(); + __builder.AddMarkupContent(46, "\r\n\r\n"); + __builder.AddMarkupContent(47, "
\r\n An unhandled error has occurred.\r\n Reload\r\n 🗙
"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_NavMenu_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_NavMenu_razor.g.cs new file mode 100644 index 0000000..e92c118 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_NavMenu_razor.g.cs @@ -0,0 +1,1322 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "e930611f221af3e1be89c9723aabef774828278c2288a981a7a8504dd4027a60" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Layout +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + #nullable restore + public partial class NavMenu : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenElement(0, "div"); + __builder.AddAttribute(1, "class", "navmenu"); + __builder.AddAttribute(2, "b-wdqrtp6k58"); + __builder.AddMarkupContent(3, "\n "); + __builder.OpenElement(4, "label"); + __builder.AddAttribute(5, "for", "navmenu-toggle"); + __builder.AddAttribute(6, "class", "navmenu-icon"); + __builder.AddAttribute(7, "b-wdqrtp6k58"); + global::__Blazor.AStar.Dev.Web.Components.Layout.NavMenu.TypeInference.CreateFluentIcon_0(__builder, 8, 9, +#nullable restore +#line (7,30)-(7,53) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.Navigation() + +#line default +#line hidden +#nullable disable + , 10, +#nullable restore +#line (7,63)-(7,73) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Fill + +#line default +#line hidden +#nullable disable + ); + __builder.CloseElement(); + __builder.AddMarkupContent(11, "\n "); + __builder.OpenElement(12, "nav"); + __builder.AddAttribute(13, "class", "siteNavigation"); + __builder.AddAttribute(14, "aria-labelledby", "main-menu"); + __builder.AddAttribute(15, "b-wdqrtp6k58"); + __builder.OpenComponent(16); + __builder.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu. +#nullable restore +#line (10,24)-(10,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Id + +#line default +#line hidden +#nullable disable + ), "main-menu"); + __builder.AddComponentParameter(18, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu. +#nullable restore +#line (10,39)-(10,50) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Collapsible + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (10,52)-(10,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +true + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(19, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu. +#nullable restore +#line (10,58)-(10,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Width + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (10,65)-(10,68) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +250 + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(20, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu. +#nullable restore +#line (10,70)-(10,75) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Title + +#line default +#line hidden +#nullable disable + ), "Navigation menu"); + __builder.AddComponentParameter(21, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu. +#nullable restore +#line (10,121)-(10,133) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +CustomToggle + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (10,135)-(10,139) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +true + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(22, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu. +#nullable restore +#line (10,100)-(10,108) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Expanded + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (10,110)-(10,119) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +_expanded + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(23, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu.ExpandedChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => _expanded = __value, _expanded)))); + __builder.AddAttribute(24, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(25); + __builder2.AddComponentParameter(26, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (11,28)-(11,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "/"); + __builder2.AddComponentParameter(27, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (11,37)-(11,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Match + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (11,44)-(11,60) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +NavLinkMatch.All + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(28, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (11,62)-(11,66) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (11,70)-(11,87) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.Home() + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(29, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (11,90)-(11,99) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (11,101)-(11,113) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder2.AddAttribute(30, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(31, "Home"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(32, "\n "); + __builder2.OpenComponent(33); + __builder2.AddComponentParameter(34, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (12,28)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "counter"); + __builder2.AddComponentParameter(35, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (12,43)-(12,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (12,51)-(12,82) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.NumberSymbolSquare() + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(36, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (12,85)-(12,94) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (12,96)-(12,108) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(37, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (12,110)-(12,117) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "The OOTB Counter page"); + __builder2.AddAttribute(38, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(39, "Counter"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(40, "\n "); + __builder2.OpenComponent(41); + __builder2.AddComponentParameter(42, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (13,28)-(13,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "weather"); + __builder2.AddComponentParameter(43, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (13,43)-(13,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (13,51)-(13,86) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.WeatherPartlyCloudyDay() + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(44, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (13,89)-(13,98) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (13,100)-(13,112) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(45, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (13,114)-(13,121) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "The OOTB Weather page"); + __builder2.AddAttribute(46, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(47, "Weather"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(48, "\n "); + __builder2.OpenComponent(49); + __builder2.AddComponentParameter(50, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (14,28)-(14,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "nuget-documentation"); + __builder2.AddComponentParameter(51, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (14,55)-(14,59) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (14,63)-(14,84) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.Document() + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(52, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (14,87)-(14,96) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (14,98)-(14,110) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(53, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (14,112)-(14,119) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Access the NuGet documentation root document"); + __builder2.AddAttribute(54, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(55, "NuGet Documentation"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(56, "\n "); + __builder2.OpenComponent(57); + __builder2.AddComponentParameter(58, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (15,28)-(15,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "kids-games"); + __builder2.AddComponentParameter(59, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (15,46)-(15,50) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (15,54)-(15,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.Games() + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(60, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (15,75)-(15,84) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (15,86)-(15,98) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(61, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (15,100)-(15,107) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Play some games (not operational)"); + __builder2.AddAttribute(62, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(63, "Kids Games"); + } + )); + __builder2.CloseComponent(); +#nullable restore +#line (17,1)-(17,13) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" + + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (17,14)-(19,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +if (!_isAuthenticated) + { + +#line default +#line hidden +#nullable disable + + __builder2.OpenComponent(64); + __builder2.AddComponentParameter(65, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (19,32)-(19,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "MicrosoftIdentity/Account/SignIn"); + __builder2.AddComponentParameter(66, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (19,72)-(19,76) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (19,80)-(19,100) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.SignOut() + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(67, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (19,103)-(19,112) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (19,114)-(19,126) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(68, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (19,128)-(19,135) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Sign in to access restricted areas"); + __builder2.AddAttribute(69, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(70, "Sign in"); + } + )); + __builder2.CloseComponent(); +#nullable restore +#line (20,1)-(23,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" + } + else + { + +#line default +#line hidden +#nullable disable + + __builder2.OpenComponent(71); + __builder2.AddComponentParameter(72, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavGroup. +#nullable restore +#line (23,33)-(23,38) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Title + +#line default +#line hidden +#nullable disable + ), "Admin"); + __builder2.AddComponentParameter(73, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavGroup. +#nullable restore +#line (23,47)-(23,51) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (23,55)-(23,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.EarthLeaf() + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(74, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavGroup. +#nullable restore +#line (23,80)-(23,87) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Access the Admin Menu"); + __builder2.AddComponentParameter(75, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavGroup. +#nullable restore +#line (23,112)-(23,121) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (23,123)-(23,135) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder2.AddAttribute(76, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.OpenComponent(77); + __builder3.AddComponentParameter(78, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (25,40)-(25,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "/admin/add-files-to-database"); + __builder3.AddComponentParameter(79, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (25,76)-(25,80) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (25,84)-(25,103) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.People() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(80, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (25,106)-(25,113) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Add any new Files to the AStar Database"); + __builder3.AddComponentParameter(81, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (26,40)-(26,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (26,51)-(26,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(82, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.AddMarkupContent(83, "Add Files To Database\n "); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(84, "\n "); + __builder3.OpenComponent(85); + __builder3.AddComponentParameter(86, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (28,40)-(28,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "/admin/api-usage"); + __builder3.AddComponentParameter(87, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (28,64)-(28,68) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (28,72)-(28,91) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.People() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(88, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (28,94)-(28,103) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (28,105)-(28,117) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(89, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (28,119)-(28,126) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "View API Usage"); + __builder3.AddAttribute(90, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.AddMarkupContent(91, "\n Api Usage\n "); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(92, "\n "); + __builder3.OpenComponent(93); + __builder3.AddComponentParameter(94, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (31,40)-(31,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "/admin/authentication-check"); + __builder3.AddComponentParameter(95, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (31,75)-(31,79) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (31,83)-(31,102) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.People() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(96, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (31,105)-(31,112) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Check your Authentication details"); + __builder3.AddComponentParameter(97, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (32,40)-(32,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (32,51)-(32,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(98, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.AddMarkupContent(99, "Authentication Check\n "); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(100, "\n "); + __builder3.OpenComponent(101); + __builder3.AddComponentParameter(102, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (34,40)-(34,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "/admin/file-classifications"); + __builder3.AddComponentParameter(103, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (34,75)-(34,79) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (34,83)-(34,102) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.People() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(104, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (34,105)-(34,112) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Update / add File Classifications"); + __builder3.AddComponentParameter(105, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (35,40)-(35,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (35,51)-(35,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(106, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.AddMarkupContent(107, "File Classifications\n "); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(108, "\n "); + __builder3.OpenComponent(109); + __builder3.AddComponentParameter(110, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (37,40)-(37,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "/admin/models-to-ignore"); + __builder3.AddComponentParameter(111, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (37,71)-(37,75) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (37,79)-(37,98) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.People() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(112, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (37,101)-(37,108) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Update / add Models to Ignore"); + __builder3.AddComponentParameter(113, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (38,40)-(38,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (38,51)-(38,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(114, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.AddMarkupContent(115, "Models To Ignore\n "); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(116, "\n "); + __builder3.OpenComponent(117); + __builder3.AddComponentParameter(118, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (40,40)-(40,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "/admin/scrape-directories"); + __builder3.AddComponentParameter(119, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (40,73)-(40,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (40,81)-(40,100) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.People() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(120, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (40,103)-(40,110) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Run the Scrape Directories process"); + __builder3.AddComponentParameter(121, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (41,40)-(41,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (41,51)-(41,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(122, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.AddMarkupContent(123, "Scrape Directories\n "); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(124, "\n "); + __builder3.OpenComponent(125); + __builder3.AddComponentParameter(126, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (43,40)-(43,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "/admin/site-configuration"); + __builder3.AddComponentParameter(127, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (43,73)-(43,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (43,81)-(43,100) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.People() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(128, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (43,103)-(43,110) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Update / add Site Configuration"); + __builder3.AddComponentParameter(129, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (44,40)-(44,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (44,51)-(44,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(130, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.AddMarkupContent(131, "Site Configuration\n "); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(132, "\n "); + __builder3.OpenComponent(133); + __builder3.AddComponentParameter(134, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (46,40)-(46,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "/admin/tags-to-ignore"); + __builder3.AddComponentParameter(135, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (46,69)-(46,73) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (46,77)-(46,96) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.People() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(136, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (46,99)-(46,106) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Update / add Tags to Ignore"); + __builder3.AddComponentParameter(137, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (47,40)-(47,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (47,51)-(47,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(138, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.AddMarkupContent(139, "Tags To Ignore\n "); + } + )); + __builder3.CloseComponent(); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(140, "\n "); + __builder2.OpenComponent(141); + __builder2.AddComponentParameter(142, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (51,32)-(51,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "/images/duplicate-images"); + __builder2.AddComponentParameter(143, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (51,64)-(51,68) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (51,72)-(51,91) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.People() + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(144, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (51,94)-(51,103) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (51,105)-(51,117) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(145, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (51,119)-(51,126) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "View Duplicate Images based on configurable parameteres"); + __builder2.AddAttribute(146, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(147, "Duplicate Images"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(148, "\n "); + __builder2.OpenComponent(149); + __builder2.AddComponentParameter(150, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (52,32)-(52,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Href + +#line default +#line hidden +#nullable disable + ), "MicrosoftIdentity/Account/SignOut"); + __builder2.AddComponentParameter(151, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (52,73)-(52,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (52,81)-(52,101) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +new Size20.SignOut() + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(152, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (52,104)-(52,113) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (52,115)-(52,127) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(153, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (52,129)-(52,136) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), "Sign out of the site"); + __builder2.AddAttribute(154, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(155, "Sign out, "); +#nullable restore +#line (52,171)-(52,181) 27 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +__builder3.AddContent(156, _firstName + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder2.CloseComponent(); +#nullable restore +#line (53,1)-(54,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" + } + +#line default +#line hidden +#nullable disable + + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.CloseElement(); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Layout.NavMenu +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (7,21)-(7,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (7,56)-(7,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/NavMenu.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_SettingsPanel_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_SettingsPanel_razor.g.cs new file mode 100644 index 0000000..8619f66 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Layout_SettingsPanel_razor.g.cs @@ -0,0 +1,670 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "976c7cd25cc71f9547a67dff053e2b461a15cf4f7b39164ea471182b297a4f97" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Layout +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden + #nullable restore + public partial class SettingsPanel : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenElement(0, "div"); + __builder.AddAttribute(1, "class", "settings-panel" + " " + ( +#nullable restore +#line (3,30)-(3,50) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +IsOpen ? "open" : "" + +#line default +#line hidden +#nullable disable + )); + __builder.AddAttribute(2, "style", "position:" + " fixed;" + " top:" + " 0;" + " right:" + " " + ( +#nullable restore +#line (4,47)-(4,70) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +IsOpen ? "0" : "-240px" + +#line default +#line hidden +#nullable disable + ) + ";" + " width:" + " 240px;" + " height:" + " 100vh;" + " background:" + " var(--neutral-layer-floating);" + " border-left:" + " 1px" + " solid" + " var(--neutral-stroke-divider);" + " transition:" + " right" + " 0.3s" + " ease;" + " z-index:" + " 1000;" + " padding:" + " 20px;" + " box-shadow:" + " -2px" + " 0" + " 8px" + " rgba(0,0,0,0.1);"); + __builder.OpenComponent(3); + __builder.AddComponentParameter(4, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (5,18)-(5,29) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Orientation + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (5,31)-(5,53) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Orientation.Horizontal + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(5, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (5,55)-(5,74) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +HorizontalAlignment + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (5,76)-(5,108) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +HorizontalAlignment.SpaceBetween + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(6, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (5,110)-(5,115) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Style + +#line default +#line hidden +#nullable disable + ), "margin-bottom: 20px;"); + __builder.AddAttribute(7, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(8); + __builder2.AddComponentParameter(9, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentLabel. +#nullable restore +#line (6,22)-(6,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Typo + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (6,28)-(6,41) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Typography.H4 + +#line default +#line hidden +#nullable disable + )); + __builder2.AddAttribute(10, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(11, "Settings"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(12, "\n "); + __builder2.OpenComponent(13); + __builder2.AddComponentParameter(14, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (7,23)-(7,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Appearance + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (7,35)-(7,53) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Appearance.Stealth + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(15, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (8,23)-(8,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +IconStart + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (8,36)-(8,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +new Size20.Dismiss() + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(16, "onclick", global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (9,33)-(9,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +OnCloseClicked + +#line default +#line hidden +#nullable disable + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(17, "\n\n "); + __builder.OpenElement(18, "div"); + __builder.OpenComponent(19); + __builder.AddComponentParameter(20, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDesignTheme. +#nullable restore +#line (14,28)-(14,39) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +OfficeColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (14,42)-(14,53) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +OfficeColor + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(21, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDesignTheme. +#nullable restore +#line (15,28)-(15,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +OnLoaded + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (15,39)-(15,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +OnLoaded + +#line default +#line hidden +#nullable disable + ))); + __builder.AddComponentParameter(22, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDesignTheme. +#nullable restore +#line (16,28)-(16,46) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +OnLuminanceChanged + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (16,49)-(16,67) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +OnLuminanceChanged + +#line default +#line hidden +#nullable disable + ))); + __builder.AddComponentParameter(23, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDesignTheme. +#nullable restore +#line (17,28)-(17,39) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +StorageName + +#line default +#line hidden +#nullable disable + ), "theme"); + __builder.AddComponentParameter(24, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDesignTheme. +#nullable restore +#line (13,34)-(13,38) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Mode + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (13,41)-(13,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Mode + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(25, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDesignTheme.ModeChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => Mode = __value, Mode)))); + __builder.CloseComponent(); + __builder.AddMarkupContent(26, "\n\n "); + __builder.OpenComponent(27); + __builder.AddComponentParameter(28, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (19,22)-(19,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Orientation + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (19,35)-(19,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Orientation.Vertical + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(29, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (19,57)-(19,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Style + +#line default +#line hidden +#nullable disable + ), "gap: 15px;"); + __builder.AddAttribute(30, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenElement(31, "div"); + __builder2.OpenComponent(32); + __builder2.AddComponentParameter(33, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentLabel. +#nullable restore +#line (21,30)-(21,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Typo + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (21,36)-(21,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Typography.H5 + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(34, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentLabel. +#nullable restore +#line (21,51)-(21,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Style + +#line default +#line hidden +#nullable disable + ), "margin-bottom: 10px;"); + __builder2.AddAttribute(35, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(36, "Theme Mode"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(37, "\n "); + { + global::__Blazor.AStar.Dev.Web.Components.Layout.SettingsPanel.TypeInference.CreateFluentSelect_0_CaptureParameters("100%", out var __typeInferenceArg_1___arg0, +#nullable restore +#line (24,30)-(24,64) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Enum.GetValues() + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_1___arg1, "Select Theme Mode", out var __typeInferenceArg_1___arg2, +#nullable restore +#line (25,44)-(25,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Mode + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_1___arg3, global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => Mode = __value, Mode)), out var __typeInferenceArg_1___arg4, () => Mode, out var __typeInferenceArg_1___arg5); + global::__Blazor.AStar.Dev.Web.Components.Layout.SettingsPanel.TypeInference.CreateFluentSelect_0(__builder2, 38, 39, __typeInferenceArg_1___arg0, 40, __typeInferenceArg_1___arg1, 41, __typeInferenceArg_1___arg2, 42, __typeInferenceArg_1___arg3, 43, __typeInferenceArg_1___arg4, 44, __typeInferenceArg_1___arg5); + __typeInferenceArg_1___arg0 = default; + __typeInferenceArg_1___arg1 = default; + __typeInferenceArg_1___arg2 = default; + __typeInferenceArg_1___arg3 = default; + __typeInferenceArg_1___arg4 = default; + __typeInferenceArg_1___arg5 = default; + } + __builder2.CloseElement(); + __builder2.AddMarkupContent(45, "\n\n "); + __builder2.OpenElement(46, "div"); + __builder2.OpenComponent(47); + __builder2.AddComponentParameter(48, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentLabel. +#nullable restore +#line (30,30)-(30,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Typo + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (30,36)-(30,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Typography.H5 + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(49, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentLabel. +#nullable restore +#line (30,51)-(30,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Style + +#line default +#line hidden +#nullable disable + ), "margin-bottom: 10px;"); + __builder2.AddAttribute(50, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddContent(51, "Accent Color"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(52, "\n "); + { + global::__Blazor.AStar.Dev.Web.Components.Layout.SettingsPanel.TypeInference.CreateFluentSelect_1_CaptureParameters("100%", out var __typeInferenceArg_1___arg0, +#nullable restore +#line (33,30)-(33,59) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Enum.GetValues() + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_1___arg1, "Select Accent Color", out var __typeInferenceArg_1___arg2, +#nullable restore +#line (34,44)-(34,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +OfficeColor + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_1___arg3, global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => OfficeColor = __value, OfficeColor)), out var __typeInferenceArg_1___arg4, () => OfficeColor, out var __typeInferenceArg_1___arg5); + global::__Blazor.AStar.Dev.Web.Components.Layout.SettingsPanel.TypeInference.CreateFluentSelect_1(__builder2, 53, 54, __typeInferenceArg_1___arg0, 55, __typeInferenceArg_1___arg1, 56, __typeInferenceArg_1___arg2, 57, __typeInferenceArg_1___arg3, 58, __typeInferenceArg_1___arg4, 59, __typeInferenceArg_1___arg5); + __typeInferenceArg_1___arg0 = default; + __typeInferenceArg_1___arg1 = default; + __typeInferenceArg_1___arg2 = default; + __typeInferenceArg_1___arg3 = default; + __typeInferenceArg_1___arg4 = default; + __typeInferenceArg_1___arg5 = default; + } + __builder2.CloseElement(); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.AddMarkupContent(60, "\n\n "); + __builder.OpenElement(61, "div"); + __builder.AddAttribute(62, "style", "position: absolute; bottom: 20px; left: 20px; right: 20px;"); + __builder.OpenComponent(63); + __builder.AddComponentParameter(64, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (41,23)-(41,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Appearance + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (41,35)-(41,53) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Appearance.Neutral + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(65, "onclick", global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (41,65)-(41,79) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +OnCloseClicked + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(66, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (41,81)-(41,86) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Style + +#line default +#line hidden +#nullable disable + ), "width: 100%;"); + __builder.AddAttribute(67, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(68, "\n Close\n "); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.CloseElement(); +#nullable restore +#line (48,2)-(50,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +if (IsOpen) +{ + +#line default +#line hidden +#nullable disable + + __builder.OpenElement(69, "div"); + __builder.AddAttribute(70, "class", "settings-overlay"); + __builder.AddAttribute(71, "style", "position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.3); z-index: 999;"); + __builder.AddAttribute(72, "onclick", global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (50,159)-(50,173) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +OnCloseClicked + +#line default +#line hidden +#nullable disable + )); + __builder.CloseElement(); +#nullable restore +#line (51,1)-(52,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +} + +#line default +#line hidden +#nullable disable + + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Layout.SettingsPanel +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentSelect_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable __arg1, int __seq2, global::System.String __arg2, int __seq3, TOption __arg3, int __seq4, global::Microsoft.AspNetCore.Components.EventCallback __arg4, int __seq5, global::System.Linq.Expressions.Expression> __arg5) + where TOption : notnull + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (23,21)-(23,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Width + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (24,21)-(24,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Items + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (26,21)-(26,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Label + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (25,27)-(25,41) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +SelectedOption + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.AddComponentParameter(__seq4, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.SelectedOptionChanged), __arg4); + __builder.AddComponentParameter(__seq5, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.SelectedOptionExpression), __arg5); + __builder.CloseComponent(); + } + + public static void CreateFluentSelect_0_CaptureParameters(global::System.String __arg0, out global::System.String __arg0_out, global::System.Collections.Generic.IEnumerable __arg1, out global::System.Collections.Generic.IEnumerable __arg1_out, global::System.String __arg2, out global::System.String __arg2_out, TOption __arg3, out TOption __arg3_out, global::Microsoft.AspNetCore.Components.EventCallback __arg4, out global::Microsoft.AspNetCore.Components.EventCallback __arg4_out, global::System.Linq.Expressions.Expression> __arg5, out global::System.Linq.Expressions.Expression> __arg5_out) + where TOption : notnull + { + __arg0_out = __arg0; + __arg1_out = __arg1; + __arg2_out = __arg2; + __arg3_out = __arg3; + __arg4_out = __arg4; + __arg5_out = __arg5; + } + public static void CreateFluentSelect_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable __arg1, int __seq2, global::System.String __arg2, int __seq3, TOption __arg3, int __seq4, global::Microsoft.AspNetCore.Components.EventCallback __arg4, int __seq5, global::System.Linq.Expressions.Expression> __arg5) + where TOption : notnull + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (32,21)-(32,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Width + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (33,21)-(33,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Items + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (35,21)-(35,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +Label + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (34,27)-(34,41) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Layout/SettingsPanel.razor" +SelectedOption + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.AddComponentParameter(__seq4, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.SelectedOptionChanged), __arg4); + __builder.AddComponentParameter(__seq5, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.SelectedOptionExpression), __arg5); + __builder.CloseComponent(); + } + + public static void CreateFluentSelect_1_CaptureParameters(global::System.String __arg0, out global::System.String __arg0_out, global::System.Collections.Generic.IEnumerable __arg1, out global::System.Collections.Generic.IEnumerable __arg1_out, global::System.String __arg2, out global::System.String __arg2_out, TOption __arg3, out TOption __arg3_out, global::Microsoft.AspNetCore.Components.EventCallback __arg4, out global::Microsoft.AspNetCore.Components.EventCallback __arg4_out, global::System.Linq.Expressions.Expression> __arg5, out global::System.Linq.Expressions.Expression> __arg5_out) + where TOption : notnull + { + __arg0_out = __arg0; + __arg1_out = __arg1; + __arg2_out = __arg2; + __arg3_out = __arg3; + __arg4_out = __arg4; + __arg5_out = __arg5; + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_AddFilesToDatabase_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_AddFilesToDatabase_razor.g.cs new file mode 100644 index 0000000..e104f5b --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_AddFilesToDatabase_razor.g.cs @@ -0,0 +1,144 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AddFilesToDatabase.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "437c70cc7d26dec4d0367897a23d8990ddd1ad70db7ab6d9b02c6302a46a51c0" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Admin +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (2,12)-(2,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AddFilesToDatabase.razor" +[Authorize(Policy = "AdminOnly")] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AddFilesToDatabase.razor" +"/admin/add-files-to-database" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class AddFilesToDatabase : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,51) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AddFilesToDatabase.razor" +__builder2.AddContent(2, App.PageTitle("Add Files To Database") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\r\n\r\n"); + __builder.AddMarkupContent(4, "

Add Files To Database

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_ApiUsage_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_ApiUsage_razor.g.cs new file mode 100644 index 0000000..be21446 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_ApiUsage_razor.g.cs @@ -0,0 +1,144 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ApiUsage.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "efd08daacb3713fa64496776ce7f854edced78146a9533b975e61d5bc515e457" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Admin +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (2,12)-(2,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ApiUsage.razor" +[Authorize(Policy = "AdminOnly")] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,25) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ApiUsage.razor" +"/admin/api-usage" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class ApiUsage : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,39) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ApiUsage.razor" +__builder2.AddContent(2, App.PageTitle("Api Usage") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\r\n\r\n"); + __builder.AddMarkupContent(4, "

Api Usage

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_AuthenticationCheck_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_AuthenticationCheck_razor.g.cs new file mode 100644 index 0000000..e479d27 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_AuthenticationCheck_razor.g.cs @@ -0,0 +1,283 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "db0c0d9520e8026ce148087ca74f4f4a786cf36803d4e101ba8304d6a2b52149" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Admin +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,53) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +using Microsoft.AspNetCore.Components.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +[Authorize(Policy = "AdminOnly")] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +"/admin/authentication-check" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class AuthenticationCheck : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (5,13)-(5,50) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +__builder2.AddContent(2, App.PageTitle("Authentication Check") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Authentication Check

\n\n"); + __builder.OpenComponent(5); + __builder.AddAttribute(6, "Authorized", (global::Microsoft.AspNetCore.Components.RenderFragment)((context) => (__builder2) => { + __builder2.OpenElement(7, "h4"); +#nullable restore +#line (12,14)-(12,56) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +__builder2.AddContent(8, _claims.First(c => c.Type == "name").Value + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(9, " has successfully signed-in\n "); + __builder2.CloseElement(); + __builder2.AddMarkupContent(10, "\n "); + __builder2.AddMarkupContent(11, "

 

\n "); + __builder2.OpenElement(12, "p"); +#nullable restore +#line (15,13)-(15,25) 26 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +__builder2.AddContent(13, _authMessage + +#line default +#line hidden +#nullable disable + ); + __builder2.CloseElement(); + __builder2.AddMarkupContent(14, "\n "); + __builder2.AddMarkupContent(15, "

 

\n "); + __builder2.AddMarkupContent(16, "

Claims from the ID token:

\n "); + __builder2.OpenElement(17, "table"); + __builder2.AddAttribute(18, "class", "table"); + __builder2.AddMarkupContent(19, "Claim Type\n Value\n "); + __builder2.OpenElement(20, "tbody"); +#nullable restore +#line (26,1)-(26,13) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" + + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (26,14)-(28,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +foreach (var claim in _claims) + { + +#line default +#line hidden +#nullable disable + + __builder2.OpenElement(21, "tr"); + __builder2.OpenElement(22, "th"); +#nullable restore +#line (29,26)-(29,36) 26 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +__builder2.AddContent(23, claim.Type + +#line default +#line hidden +#nullable disable + ); + __builder2.CloseElement(); + __builder2.AddMarkupContent(24, "\n "); + __builder2.OpenElement(25, "td"); +#nullable restore +#line (31,1)-(31,25) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" + + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (31,26)-(34,29) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +if (claim.Value.Length > 75) + { + var s = $"{claim.Value[..75]}..."; + + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (34,30)-(34,31) 26 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +__builder2.AddContent(26, s + +#line default +#line hidden +#nullable disable + ); +#nullable restore +#line (34,31)-(38,29) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" + + } + else + { + + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (38,30)-(38,41) 26 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" +__builder2.AddContent(27, claim.Value + +#line default +#line hidden +#nullable disable + ); +#nullable restore +#line (38,41)-(40,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" + + } + +#line default +#line hidden +#nullable disable + + __builder2.CloseElement(); + __builder2.CloseElement(); +#nullable restore +#line (42,1)-(43,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/AuthenticationCheck.razor" + } + +#line default +#line hidden +#nullable disable + + __builder2.CloseElement(); + __builder2.CloseElement(); + } + )); + __builder.CloseComponent(); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_FileClassifications_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_FileClassifications_razor.g.cs new file mode 100644 index 0000000..f8295d0 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_FileClassifications_razor.g.cs @@ -0,0 +1,1975 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "7979faf2c47272e3ef5c9393df4cae748d87eb1b24eb8bd94b923eae94ca8446" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Admin +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +using FluentUI.Demo.Shared + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,39) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +using FluentUI.Demo.Shared.SampleData + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +using App = AStar.Dev.Web.Components.App + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (2,12)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +"/admin/file-classifications" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class FileClassifications : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (12,13)-(12,50) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +__builder2.AddContent(2, App.PageTitle("File Classifications") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

File Classifications

\n"); + __builder.OpenComponent(5); + __builder.AddComponentParameter(6, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentPaginator. +#nullable restore +#line (15,18)-(15,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +State + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (15,26)-(15,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_pagination + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentPaginator. +#nullable restore +#line (15,39)-(15,54) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +SummaryTemplate + +#line default +#line hidden +#nullable disable + ), (global::Microsoft.AspNetCore.Components.RenderFragment)( +#nullable restore +#line (15,57)-(15,66) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_template + +#line default +#line hidden +#nullable disable + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(8, "\n\n"); + { + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreateFluentDataGrid_0_CaptureParameters( +#nullable restore +#line (17,25)-(17,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_people + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_0___arg0, +#nullable restore +#line (17,47)-(17,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_pagination + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_0___arg1); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreateFluentDataGrid_0(__builder, 9, 10, __typeInferenceArg_0___arg0, 11, __typeInferenceArg_0___arg1, 12, (__builder2) => { + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_1(__builder2, 13, __typeInferenceArg_0___arg0, 14, +#nullable restore +#line (18,33)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +p => p.PersonId + +#line default +#line hidden +#nullable disable + , 15, +#nullable restore +#line (18,61)-(18,65) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +true + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(16, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_2(__builder2, 17, __typeInferenceArg_0___arg0, 18, +#nullable restore +#line (19,33)-(19,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +p => p.Name + +#line default +#line hidden +#nullable disable + , 19, +#nullable restore +#line (19,57)-(19,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +true + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(20, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_3(__builder2, 21, __typeInferenceArg_0___arg0, 22, +#nullable restore +#line (20,33)-(20,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +p => p.BirthDate + +#line default +#line hidden +#nullable disable + , 23, "yyyy-MM-dd", 24, +#nullable restore +#line (20,82)-(20,86) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +true + +#line default +#line hidden +#nullable disable + ); + } + ); + __typeInferenceArg_0___arg0 = default; + __typeInferenceArg_0___arg1 = default; + } + __builder.AddMarkupContent(25, "\n\n"); + __builder.OpenComponent(26); + __builder.AddComponentParameter(27, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentPaginator. +#nullable restore +#line (23,18)-(23,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +State + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (23,26)-(23,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_pagination + +#line default +#line hidden +#nullable disable + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(28, "\n\n"); + __builder.OpenElement(29, "div"); + __builder.AddAttribute(30, "style", "height: 400px; max-width: 800px; overflow-y: scroll;"); + { + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreateFluentDataGrid_4_CaptureParameters( +#nullable restore +#line (26,42)-(26,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_items + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_0___arg0, +#nullable restore +#line (26,62)-(26,66) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +true + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_0___arg1, +#nullable restore +#line (26,81)-(26,106) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +DataGridDisplayMode.Table + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_0___arg2, "width: 100%;", out var __typeInferenceArg_0___arg3, +#nullable restore +#line (26,139)-(26,141) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +54 + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_0___arg4, +#nullable restore +#line (26,160)-(26,187) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +GenerateHeaderOption.Sticky + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_0___arg5); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreateFluentDataGrid_4(__builder, 31, 32, __typeInferenceArg_0___arg0, 33, __typeInferenceArg_0___arg1, 34, __typeInferenceArg_0___arg2, 35, __typeInferenceArg_0___arg3, 36, __typeInferenceArg_0___arg4, 37, __typeInferenceArg_0___arg5, 38, (__builder2) => { + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_5(__builder2, 39, __typeInferenceArg_0___arg0, 40, "25%", 41, +#nullable restore +#line (28,53)-(28,65) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +c => c.Item1 + +#line default +#line hidden +#nullable disable + , 42, +#nullable restore +#line (28,78)-(28,82) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +true + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(43, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_6(__builder2, 44, __typeInferenceArg_0___arg0, 45, "25%", 46, +#nullable restore +#line (29,53)-(29,65) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +c => c.Item2 + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(47, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_7(__builder2, 48, __typeInferenceArg_0___arg0, 49, "25%", 50, +#nullable restore +#line (30,53)-(30,65) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +c => c.Item3 + +#line default +#line hidden +#nullable disable + , 51, +#nullable restore +#line (30,75)-(30,87) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Align.Center + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(52, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_8(__builder2, 53, __typeInferenceArg_0___arg0, 54, "25%", 55, +#nullable restore +#line (31,53)-(31,65) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +c => c.Item4 + +#line default +#line hidden +#nullable disable + , 56, +#nullable restore +#line (31,75)-(31,84) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Align.End + +#line default +#line hidden +#nullable disable + ); + } + , 57, (__builder2) => { + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreateFluentIcon_9(__builder2, 58, 59, +#nullable restore +#line (34,34)-(34,65) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +new Icons.Filled.Size24.Crown() + +#line default +#line hidden +#nullable disable + , 60, +#nullable restore +#line (34,76)-(34,88) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(61, "  Nothing to see here. Carry on!\n "); + } + , 62, (__builder2) => { + __builder2.OpenComponent(63); + __builder2.AddComponentParameter(64, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (37,26)-(37,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Orientation + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (37,39)-(37,59) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Orientation.Vertical + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(65, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (37,61)-(37,80) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +HorizontalAlignment + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (37,82)-(37,108) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +HorizontalAlignment.Center + +#line default +#line hidden +#nullable disable + )); + __builder2.AddAttribute(66, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(67, "\n Loading...
\n "); + __builder3.OpenComponent(68); + __builder3.AddComponentParameter(69, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentProgress. +#nullable restore +#line (39,33)-(39,38) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Width + +#line default +#line hidden +#nullable disable + ), "240px"); + __builder3.CloseComponent(); + } + )); + __builder2.CloseComponent(); + } + , 70, (__value) => { +#nullable restore +#line (26,27)-(26,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_grid + +#line default +#line hidden +#nullable disable + = __value; + } + ); + __typeInferenceArg_0___arg0 = default; + __typeInferenceArg_0___arg1 = default; + __typeInferenceArg_0___arg2 = default; + __typeInferenceArg_0___arg3 = default; + __typeInferenceArg_0___arg4 = default; + __typeInferenceArg_0___arg5 = default; + } + __builder.CloseElement(); + __builder.AddMarkupContent(71, "\n
\n"); + __builder.OpenComponent(72); + __builder.AddComponentParameter(73, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (48,15)-(48,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +UncheckedMessage + +#line default +#line hidden +#nullable disable + ), "Clear all results"); + __builder.AddComponentParameter(74, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (49,15)-(49,29) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +CheckedMessage + +#line default +#line hidden +#nullable disable + ), "Restore all results"); + __builder.AddComponentParameter(75, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (46,21)-(46,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Value + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (46,29)-(46,40) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_clearItems + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(76, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredBindSetter(callback: __value => { _clearItems = __value; return global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.InvokeAsynchronousDelegate(callback: +#nullable restore +#line (47,34)-(47,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +ToggleItems + +#line default +#line hidden +#nullable disable + ); }, value: _clearItems), _clearItems)))); + __builder.AddComponentParameter(77, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>>(() => _clearItems)); + _ = nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (47,21)-(47,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Value + +#line default +#line hidden +#nullable disable + ); + __builder.AddComponentReferenceCapture(78, (__value) => { +#nullable restore +#line (45,21)-(45,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_clearToggle + +#line default +#line hidden +#nullable disable + = (Microsoft.FluentUI.AspNetCore.Components.FluentSwitch)__value; + } + ); + __builder.CloseComponent(); + __builder.AddMarkupContent(79, "\n"); + __builder.OpenComponent(80); + __builder.AddComponentParameter(81, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (51,15)-(51,22) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +OnClick + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (51,24)-(51,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +SimulateDataLoading + +#line default +#line hidden +#nullable disable + ))); + __builder.AddAttribute(82, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddContent(83, "Simulate data loading"); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(84, "\n\n"); + __builder.OpenComponent(85); + __builder.AddAttribute(86, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(87); + __builder2.AddComponentParameter(88, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentAccordionItem. +#nullable restore +#line (54,26)-(54,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Heading + +#line default +#line hidden +#nullable disable + ), "Filter(s)"); + __builder2.AddComponentParameter(89, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentAccordionItem. +#nullable restore +#line (54,46)-(54,54) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Expanded + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (54,56)-(54,60) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +true + +#line default +#line hidden +#nullable disable + )); + __builder2.AddAttribute(90, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreateFluentIcon_10(__builder3, 91, 92, +#nullable restore +#line (55,30)-(55,66) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +new Icons.Regular.Size20.FilterAdd() + +#line default +#line hidden +#nullable disable + , 93, +#nullable restore +#line (55,77)-(55,90) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 94, "start"); + __builder3.AddMarkupContent(95, "\n "); + __builder3.OpenComponent(96); + __builder3.AddComponentParameter(97, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGrid. +#nullable restore +#line (56,21)-(56,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Spacing + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (56,30)-(56,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +1 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(98, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGrid. +#nullable restore +#line (56,33)-(56,40) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Justify + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (56,42)-(56,66) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +JustifyContent.FlexStart + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(99, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGrid. +#nullable restore +#line (56,68)-(56,73) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Style + +#line default +#line hidden +#nullable disable + ), "padding: 5px;"); + __builder3.AddAttribute(100, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenComponent(101); + __builder4.AddComponentParameter(102, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (57,29)-(57,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (57,33)-(57,35) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +12 + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(103, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (57,37)-(57,39) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (57,41)-(57,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(104, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (57,44)-(57,46) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +md + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (57,48)-(57,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +4 + +#line default +#line hidden +#nullable disable + )); + __builder4.AddAttribute(105, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => { + __builder5.OpenComponent(106); + __builder5.AddComponentParameter(107, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (58,59)-(58,64) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Label + +#line default +#line hidden +#nullable disable + ), "State Filter"); + __builder5.AddComponentParameter(108, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (58,40)-(58,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Value + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (58,46)-(58,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_stateFilter + +#line default +#line hidden +#nullable disable + )); + __builder5.AddComponentParameter(109, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => _stateFilter = __value, _stateFilter)))); + __builder5.AddComponentParameter(110, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>>(() => _stateFilter)); + __builder5.CloseComponent(); + } + )); + __builder4.CloseComponent(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(111, "\n "); + __builder3.OpenComponent(112); + __builder3.AddComponentParameter(113, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (61,22)-(61,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Orientation + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (61,35)-(61,57) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Orientation.Horizontal + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(114, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentStack. +#nullable restore +#line (61,59)-(61,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +HorizontalAlignment + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (61,80)-(61,103) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +HorizontalAlignment.End + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(115, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenComponent(116); + __builder4.AddComponentParameter(117, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (62,27)-(62,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +IconStart + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (62,40)-(62,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +new Icons.Regular.Size16.Broom() + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(118, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (63,27)-(63,35) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Disabled + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (63,37)-(63,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_loading + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(119, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (64,27)-(64,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +OnClick + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (64,36)-(64,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +ClearFilters + +#line default +#line hidden +#nullable disable + ))); + __builder4.AddAttribute(120, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => { + __builder5.AddMarkupContent(121, "\n Clear\n "); + } + )); + __builder4.CloseComponent(); + __builder4.AddMarkupContent(122, "\n "); + __builder4.OpenComponent(123); + __builder4.AddComponentParameter(124, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (67,27)-(67,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +IconStart + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (67,40)-(67,81) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +new Icons.Regular.Size16.ArrowClockwise() + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(125, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (68,27)-(68,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Appearance + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (68,39)-(68,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Appearance.Accent + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(126, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (69,27)-(69,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Loading + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (69,36)-(69,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_loading + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(127, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (70,27)-(70,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +OnClick + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (70,36)-(70,60) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +DataGridRefreshDataAsync + +#line default +#line hidden +#nullable disable + ))); + __builder4.AddAttribute(128, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => { + __builder5.AddMarkupContent(129, "\n Search\n "); + } + )); + __builder4.CloseComponent(); + } + )); + __builder3.CloseComponent(); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(130, "\n
\n"); + __builder.OpenElement(131, "div"); + __builder.AddAttribute(132, "style", "height: 484px; overflow:auto;"); + __builder.AddAttribute(133, "tabindex", "-1"); + __builder.OpenComponent>(134); + __builder.AddComponentParameter(135, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (79,21)-(79,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Items + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>( +#nullable restore +#line (79,28)-(79,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_foodRecallItems + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(136, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (80,21)-(80,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +RefreshItems + +#line default +#line hidden +#nullable disable + ), (global::System.Func, global::System.Threading.Tasks.Task>)( +#nullable restore +#line (80,35)-(80,52) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +RefreshItemsAsync + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(137, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (81,21)-(81,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +OnRowDoubleClick + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create>(this, +#nullable restore +#line (81,41)-(81,88) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +()=>DemoLogger.WriteLine("Row double clicked!") + +#line default +#line hidden +#nullable disable + ))); + __builder.AddComponentParameter(138, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (82,21)-(82,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +RowSize + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (82,30)-(82,51) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +DataGridRowSize.Small + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(139, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (83,21)-(83,35) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +GenerateHeader + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (83,37)-(83,64) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +GenerateHeaderOption.Sticky + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(140, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (85,21)-(85,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Loading + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (85,30)-(85,38) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_loading + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(141, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (86,21)-(86,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Pagination + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (86,33)-(86,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_pagination2 + +#line default +#line hidden +#nullable disable + )); + __builder.AddAttribute(142, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_11(__builder2, 143, default(FoodRecall)!, 144, "ID", 145, +#nullable restore +#line (87,48)-(87,64) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +c => c!.Event_Id + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(146, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_12(__builder2, 147, default(FoodRecall)!, 148, +#nullable restore +#line (88,37)-(88,50) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +c => c!.State + +#line default +#line hidden +#nullable disable + , 149, "color: #af5f00 ;"); + __builder2.AddMarkupContent(150, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_13(__builder2, 151, default(FoodRecall)!, 152, +#nullable restore +#line (89,37)-(89,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +c => c!.City + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(153, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_14(__builder2, 154, default(FoodRecall)!, 155, "Company", 156, +#nullable restore +#line (90,53)-(90,75) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +c => c!.Recalling_Firm + +#line default +#line hidden +#nullable disable + , 157, +#nullable restore +#line (90,87)-(90,91) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +true + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(158, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_15(__builder2, 159, default(FoodRecall)!, 160, +#nullable restore +#line (91,37)-(91,51) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +c => c!.Status + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(161, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreatePropertyColumn_16(__builder2, 162, 163, "Recalling Firm", 164, +#nullable restore +#line (92,60)-(92,82) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +c => c!.Recalling_Firm + +#line default +#line hidden +#nullable disable + , 165, +#nullable restore +#line (92,95)-(92,146) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +new ColumnKeyGridSort("recalling_firm") + +#line default +#line hidden +#nullable disable + , 166, +#nullable restore +#line (92,159)-(92,163) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +true + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(167, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications.TypeInference.CreateTemplateColumn_17(__builder2, 168, default(FoodRecall)!, 169, "Actions", 170, +#nullable restore +#line (93,49)-(93,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Align.End + +#line default +#line hidden +#nullable disable + , 171, (context) => (__builder3) => { + __builder3.OpenComponent(172); + __builder3.AddComponentParameter(173, "aria-label", "Edit item"); + __builder3.AddComponentParameter(174, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (94,50)-(94,57) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +IconEnd + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (94,61)-(94,92) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +new Icons.Regular.Size16.Edit() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(175, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (94,95)-(94,102) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +OnClick + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (94,106)-(94,148) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +() => DemoLogger.WriteLine("Edit clicked") + +#line default +#line hidden +#nullable disable + ))); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(176, "\n "); + __builder3.OpenComponent(177); + __builder3.AddComponentParameter(178, "aria-label", "Delete item"); + __builder3.AddComponentParameter(179, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (95,52)-(95,59) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +IconEnd + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (95,63)-(95,96) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +new Icons.Regular.Size16.Delete() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(180, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (95,99)-(95,106) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +OnClick + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (95,110)-(95,154) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +() => DemoLogger.WriteLine("Delete clicked") + +#line default +#line hidden +#nullable disable + ))); + __builder3.CloseComponent(); + } + ); + } + )); + __builder.AddComponentReferenceCapture(181, (__value) => { +#nullable restore +#line (78,27)-(78,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_dataGrid + +#line default +#line hidden +#nullable disable + = (Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid)__value; + } + ); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.AddMarkupContent(182, "\n"); + __builder.OpenComponent(183); + __builder.AddComponentParameter(184, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentPaginator. +#nullable restore +#line (99,18)-(99,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +State + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (99,26)-(99,38) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +_pagination2 + +#line default +#line hidden +#nullable disable + )); + __builder.CloseComponent(); + } + #pragma warning restore 1998 +#nullable restore +#line (101,8)-(164,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" + + + FluentDataGrid _dataGrid = null!; + IQueryable _foodRecallItems = null!; + bool _loading = true; + readonly PaginationState _pagination2 = new PaginationState { ItemsPerPage = 10 }; + string? _stateFilter = "NY"; + + protected async Task RefreshItemsAsync(GridItemsProviderRequest req) + { + _loading = true; + await InvokeAsync(StateHasChanged); + + var filters = new Dictionary + { + { "skip", req.StartIndex }, + { "limit", req.Count }, + }; + + if (!string.IsNullOrWhiteSpace(_stateFilter)) + filters.Add("search", $"state:{_stateFilter}"); + + var s = req.GetSortByProperties().FirstOrDefault(); + if (req.SortByColumn != null && !string.IsNullOrEmpty(s.PropertyName)) + { + filters.Add("sort", s.PropertyName + (s.Direction == SortDirection.Ascending ? ":asc" : ":desc")); + } + + var url = NavManager.GetUriWithQueryParameters("https://api.fda.gov/food/enforcement.json", filters); + + var response = await Http.GetFromJsonAsync(url); + + _foodRecallItems = response!.Results.AsQueryable(); + await _pagination2.SetTotalItemCountAsync(response!.Meta.Results.Total); + + _loading = false; + await InvokeAsync(StateHasChanged); + + } + + public void ClearFilters() + { + _stateFilter = null; + } + + public async Task DataGridRefreshDataAsync() + { + await _dataGrid.RefreshDataAsync(true); + } + readonly PaginationState _pagination = new () { ItemsPerPage = 4 }; + + record Person(int PersonId, string Name, DateOnly BirthDate); + + readonly IQueryable _people = new[] + { + new Person(10895, "Jean Martin", new DateOnly(1985, 3, 16)), + new Person(10944, "António Langa", new DateOnly(1991, 12, 1)), + new Person(11203, "Julie Smith", new DateOnly(1958, 10, 10)), + new Person(11205, "Nur Sari", new DateOnly(1922, 4, 27)), + new Person(11898, "Jose Hernandez", new DateOnly(2011, 5, 3)), + new Person(12130, "Kenji Sato", new DateOnly(2004, 1, 9)), + }.AsQueryable(); + + private readonly RenderFragment _template = + +#line default +#line hidden +#nullable disable + + (__builder2) => { + __builder2.AddMarkupContent(185, ""); + } +#nullable restore +#line (164,57)-(206,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +; + + FluentDataGrid? _grid; + FluentSwitch? _clearToggle; + + bool _clearItems = false; + public record SampleGridData(string Item1, string Item2, string Item3, string Item4); + + IQueryable? _items = Enumerable.Empty().AsQueryable(); + + private IQueryable GenerateSampleGridData(int size) + { + SampleGridData[] data = new SampleGridData[size]; + + for (int i = 0; i < size; i++) + { + data[i] = new SampleGridData($"value {i}-1", $"value {i}-2", $"value {i}-3", $"value {i}-4"); + } + return data.AsQueryable(); + } + protected override void OnInitialized() + { + _items = GenerateSampleGridData(5000); + } + + private void ToggleItems() + { + _items = _clearItems ? null : GenerateSampleGridData(5000); + } + + private async Task SimulateDataLoading() + { + _clearItems = false; + + _items = null; + _grid?.SetLoadingState(true); + + await Task.Delay(1500); + + _items = GenerateSampleGridData(5000); + _grid?.SetLoadingState(false); + } + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.InjectAttribute] private +#nullable restore +#line (10,9)-(10,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +NavigationManager + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (10,27)-(10,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +NavManager + +#line default +#line hidden +#nullable disable + { get; set; } + = default!; + [global::Microsoft.AspNetCore.Components.InjectAttribute] private +#nullable restore +#line (8,9)-(8,19) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +HttpClient + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (8,20)-(8,24) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Http + +#line default +#line hidden +#nullable disable + { get; set; } + = default!; + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.Admin.FileClassifications +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentDataGrid_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Linq.IQueryable __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.PaginationState __arg1, int __seq2, global::Microsoft.AspNetCore.Components.RenderFragment __arg2) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (17,17)-(17,22) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Items + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (17,34)-(17,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Pagination + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, "ChildContent", __arg2); + __builder.CloseComponent(); + } + + public static void CreateFluentDataGrid_0_CaptureParameters(global::System.Linq.IQueryable __arg0, out global::System.Linq.IQueryable __arg0_out, global::Microsoft.FluentUI.AspNetCore.Components.PaginationState __arg1, out global::Microsoft.FluentUI.AspNetCore.Components.PaginationState __arg1_out) + { + __arg0_out = __arg0; + __arg1_out = __arg1; + } + public static void CreatePropertyColumn_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, global::System.Linq.IQueryable __syntheticArg0, int __seq0, global::System.Linq.Expressions.Expression> __arg0, int __seq1, global::System.Boolean? __arg1) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (18,21)-(18,29) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (18,51)-(18,59) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Sortable + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, global::System.Linq.IQueryable __syntheticArg0, int __seq0, global::System.Linq.Expressions.Expression> __arg0, int __seq1, global::System.Boolean? __arg1) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (19,21)-(19,29) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (19,47)-(19,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Sortable + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_3(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, global::System.Linq.IQueryable __syntheticArg0, int __seq0, global::System.Linq.Expressions.Expression> __arg0, int __seq1, global::System.String __arg1, int __seq2, global::System.Boolean? __arg2) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (20,21)-(20,29) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (20,52)-(20,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Format + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (20,72)-(20,80) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Sortable + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentDataGrid_4(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Linq.IQueryable __arg0, int __seq1, global::System.Boolean __arg1, int __seq2, global::Microsoft.FluentUI.AspNetCore.Components.DataGridDisplayMode __arg2, int __seq3, global::System.String __arg3, int __seq4, global::System.Single __arg4, int __seq5, global::Microsoft.FluentUI.AspNetCore.Components.GenerateHeaderOption? __arg5, int __seq6, global::Microsoft.AspNetCore.Components.RenderFragment __arg6, int __seq7, global::Microsoft.AspNetCore.Components.RenderFragment __arg7, int __seq8, global::Microsoft.AspNetCore.Components.RenderFragment __arg8, int __seq9, global::System.Action> __arg9) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (26,34)-(26,39) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Items + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (26,50)-(26,60) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Virtualize + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (26,68)-(26,79) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +DisplayMode + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (26,108)-(26,113) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Style + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.AddComponentParameter(__seq4, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (26,129)-(26,137) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +ItemSize + +#line default +#line hidden +#nullable disable + ), __arg4); + __builder.AddComponentParameter(__seq5, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (26,143)-(26,157) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +GenerateHeader + +#line default +#line hidden +#nullable disable + ), __arg5); + __builder.AddComponentParameter(__seq6, "ChildContent", __arg6); + __builder.AddComponentParameter(__seq7, "EmptyContent", __arg7); + __builder.AddComponentParameter(__seq8, "LoadingContent", __arg8); + __builder.AddComponentReferenceCapture(__seq9, (__value) => { __arg9((global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid)__value); }); + __builder.CloseComponent(); + } + + public static void CreateFluentDataGrid_4_CaptureParameters(global::System.Linq.IQueryable __arg0, out global::System.Linq.IQueryable __arg0_out, global::System.Boolean __arg1, out global::System.Boolean __arg1_out, global::Microsoft.FluentUI.AspNetCore.Components.DataGridDisplayMode __arg2, out global::Microsoft.FluentUI.AspNetCore.Components.DataGridDisplayMode __arg2_out, global::System.String __arg3, out global::System.String __arg3_out, global::System.Single __arg4, out global::System.Single __arg4_out, global::Microsoft.FluentUI.AspNetCore.Components.GenerateHeaderOption? __arg5, out global::Microsoft.FluentUI.AspNetCore.Components.GenerateHeaderOption? __arg5_out) + { + __arg0_out = __arg0; + __arg1_out = __arg1; + __arg2_out = __arg2; + __arg3_out = __arg3; + __arg4_out = __arg4; + __arg5_out = __arg5; + } + public static void CreatePropertyColumn_5(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, global::System.Linq.IQueryable __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1, int __seq2, global::System.Boolean? __arg2) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (28,29)-(28,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Width + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (28,41)-(28,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (28,68)-(28,76) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Sortable + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_6(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, global::System.Linq.IQueryable __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (29,29)-(29,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Width + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (29,41)-(29,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_7(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, global::System.Linq.IQueryable __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1, int __seq2, global::Microsoft.FluentUI.AspNetCore.Components.Align __arg2) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (30,29)-(30,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Width + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (30,41)-(30,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (30,68)-(30,73) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Align + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_8(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, global::System.Linq.IQueryable __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1, int __seq2, global::Microsoft.FluentUI.AspNetCore.Components.Align __arg2) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (31,29)-(31,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Width + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (31,41)-(31,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (31,68)-(31,73) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Align + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_9(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (34,25)-(34,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (34,68)-(34,73) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_10(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (55,21)-(55,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (55,69)-(55,74) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (55,92)-(55,96) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_11(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, TGridItem __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (87,25)-(87,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Title + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (87,36)-(87,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_12(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, TGridItem __syntheticArg0, int __seq0, global::System.Linq.Expressions.Expression> __arg0, int __seq1, global::System.String __arg1) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (88,25)-(88,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (88,53)-(88,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Style + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_13(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, TGridItem __syntheticArg0, int __seq0, global::System.Linq.Expressions.Expression> __arg0) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (89,25)-(89,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_14(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, TGridItem __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1, int __seq2, global::System.Boolean __arg2) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (90,25)-(90,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Title + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (90,41)-(90,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (90,78)-(90,85) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Tooltip + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_15(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, TGridItem __syntheticArg0, int __seq0, global::System.Linq.Expressions.Expression> __arg0) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (91,25)-(91,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_16(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1, int __seq2, global::Microsoft.FluentUI.AspNetCore.Components.IGridSort __arg2, int __seq3, global::System.Boolean? __arg3) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (92,25)-(92,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Title + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (92,48)-(92,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (92,85)-(92,91) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +SortBy + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (92,149)-(92,157) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Sortable + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.CloseComponent(); + } + public static void CreateTemplateColumn_17(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, TGridItem __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Align __arg1, int __seq2, global::Microsoft.AspNetCore.Components.RenderFragment __arg2) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.TemplateColumn. +#nullable restore +#line (93,25)-(93,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Title + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.TemplateColumn. +#nullable restore +#line (93,41)-(93,46) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/FileClassifications.razor" +Align + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, "ChildContent", __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_ModelsToIgnore_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_ModelsToIgnore_razor.g.cs new file mode 100644 index 0000000..4748187 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_ModelsToIgnore_razor.g.cs @@ -0,0 +1,147 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ModelsToIgnore.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8c51efd12441c8229b89cf97c592fe0044053394c76812d4a02f01ceb7ca9293" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Admin +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (2,12)-(2,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ModelsToIgnore.razor" +[Authorize(Policy = "AdminOnly")] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ModelsToIgnore.razor" +"/admin/models-to-ignore" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class ModelsToIgnore : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,46) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ModelsToIgnore.razor" +__builder2.AddContent(2, App.PageTitle("Models To Ignore") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\r\n"); + __builder.OpenComponent(4); + __builder.CloseComponent(); + __builder.AddMarkupContent(5, "\r\n\r\n"); + __builder.AddMarkupContent(6, "

Models To Ignore

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_ScrapeDirectories_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_ScrapeDirectories_razor.g.cs new file mode 100644 index 0000000..d13077d --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_ScrapeDirectories_razor.g.cs @@ -0,0 +1,144 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ScrapeDirectories.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6dc4bb666437eb09442c9df1f7975c90493182d1607e2482b07e2de0e8c707fe" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Admin +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (2,12)-(2,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ScrapeDirectories.razor" +[Authorize(Policy = "AdminOnly")] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ScrapeDirectories.razor" +"/admin/scrape-directories" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class ScrapeDirectories : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,48) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/ScrapeDirectories.razor" +__builder2.AddContent(2, App.PageTitle("Scrape Directories") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\r\n\r\n"); + __builder.AddMarkupContent(4, "

Scrape Directories

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_SiteConfiguration_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_SiteConfiguration_razor.g.cs new file mode 100644 index 0000000..1ae5faa --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_SiteConfiguration_razor.g.cs @@ -0,0 +1,144 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/SiteConfiguration.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "44e5458280e9a5b82dd47699524094f8695c925ecaf0399cc4ebd7c46605cffa" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Admin +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (2,12)-(2,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/SiteConfiguration.razor" +[Authorize(Policy = "AdminOnly")] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/SiteConfiguration.razor" +"/admin/site-configuration" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class SiteConfiguration : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,48) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/SiteConfiguration.razor" +__builder2.AddContent(2, App.PageTitle("Site Configuration") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\r\n\r\n"); + __builder.AddMarkupContent(4, "

Site Configuration

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_TagsToIgnore_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_TagsToIgnore_razor.g.cs new file mode 100644 index 0000000..ce7827b --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Admin_TagsToIgnore_razor.g.cs @@ -0,0 +1,144 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/TagsToIgnore.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "61d17974865495ff896a2c3c6ea0868e77dbe3aa8af517499704c04af6183cc8" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Admin +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (2,12)-(2,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/TagsToIgnore.razor" +[Authorize(Policy = "AdminOnly")] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/TagsToIgnore.razor" +"/admin/tags-to-ignore" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class TagsToIgnore : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,44) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Admin/TagsToIgnore.razor" +__builder2.AddContent(2, App.PageTitle("Tags To Ignore") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\r\n\r\n"); + __builder.AddMarkupContent(4, "

Tags To Ignore

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Counter_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Counter_razor.g.cs new file mode 100644 index 0000000..fcd9762 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Counter_razor.g.cs @@ -0,0 +1,212 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Counter.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9b6b706086fe3069ab8057dece16275b441c0cc606d879b78ff1a23be11b4673" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (1,12)-(1,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Counter.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (2,7)-(2,17) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Counter.razor" +"/counter" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Counter : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,37) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Counter.razor" +__builder2.AddContent(2, App.PageTitle("Counter") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Counter

\n\n"); + __builder.OpenElement(5, "div"); + __builder.AddAttribute(6, "role", "status"); + __builder.AddAttribute(7, "style", "padding-bottom: 1em;"); + __builder.AddMarkupContent(8, "\n Current count:\n "); + __builder.OpenComponent(9); + __builder.AddComponentParameter(10, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBadge. +#nullable restore +#line (10,18)-(10,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Counter.razor" +Appearance + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (10,30)-(10,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Counter.razor" +Appearance.Neutral + +#line default +#line hidden +#nullable disable + )); + __builder.AddAttribute(11, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (10,51)-(10,64) 26 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Counter.razor" +__builder2.AddContent(12, _currentCount + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.AddMarkupContent(13, "\n\n"); + __builder.OpenComponent(14); + __builder.AddComponentParameter(15, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (13,15)-(13,25) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Counter.razor" +Appearance + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (13,27)-(13,44) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Counter.razor" +Appearance.Accent + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(16, "onclick", global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (13,56)-(13,70) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Counter.razor" +IncrementCount + +#line default +#line hidden +#nullable disable + )); + __builder.AddAttribute(17, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddContent(18, "Click me"); + } + )); + __builder.CloseComponent(); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Dashboard_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Dashboard_razor.g.cs new file mode 100644 index 0000000..63c8d29 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Dashboard_razor.g.cs @@ -0,0 +1,136 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Dashboard.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "7b23006890fea3b28cbf8dd3eaddaf7bd43eb1062a0faf389b497891995359cd" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Dashboard.razor" +"/testing-dashboard" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Dashboard : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (3,13)-(3,47) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Dashboard.razor" +__builder2.AddContent(2, App.PageTitle("Testing Dashboard") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Testing Dashboard

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Directories_MoveDirectories_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Directories_MoveDirectories_razor.g.cs new file mode 100644 index 0000000..ed0b9d1 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Directories_MoveDirectories_razor.g.cs @@ -0,0 +1,136 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Directories/MoveDirectories.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "160ad0bee8d16f9276ce4eb70e178cb032090725c77af63cccd3f702435da12d" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Directories +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,38) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Directories/MoveDirectories.razor" +"/directories/move-directories" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class MoveDirectories : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (3,13)-(3,46) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Directories/MoveDirectories.razor" +__builder2.AddContent(2, App.PageTitle("Move Directories") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Move Directories

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Directories_RenameDirectories_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Directories_RenameDirectories_razor.g.cs new file mode 100644 index 0000000..f7e07f2 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Directories_RenameDirectories_razor.g.cs @@ -0,0 +1,136 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Directories/RenameDirectories.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1f605cdb6a50ee493caef752c1eab7856347e6530f735a5a7806ef846d74f169" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Directories +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,40) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Directories/RenameDirectories.razor" +"/directories/rename-directories" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class RenameDirectories : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (3,13)-(3,48) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Directories/RenameDirectories.razor" +__builder2.AddContent(2, App.PageTitle("Rename Directories") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Rename Directories

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Error_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Error_razor.g.cs new file mode 100644 index 0000000..df14e07 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Error_razor.g.cs @@ -0,0 +1,198 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Error.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "d263b3ff8164168fdf1365b468169e31c6adfce2d091c06c3faff8e77a29e21d" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Error.razor" +using System.Diagnostics + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,15) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Error.razor" +"/Error" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Error : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,35) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Error.razor" +__builder2.AddContent(2, App.PageTitle("Error") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Error.

\n"); + __builder.AddMarkupContent(5, "

An error occurred while processing your request.

"); +#nullable restore +#line (9,2)-(11,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Error.razor" +if (ShowRequestId) +{ + +#line default +#line hidden +#nullable disable + + __builder.OpenElement(6, "p"); + __builder.AddMarkupContent(7, "Request ID: "); + __builder.OpenElement(8, "code"); +#nullable restore +#line (12,45)-(12,54) 24 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Error.razor" +__builder.AddContent(9, RequestId + +#line default +#line hidden +#nullable disable + ); + __builder.CloseElement(); + __builder.CloseElement(); +#nullable restore +#line (14,1)-(15,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Error.razor" +} + +#line default +#line hidden +#nullable disable + + __builder.AddMarkupContent(10, "

Development Mode

\n"); + __builder.AddMarkupContent(11, "

\n Swapping to Development environment will display more detailed information about the error that occurred.\n

\n"); + __builder.AddMarkupContent(12, @"

The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

"); + } + #pragma warning restore 1998 +#nullable restore +#line (27,7)-(38,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Error.razor" + + + [CascadingParameter] + private HttpContext? HttpContext { get; set; } + + private string? RequestId { get; set; } + private bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + protected override void OnInitialized() => + RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier; + + +#line default +#line hidden +#nullable disable + + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Files_DuplicateFiles_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Files_DuplicateFiles_razor.g.cs new file mode 100644 index 0000000..24f063e --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Files_DuplicateFiles_razor.g.cs @@ -0,0 +1,136 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Files/DuplicateFiles.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "abfab4ce464715e8773abf37dfa7347fdd102e55776e2ba1609bec5dd26e3a98" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Files +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Files/DuplicateFiles.razor" +"/files/duplicate-files" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class DuplicateFiles : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (3,13)-(3,45) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Files/DuplicateFiles.razor" +__builder2.AddContent(2, App.PageTitle("Duplicate Files") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Duplicate Files

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Files_MoveFiles_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Files_MoveFiles_razor.g.cs new file mode 100644 index 0000000..e9abd58 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Files_MoveFiles_razor.g.cs @@ -0,0 +1,136 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Files/MoveFiles.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "a502a6b8e2702f0fa1b580ab934ab270f67c146847397eb31b4c2bef1b3015bb" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Files +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Files/MoveFiles.razor" +"/files/move-files" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class MoveFiles : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (3,13)-(3,40) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Files/MoveFiles.razor" +__builder2.AddContent(2, App.PageTitle("Move Files") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Move Files

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Files_RenameFiles_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Files_RenameFiles_razor.g.cs new file mode 100644 index 0000000..272ba56 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Files_RenameFiles_razor.g.cs @@ -0,0 +1,136 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Files/RenameFiles.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "31ac4f352161cb37f7839efe98e5865a6275cb896e329302492e3c06b32961f3" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Files +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Files/RenameFiles.razor" +"/files/rename-files" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class RenameFiles : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (3,13)-(3,42) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Files/RenameFiles.razor" +__builder2.AddContent(2, App.PageTitle("Rename Files") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Rename Files

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Home_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Home_razor.g.cs new file mode 100644 index 0000000..d551412 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Home_razor.g.cs @@ -0,0 +1,149 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Home.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "089018efad8d061699047a814498a601ce9c8e92af4097856db9bad39c0e48b7" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (1,12)-(1,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Home.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (2,7)-(2,10) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Home.razor" +"/" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Home : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,34) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Home.razor" +__builder2.AddContent(2, App.PageTitle("Home") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Welcome to the AStar Development website!

\n\n"); + __builder.AddMarkupContent(5, "

Welcome to the AStar Development website. This site is not real, AStar Development is not a real company - this site is just a playground for me.

\n\n"); + __builder.AddMarkupContent(6, "

That said, there are a plethora of NuGet packages published under the AStar Development banner and all are fully supported - all I ask is a little patience in resolving any issues reported.

\n\n"); + __builder.AddMarkupContent(7, "

Thanks in advance.

\n\n"); + __builder.AddMarkupContent(8, "

This version of the site is still under construction. The enhancements include:

\n\n"); + __builder.AddMarkupContent(9, "
  • Moving to the Microsoft Fluent UI Blazor library.
  • \n
  • Using AI to help write the code. No, I am not incapable of writing code (after 30+ years in the industry, I am pretty sure I can create \"Hello, World!!\"), this is just a good opportunity to\n see what AI can do. As you have probably seen elsewhere, AI can be very useful, in many areas including:\n
    • AI can help with boilerplate code generation
    • \n
    • It\'s useful for exploring new frameworks and libraries
    • \n
    • Great for getting different approaches to solve problems
  • \n
  • \n After initially spending 1+ hour with ChatGPT5 trying to get something as simple as the user\'s firstname from the EntraId claims and failing to get anything remotely useful out of it, I\n swapped to Claude 4 Sonnet AI and had the code I wanted generated for me with a single request. This led me to the simple conclusion that:\n
    • I am not sure if Claude 4 Sonnet AI is a better than ChatGPT, but the initial trial was successful and was a good example of how AI can be used to help write code when you have the\n correct model / LLM.\n
    • \n
    • I will continue to use ChatGPT5 initially and, when that fails (or I simply want a different answer), I will use Claude 4 Sonnet AI to develop this site - we will see which wins over\n time... it is fair to say that a) I have my suspicions and b) your mileage may vary...\n
    • \n
    • The \"decision\" to focus on ChatGPT5 is largely based on my less-than scientific research which suggests ChatGPT5 is the current leader in code-generation, we will see if the research\n is reflected in the code generated here...\n
"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_DuplicateImages_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_DuplicateImages_razor.g.cs new file mode 100644 index 0000000..5625091 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_DuplicateImages_razor.g.cs @@ -0,0 +1,161 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/DuplicateImages.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2dcd5cbc85363f196430304f79f2829efca9dab63f3908e08496887733766489" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Images +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/DuplicateImages.razor" +using AStar.Dev.Web.Components.Pages.Shared + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/DuplicateImages.razor" +"/images/duplicate-images" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class DuplicateImages : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,46) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/DuplicateImages.razor" +__builder2.AddContent(2, App.PageTitle("Duplicate Images") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\r\n\r\n"); + __builder.AddMarkupContent(4, "

Duplicate Images

\r\n\r\n"); + __builder.OpenComponent(5); + __builder.AddComponentParameter(6, nameof(global::AStar.Dev.Web.Components.Pages.Shared.Search. +#nullable restore +#line (8,9)-(8,22) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/DuplicateImages.razor" +OnValidSubmit + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (8,25)-(8,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/DuplicateImages.razor" +HandleValidSubmit + +#line default +#line hidden +#nullable disable + ))); + __builder.CloseComponent(); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_MoveImages_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_MoveImages_razor.g.cs new file mode 100644 index 0000000..4dd4641 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_MoveImages_razor.g.cs @@ -0,0 +1,136 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/MoveImages.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "14dfe7c24bc7982fd4c74775176bf620d7f31fd3815011e13e57913fc25b8978" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Images +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/MoveImages.razor" +"/images/move-images" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class MoveImages : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (3,13)-(3,41) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/MoveImages.razor" +__builder2.AddContent(2, App.PageTitle("Move Images") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Move Images

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_RandomImages_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_RandomImages_razor.g.cs new file mode 100644 index 0000000..660451a --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_RandomImages_razor.g.cs @@ -0,0 +1,136 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/RandomImages.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "c6de0746b7cfd4e4cc51316107b8eba486dc588457dca5009b1e919c5eaeab8b" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Images +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/RandomImages.razor" +"/images/random-images" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class RandomImages : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (3,13)-(3,43) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/RandomImages.razor" +__builder2.AddContent(2, App.PageTitle("Random Images") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Random Images

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_RenameImages_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_RenameImages_razor.g.cs new file mode 100644 index 0000000..619344c --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_RenameImages_razor.g.cs @@ -0,0 +1,136 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/RenameImages.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "515ab0f0742b262b17b5c6f9feb86ec4539adf83de7bda258293a77ec890ad8a" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Images +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/RenameImages.razor" +"/images/rename-images" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class RenameImages : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (3,13)-(3,43) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/RenameImages.razor" +__builder2.AddContent(2, App.PageTitle("Rename Images") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Rename Images

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_ScrapeImages_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_ScrapeImages_razor.g.cs new file mode 100644 index 0000000..99c3cac --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Images_ScrapeImages_razor.g.cs @@ -0,0 +1,136 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/ScrapeImages.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "02c876a9f14dab279c674affa53baacd8f545512e8d7930673b6ba49864910e2" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Images +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/ScrapeImages.razor" +"/images/scrape-images" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class ScrapeImages : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (3,13)-(3,43) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Images/ScrapeImages.razor" +__builder2.AddContent(2, App.PageTitle("Scrape Images") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Scrape Images

"); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_Games_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_Games_razor.g.cs new file mode 100644 index 0000000..9896b40 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_Games_razor.g.cs @@ -0,0 +1,377 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "d9b14e04b2534f7ed1337cdb2205ec35a673acd1a4f1c3c4da3c0bde6c58b905" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.KidsGames +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,20) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +"/kids-games" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Games : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (5,13)-(5,40) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +__builder2.AddContent(2, App.PageTitle("Kids Games") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.OpenComponent(4); + __builder.AddAttribute(5, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(6); + __builder2.AddComponentParameter(7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (8,27)-(8,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(8, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(9, "\n Home\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Games.TypeInference.CreateFluentIcon_0(__builder3, 10, 11, +#nullable restore +#line (10,30)-(10,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +new Size16.Home() + +#line default +#line hidden +#nullable disable + , 12, +#nullable restore +#line (10,58)-(10,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 13, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(14, "\n "); + __builder2.OpenComponent(15); + __builder2.AddComponentParameter(16, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (12,27)-(12,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(17, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(18, "\n Kids Games\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Games.TypeInference.CreateFluentIcon_1(__builder3, 19, 20, +#nullable restore +#line (14,30)-(14,52) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +new Size16.Clipboard() + +#line default +#line hidden +#nullable disable + , 21, +#nullable restore +#line (14,63)-(14,76) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 22, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(23, "\n "); + __builder2.OpenComponent(24); + __builder2.AddAttribute(25, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(26, "\n Breadcrumb item 3\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Games.TypeInference.CreateFluentIcon_2(__builder3, 27, 28, +#nullable restore +#line (18,30)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +new Size16.Money() + +#line default +#line hidden +#nullable disable + , 29, +#nullable restore +#line (18,59)-(18,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 30, "start"); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(31, "\n\n"); + __builder.AddMarkupContent(32, "

Please select the game you want to play

\n\n
\n\n"); + __builder.OpenElement(33, "div"); + __builder.AddAttribute(34, "class", "menu"); + __builder.OpenElement(35, "div"); + __builder.AddAttribute(36, "class", "item"); + __builder.OpenComponent(37); + __builder.AddComponentParameter(38, "class", "nav-link"); + __builder.AddComponentParameter(39, "href", "kids-games/halving"); + __builder.AddAttribute(40, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(41, "\n 🍎 / 🍎\n Halving\n "); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.AddMarkupContent(42, "\n "); + __builder.OpenElement(43, "div"); + __builder.AddAttribute(44, "class", "item"); + __builder.OpenComponent(45); + __builder.AddComponentParameter(46, "class", "nav-link"); + __builder.AddComponentParameter(47, "href", "kids-games/matching"); + __builder.AddAttribute(48, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(49, "\n 🏆 = 🏆\n Matching\n "); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.CloseElement(); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Games +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (10,21)-(10,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (10,50)-(10,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (10,73)-(10,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,21)-(14,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,55)-(14,60) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,78)-(14,82) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,21)-(18,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,51)-(18,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,74)-(18,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Games.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_Halving_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_Halving_razor.g.cs new file mode 100644 index 0000000..0240f31 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_Halving_razor.g.cs @@ -0,0 +1,414 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "ae89e1446ee336b9ff3275f4ae451d90ab05cd986bfe4be48c9a0899fb5d9f80" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.KidsGames +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +"/kids-games/halving" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Halving : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (5,13)-(5,37) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +__builder2.AddContent(2, App.PageTitle("Halving") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.OpenComponent(4); + __builder.AddAttribute(5, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(6); + __builder2.AddComponentParameter(7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (8,27)-(8,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(8, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(9, "\n Home\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Halving.TypeInference.CreateFluentIcon_0(__builder3, 10, 11, +#nullable restore +#line (10,30)-(10,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +new Size16.Home() + +#line default +#line hidden +#nullable disable + , 12, +#nullable restore +#line (10,58)-(10,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 13, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(14, "\n "); + __builder2.OpenComponent(15); + __builder2.AddComponentParameter(16, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (12,27)-(12,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(17, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(18, "\n Kids Games\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Halving.TypeInference.CreateFluentIcon_1(__builder3, 19, 20, +#nullable restore +#line (14,30)-(14,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +new Size16.Games() + +#line default +#line hidden +#nullable disable + , 21, +#nullable restore +#line (14,59)-(14,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 22, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(23, "\n "); + __builder2.OpenComponent(24); + __builder2.AddAttribute(25, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(26, "\n Breadcrumb item 3\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Halving.TypeInference.CreateFluentIcon_2(__builder3, 27, 28, +#nullable restore +#line (18,30)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +new Size16.Money() + +#line default +#line hidden +#nullable disable + , 29, +#nullable restore +#line (18,59)-(18,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 30, "start"); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(31, "\n\n"); + __builder.AddMarkupContent(32, "

What number do you want to halve?

\n\n
\n\n"); + __builder.OpenElement(33, "table"); + __builder.OpenElement(34, "tr"); + __builder.OpenElement(35, "td"); + __builder.AddAttribute(36, "style", "width: 100px"); + __builder.OpenComponent(37); + __builder.AddComponentParameter(38, "class", "btn btn-success"); + __builder.AddComponentParameter(39, "href", "kids-games/halving-two"); + __builder.AddAttribute(40, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(41, "\n Two\n "); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.AddMarkupContent(42, "\n "); + __builder.OpenElement(43, "td"); + __builder.AddAttribute(44, "style", "width: 100px"); + __builder.OpenComponent(45); + __builder.AddComponentParameter(46, "class", "btn btn-success"); + __builder.AddComponentParameter(47, "href", "kids-games/halving-four"); + __builder.AddAttribute(48, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(49, "\n Four\n "); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.AddMarkupContent(50, "\n "); + __builder.OpenElement(51, "td"); + __builder.AddAttribute(52, "style", "width: 100px"); + __builder.OpenComponent(53); + __builder.AddComponentParameter(54, "class", "btn btn-success"); + __builder.AddComponentParameter(55, "href", "kids-games/halving-six"); + __builder.AddAttribute(56, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(57, "\n Six\n "); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.AddMarkupContent(58, "\n "); + __builder.OpenElement(59, "td"); + __builder.AddAttribute(60, "style", "width: 100px"); + __builder.OpenComponent(61); + __builder.AddComponentParameter(62, "class", "btn btn-success"); + __builder.AddComponentParameter(63, "href", "kids-games/halving-eight"); + __builder.AddAttribute(64, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(65, "\n Eight\n "); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.AddMarkupContent(66, "\n "); + __builder.OpenElement(67, "td"); + __builder.AddAttribute(68, "style", "width: 100px"); + __builder.OpenComponent(69); + __builder.AddComponentParameter(70, "class", "btn btn-success"); + __builder.AddComponentParameter(71, "href", "kids-games/halving-ten"); + __builder.AddAttribute(72, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(73, "\n Ten\n "); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.CloseElement(); + __builder.CloseElement(); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Halving +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (10,21)-(10,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (10,50)-(10,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (10,73)-(10,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,21)-(14,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,51)-(14,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,74)-(14,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,21)-(18,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,51)-(18,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,74)-(18,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Halving.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_Matching_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_Matching_razor.g.cs new file mode 100644 index 0000000..d5ffc27 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_Matching_razor.g.cs @@ -0,0 +1,378 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "a6cafb1c14c307f3e77992a47e99b8661c0762af9fa2e7823662ae326c446211" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.KidsGames +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,29) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +"/kids-games/matching" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Matching : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (5,13)-(5,38) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +__builder2.AddContent(2, App.PageTitle("Matching") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.OpenComponent(4); + __builder.AddAttribute(5, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(6); + __builder2.AddComponentParameter(7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (8,27)-(8,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(8, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(9, "\n Home\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Matching.TypeInference.CreateFluentIcon_0(__builder3, 10, 11, +#nullable restore +#line (10,30)-(10,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +new Size16.Home() + +#line default +#line hidden +#nullable disable + , 12, +#nullable restore +#line (10,58)-(10,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 13, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(14, "\n "); + __builder2.OpenComponent(15); + __builder2.AddComponentParameter(16, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (12,27)-(12,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(17, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(18, "\n Kids Games\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Matching.TypeInference.CreateFluentIcon_1(__builder3, 19, 20, +#nullable restore +#line (14,30)-(14,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +new Size16.Games() + +#line default +#line hidden +#nullable disable + , 21, +#nullable restore +#line (14,59)-(14,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 22, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(23, "\n "); + __builder2.OpenComponent(24); + __builder2.AddAttribute(25, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(26, "\n Breadcrumb item 3\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Matching.TypeInference.CreateFluentIcon_2(__builder3, 27, 28, +#nullable restore +#line (18,30)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +new Size16.Money() + +#line default +#line hidden +#nullable disable + , 29, +#nullable restore +#line (18,59)-(18,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 30, "start"); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(31, "\n\n"); + __builder.AddMarkupContent(32, "

What do you want to match?

\n\n
\n\n"); + __builder.OpenElement(33, "table"); + __builder.OpenElement(34, "tr"); + __builder.OpenElement(35, "td"); + __builder.AddAttribute(36, "style", "width: 100px"); + __builder.OpenComponent(37); + __builder.AddComponentParameter(38, "class", "btn btn-success"); + __builder.AddComponentParameter(39, "href", "kids-games/match-animals"); + __builder.AddAttribute(40, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(41, "\n Animals\n "); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.AddMarkupContent(42, "\n "); + __builder.OpenElement(43, "td"); + __builder.AddAttribute(44, "style", "width: 100px"); + __builder.OpenComponent(45); + __builder.AddComponentParameter(46, "class", "btn btn-success"); + __builder.AddComponentParameter(47, "href", "kids-games/match-houses"); + __builder.AddAttribute(48, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(49, "\n Houses\n "); + } + )); + __builder.CloseComponent(); + __builder.CloseElement(); + __builder.CloseElement(); + __builder.CloseElement(); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.KidsGames.Matching +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (10,21)-(10,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (10,50)-(10,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (10,73)-(10,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,21)-(14,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,51)-(14,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,74)-(14,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,21)-(18,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,51)-(18,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,74)-(18,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/Matching.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving10_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving10_razor.g.cs new file mode 100644 index 0000000..3d244b4 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving10_razor.g.cs @@ -0,0 +1,363 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "e50a4cf03a8aa02e881ab676bdd12b7057d2197f9f00b4998e26eac0f97a1bac" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.KidsGames.halving +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +"/kids-games/halving-ten" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Halving10 : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.AddMarkupContent(0, "\n\n\n\n"); + __builder.OpenComponent(1); + __builder.AddAttribute(2, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (9,13)-(9,40) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +__builder2.AddContent(3, App.PageTitle("Halving 10") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(4, "\n\n"); + __builder.OpenComponent(5); + __builder.AddAttribute(6, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(7); + __builder2.AddComponentParameter(8, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (12,27)-(12,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(9, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(10, "\n Home\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving10.TypeInference.CreateFluentIcon_0(__builder3, 11, 12, +#nullable restore +#line (14,30)-(14,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +new Size16.Home() + +#line default +#line hidden +#nullable disable + , 13, +#nullable restore +#line (14,58)-(14,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 14, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(15, "\n "); + __builder2.OpenComponent(16); + __builder2.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (16,27)-(16,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(18, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(19, "\n Kids Games\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving10.TypeInference.CreateFluentIcon_1(__builder3, 20, 21, +#nullable restore +#line (18,30)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +new Size16.Games() + +#line default +#line hidden +#nullable disable + , 22, +#nullable restore +#line (18,59)-(18,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 23, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(24, "\n "); + __builder2.OpenComponent(25); + __builder2.AddAttribute(26, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(27, "\n Breadcrumb item 3\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving10.TypeInference.CreateFluentIcon_2(__builder3, 28, 29, +#nullable restore +#line (22,30)-(22,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +new Size16.Money() + +#line default +#line hidden +#nullable disable + , 30, +#nullable restore +#line (22,59)-(22,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 31, "start"); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(32, "\n\n"); + __builder.AddMarkupContent(33, "

Halving Ten

\n\n"); + __builder.AddMarkupContent(34, "

Half of 10 =

\n\n"); + __builder.AddMarkupContent(35, "\n
\"burger\"
\n
\"burger\"
\n
\"burger\"
\n
\"burger\"
\n
\"burger\"
\n
\"burger\"
\n
\"burger\"
\n
\"burger\"
\n
\"burger\"
\n
\"burger\"
\"monsters-at-the-table\"\n
\n
\n\n"); + __builder.AddMarkupContent(36, @"
+
+ +"); + __builder.AddMarkupContent(37, @"
Please Note: This game works on touch screen devices only. You can select using your mouse, but + you will not be able to position correctly. Sorry for the inconvenience. +
+ +"); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving10 +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,21)-(14,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,50)-(14,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,73)-(14,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,21)-(18,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,51)-(18,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,74)-(18,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,21)-(22,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,51)-(22,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,74)-(22,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving10.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving2_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving2_razor.g.cs new file mode 100644 index 0000000..27d0c7a --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving2_razor.g.cs @@ -0,0 +1,369 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3017d4c842214afd9ea317e328551ac18b862df2d1728975f540ee620172ef19" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.KidsGames.halving +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +"/kids-games/halving-two" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Halving2 : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.AddMarkupContent(0, "\n\n\n\n"); + __builder.OpenComponent(1); + __builder.AddAttribute(2, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (9,13)-(9,39) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +__builder2.AddContent(3, App.PageTitle("Halving 2") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(4, "\n\n"); + __builder.OpenComponent(5); + __builder.AddAttribute(6, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(7); + __builder2.AddComponentParameter(8, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (12,27)-(12,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(9, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(10, "\n Home\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving2.TypeInference.CreateFluentIcon_0(__builder3, 11, 12, +#nullable restore +#line (14,30)-(14,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +new Size16.Home() + +#line default +#line hidden +#nullable disable + , 13, +#nullable restore +#line (14,58)-(14,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 14, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(15, "\n "); + __builder2.OpenComponent(16); + __builder2.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (16,27)-(16,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(18, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(19, "\n Kids Games\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving2.TypeInference.CreateFluentIcon_1(__builder3, 20, 21, +#nullable restore +#line (18,30)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +new Size16.Games() + +#line default +#line hidden +#nullable disable + , 22, +#nullable restore +#line (18,59)-(18,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 23, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(24, "\n "); + __builder2.OpenComponent(25); + __builder2.AddAttribute(26, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(27, "\n Breadcrumb item 3\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving2.TypeInference.CreateFluentIcon_2(__builder3, 28, 29, +#nullable restore +#line (22,30)-(22,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +new Size16.Money() + +#line default +#line hidden +#nullable disable + , 30, +#nullable restore +#line (22,59)-(22,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 31, "start"); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(32, "\n\n"); + __builder.AddMarkupContent(33, "

Halving Two

\n\n"); + __builder.AddMarkupContent(34, "

Half of 2 =

\n\n"); + __builder.AddMarkupContent(35, @" +
+
+
+
+ +"); + __builder.AddMarkupContent(36, @"
+
+ +"); + __builder.AddMarkupContent(37, @"
Please Note: This game works on touch screen devices only. You can select using your mouse, but + you will not be able to position correctly. Sorry for the inconvenience. +
+ +"); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving2 +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,21)-(14,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,50)-(14,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,73)-(14,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,21)-(18,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,51)-(18,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,74)-(18,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,21)-(22,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,51)-(22,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,74)-(22,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving2.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving4_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving4_razor.g.cs new file mode 100644 index 0000000..5e0ed78 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving4_razor.g.cs @@ -0,0 +1,371 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "15d0a8fb15edb809e5e59b7bba31079e17bb1a52bd6b54bfc8b5214173336eba" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.KidsGames.halving +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +"/kids-games/halving-four" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Halving4 : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.AddMarkupContent(0, "\n\n\n\n"); + __builder.OpenComponent(1); + __builder.AddAttribute(2, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (9,13)-(9,39) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +__builder2.AddContent(3, App.PageTitle("Halving 4") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(4, "\n\n"); + __builder.OpenComponent(5); + __builder.AddAttribute(6, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(7); + __builder2.AddComponentParameter(8, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (12,27)-(12,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(9, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(10, "\n Home\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving4.TypeInference.CreateFluentIcon_0(__builder3, 11, 12, +#nullable restore +#line (14,30)-(14,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +new Size16.Home() + +#line default +#line hidden +#nullable disable + , 13, +#nullable restore +#line (14,58)-(14,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 14, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(15, "\n "); + __builder2.OpenComponent(16); + __builder2.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (16,27)-(16,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(18, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(19, "\n Kids Games\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving4.TypeInference.CreateFluentIcon_1(__builder3, 20, 21, +#nullable restore +#line (18,30)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +new Size16.Games() + +#line default +#line hidden +#nullable disable + , 22, +#nullable restore +#line (18,59)-(18,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 23, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(24, "\n "); + __builder2.OpenComponent(25); + __builder2.AddAttribute(26, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(27, "\n Breadcrumb item 3\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving4.TypeInference.CreateFluentIcon_2(__builder3, 28, 29, +#nullable restore +#line (22,30)-(22,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +new Size16.Money() + +#line default +#line hidden +#nullable disable + , 30, +#nullable restore +#line (22,59)-(22,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 31, "start"); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(32, "\n\n"); + __builder.AddMarkupContent(33, "

Halving Four

\n\n"); + __builder.AddMarkupContent(34, "

Half of 4 =

\n\n"); + __builder.AddMarkupContent(35, @" +
+
+
+
+
+
+ +"); + __builder.AddMarkupContent(36, @"
+
+ +"); + __builder.AddMarkupContent(37, @"
Please Note: This game works on touch screen devices only. You can select using your mouse, but + you will not be able to position correctly. Sorry for the inconvenience. +
+ +"); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving4 +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,21)-(14,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,50)-(14,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,73)-(14,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,21)-(18,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,51)-(18,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,74)-(18,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,21)-(22,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,51)-(22,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,74)-(22,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving4.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving6_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving6_razor.g.cs new file mode 100644 index 0000000..eaf5b47 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving6_razor.g.cs @@ -0,0 +1,373 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2ba218cc070496d390ad30767b2591157bf3b5c9140fa859be0c63734aeb8972" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.KidsGames.halving +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +"/kids-games/halving-six" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Halving6 : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.AddMarkupContent(0, "\n\n\n\n"); + __builder.OpenComponent(1); + __builder.AddAttribute(2, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (9,13)-(9,39) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +__builder2.AddContent(3, App.PageTitle("Halving 6") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(4, "\n\n"); + __builder.OpenComponent(5); + __builder.AddAttribute(6, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(7); + __builder2.AddComponentParameter(8, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (12,27)-(12,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(9, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(10, "\n Home\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving6.TypeInference.CreateFluentIcon_0(__builder3, 11, 12, +#nullable restore +#line (14,30)-(14,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +new Size16.Home() + +#line default +#line hidden +#nullable disable + , 13, +#nullable restore +#line (14,58)-(14,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 14, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(15, "\n "); + __builder2.OpenComponent(16); + __builder2.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (16,27)-(16,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(18, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(19, "\n Kids Games\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving6.TypeInference.CreateFluentIcon_1(__builder3, 20, 21, +#nullable restore +#line (18,30)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +new Size16.Games() + +#line default +#line hidden +#nullable disable + , 22, +#nullable restore +#line (18,59)-(18,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 23, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(24, "\n "); + __builder2.OpenComponent(25); + __builder2.AddAttribute(26, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(27, "\n Breadcrumb item 3\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving6.TypeInference.CreateFluentIcon_2(__builder3, 28, 29, +#nullable restore +#line (22,30)-(22,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +new Size16.Money() + +#line default +#line hidden +#nullable disable + , 30, +#nullable restore +#line (22,59)-(22,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 31, "start"); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(32, "\n\n"); + __builder.AddMarkupContent(33, "

Halving Six

\n\n"); + __builder.AddMarkupContent(34, "

Half of 6 =

\n\n"); + __builder.AddMarkupContent(35, @" +
+
+
+
+
+
+
+
+ +"); + __builder.AddMarkupContent(36, @"
+
+ +"); + __builder.AddMarkupContent(37, @"
Please Note: This game works on touch screen devices only. You can select using your mouse, but + you will not be able to position correctly. Sorry for the inconvenience. +
+ +"); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving6 +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,21)-(14,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,50)-(14,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,73)-(14,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,21)-(18,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,51)-(18,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,74)-(18,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,21)-(22,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,51)-(22,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,74)-(22,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving6.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving8_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving8_razor.g.cs new file mode 100644 index 0000000..9cfd60a --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_halving_Halving8_razor.g.cs @@ -0,0 +1,363 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5ac9a1e09d23fc177c0d11d8ef0c029b60f0e1a2dd2584364ade59db4ddd0a9a" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.KidsGames.halving +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +"/kids-games/halving-eight" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Halving8 : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.AddMarkupContent(0, "\n\n\n\n"); + __builder.OpenComponent(1); + __builder.AddAttribute(2, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (9,13)-(9,39) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +__builder2.AddContent(3, App.PageTitle("Halving 8") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(4, "\n\n"); + __builder.OpenComponent(5); + __builder.AddAttribute(6, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(7); + __builder2.AddComponentParameter(8, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (12,27)-(12,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(9, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(10, "\n Home\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving8.TypeInference.CreateFluentIcon_0(__builder3, 11, 12, +#nullable restore +#line (14,30)-(14,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +new Size16.Home() + +#line default +#line hidden +#nullable disable + , 13, +#nullable restore +#line (14,58)-(14,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 14, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(15, "\n "); + __builder2.OpenComponent(16); + __builder2.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (16,27)-(16,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(18, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(19, "\n Kids Games\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving8.TypeInference.CreateFluentIcon_1(__builder3, 20, 21, +#nullable restore +#line (18,30)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +new Size16.Games() + +#line default +#line hidden +#nullable disable + , 22, +#nullable restore +#line (18,59)-(18,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 23, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(24, "\n "); + __builder2.OpenComponent(25); + __builder2.AddAttribute(26, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(27, "\n Breadcrumb item 3\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving8.TypeInference.CreateFluentIcon_2(__builder3, 28, 29, +#nullable restore +#line (22,30)-(22,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +new Size16.Money() + +#line default +#line hidden +#nullable disable + , 30, +#nullable restore +#line (22,59)-(22,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 31, "start"); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(32, "\n\n"); + __builder.AddMarkupContent(33, "

Halving Eight

\n\n"); + __builder.AddMarkupContent(34, "

Half of 8 =

\n\n"); + __builder.AddMarkupContent(35, "\n
\"fries\"
\n
\"fries\"
\n
\"fries\"
\n
\"fries\"
\n
\"fries\"
\n
\"fries\"
\n
\"fries\"
\n
\"fries\"
\"monsters-at-the-table\"\n
\n
\n\n"); + __builder.AddMarkupContent(36, @"
+
+ +"); + __builder.AddMarkupContent(37, @"
Please Note: This game works on touch screen devices only. You can select using your mouse, but + you will not be able to position correctly. Sorry for the inconvenience. +
+ +"); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.KidsGames.halving.Halving8 +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,21)-(14,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,50)-(14,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,73)-(14,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,21)-(18,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,51)-(18,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,74)-(18,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,21)-(22,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,51)-(22,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,74)-(22,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/halving/Halving8.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_matching_MatchAnimals_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_matching_MatchAnimals_razor.g.cs new file mode 100644 index 0000000..bd9a218 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_matching_MatchAnimals_razor.g.cs @@ -0,0 +1,375 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "07f29f7f4d4203a9ff68f60897d9970a36da4dcb3ed633d1b87bd37cdfd662bf" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.KidsGames.matching +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +"/kids-games/match-animals" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class MatchAnimals : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.AddMarkupContent(0, "\n\n\n\n"); + __builder.OpenComponent(1); + __builder.AddAttribute(2, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (9,13)-(9,43) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +__builder2.AddContent(3, App.PageTitle("Match Animals") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(4, "\n\n"); + __builder.OpenComponent(5); + __builder.AddAttribute(6, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(7); + __builder2.AddComponentParameter(8, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (12,27)-(12,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(9, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(10, "\n Home\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.matching.MatchAnimals.TypeInference.CreateFluentIcon_0(__builder3, 11, 12, +#nullable restore +#line (14,30)-(14,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +new Size16.Home() + +#line default +#line hidden +#nullable disable + , 13, +#nullable restore +#line (14,58)-(14,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 14, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(15, "\n "); + __builder2.OpenComponent(16); + __builder2.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (16,27)-(16,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(18, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(19, "\n Kids Games\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.matching.MatchAnimals.TypeInference.CreateFluentIcon_1(__builder3, 20, 21, +#nullable restore +#line (18,30)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +new Size16.Games() + +#line default +#line hidden +#nullable disable + , 22, +#nullable restore +#line (18,59)-(18,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 23, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(24, "\n "); + __builder2.OpenComponent(25); + __builder2.AddAttribute(26, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(27, "\n Breadcrumb item 3\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.matching.MatchAnimals.TypeInference.CreateFluentIcon_2(__builder3, 28, 29, +#nullable restore +#line (22,30)-(22,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +new Size16.Money() + +#line default +#line hidden +#nullable disable + , 30, +#nullable restore +#line (22,59)-(22,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 31, "start"); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(32, "\n\n"); + __builder.AddMarkupContent(33, "

Match Animals

\n\n"); + __builder.AddMarkupContent(34, "

Drag each animal to the correct box

\n\n"); + __builder.AddMarkupContent(35, @"
+
+
+
+ +"); + __builder.AddMarkupContent(36, @"

Fish

+

Mouse

+

Kittens

+

Dog

+ +"); + __builder.AddMarkupContent(37, @"
+
+
+ +"); + __builder.AddMarkupContent(38, @"
Please Note: This game works on touch screen devices only. You can select using your mouse, but + you will not be able to position correctly. Sorry for the inconvenience. +
+ +"); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.KidsGames.matching.MatchAnimals +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,21)-(14,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,50)-(14,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,73)-(14,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,21)-(18,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,51)-(18,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,74)-(18,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,21)-(22,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,51)-(22,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,74)-(22,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchAnimals.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_matching_MatchHouses_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_matching_MatchHouses_razor.g.cs new file mode 100644 index 0000000..bf2c2fd --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_KidsGames_matching_MatchHouses_razor.g.cs @@ -0,0 +1,375 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4c33a83c23abb91f1171f8e166b0f853f616b0cea7a0f4165817076d89416061" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.KidsGames.matching +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (3,12)-(3,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,33) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +"/kids-games/match-houses" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class MatchHouses : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.AddMarkupContent(0, "\n\n\n\n"); + __builder.OpenComponent(1); + __builder.AddAttribute(2, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (9,13)-(9,42) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +__builder2.AddContent(3, App.PageTitle("Match Houses") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(4, "\n\n"); + __builder.OpenComponent(5); + __builder.AddAttribute(6, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(7); + __builder2.AddComponentParameter(8, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (12,27)-(12,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(9, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(10, "\n Home\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.matching.MatchHouses.TypeInference.CreateFluentIcon_0(__builder3, 11, 12, +#nullable restore +#line (14,30)-(14,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +new Size16.Home() + +#line default +#line hidden +#nullable disable + , 13, +#nullable restore +#line (14,58)-(14,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 14, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(15, "\n "); + __builder2.OpenComponent(16); + __builder2.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentBreadcrumbItem. +#nullable restore +#line (16,27)-(16,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Href + +#line default +#line hidden +#nullable disable + ), "#"); + __builder2.AddAttribute(18, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(19, "\n Kids Games\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.matching.MatchHouses.TypeInference.CreateFluentIcon_1(__builder3, 20, 21, +#nullable restore +#line (18,30)-(18,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +new Size16.Games() + +#line default +#line hidden +#nullable disable + , 22, +#nullable restore +#line (18,59)-(18,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 23, "start"); + } + )); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(24, "\n "); + __builder2.OpenComponent(25); + __builder2.AddAttribute(26, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.AddMarkupContent(27, "\n Breadcrumb item 3\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.KidsGames.matching.MatchHouses.TypeInference.CreateFluentIcon_2(__builder3, 28, 29, +#nullable restore +#line (22,30)-(22,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +new Size16.Money() + +#line default +#line hidden +#nullable disable + , 30, +#nullable restore +#line (22,59)-(22,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Color.Neutral + +#line default +#line hidden +#nullable disable + , 31, "start"); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(32, "\n\n"); + __builder.AddMarkupContent(33, "

Match Houses

\n\n"); + __builder.AddMarkupContent(34, "

Drag each house to the correct box

\n\n"); + __builder.AddMarkupContent(35, @"
+
+
+
+ +"); + __builder.AddMarkupContent(36, @"

Cottage

+

Detached House

+

Semi-detached House

+

Terraced house

+ +"); + __builder.AddMarkupContent(37, @"
+
+
+ +"); + __builder.AddMarkupContent(38, @"
Please Note: This game works on touch screen devices only. You can select using your mouse, but + you will not be able to position correctly. Sorry for the inconvenience. +
+ +"); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.KidsGames.matching.MatchHouses +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentIcon_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,21)-(14,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,50)-(14,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (14,73)-(14,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,21)-(18,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,51)-(18,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (18,74)-(18,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + public static void CreateFluentIcon_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, Icon __arg0, int __seq1, global::Microsoft.FluentUI.AspNetCore.Components.Color? __arg1, int __seq2, global::System.String __arg2) + where Icon : global::Microsoft.FluentUI.AspNetCore.Components.Icon, new() + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,21)-(22,26) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,51)-(22,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Color + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentIcon. +#nullable restore +#line (22,74)-(22,78) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/KidsGames/matching/MatchHouses.razor" +Slot + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_NuGetDocumentation_AStarDevFunctionalResults_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_NuGetDocumentation_AStarDevFunctionalResults_razor.g.cs new file mode 100644 index 0000000..04ba112 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_NuGetDocumentation_AStarDevFunctionalResults_razor.g.cs @@ -0,0 +1,241 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/AStarDevFunctionalResults.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5cff32435d7ff0709f013d80968473ac66721dfc537b98482801e94b926c644e" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.NuGetDocumentation +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (2,12)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/AStarDevFunctionalResults.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/AStarDevFunctionalResults.razor" +"/nuget-documentation/astar-dev-functional-extensions" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class AStarDevFunctionalResults : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,62) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/AStarDevFunctionalResults.razor" +__builder2.AddContent(2, App.PageTitle("Functional Results Documentation") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

AStar Dev Functional Results

\n\n"); + __builder.OpenComponent(5); + __builder.AddComponentParameter(6, nameof(global::AStar.Dev.Web.Components.Pages.NuGetDocumentation.MarkdownView. +#nullable restore +#line (8,15)-(8,22) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/AStarDevFunctionalResults.razor" +Content + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (8,25)-(8,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/AStarDevFunctionalResults.razor" +Doc + +#line default +#line hidden +#nullable disable + )); + __builder.CloseComponent(); + } + #pragma warning restore 1998 +#nullable restore +#line (10,8)-(81,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/AStarDevFunctionalResults.razor" + + + private const string Doc = """" + # 📦 Result - Functional Error Handling for C# + + A powerful, functional approach to error handling in C# that avoids exceptions and promotes predictable, composable code. + + ## 🧭 Overview + + Result is a discriminated union type that represents either successful completion with a value or failure with an error. This approach to error handling: + + - ✅ Makes error handling explicit in your function signatures + - ✅ Encourages composition of operations that might fail + - ✅ Eliminates the need for try/catch blocks across your codebase + - ✅ Provides comprehensive async support + - ✅ Allows for functional programming patterns in C# + + ## 📚 Documentation + + - [Core Concepts](docs/core-concepts.md) + - [Basic Usage Guide](docs/basic-usage.md) + - [Advanced Usage](docs/advanced-usage.md) + - [Method Reference](docs/method-reference.md) + - [Error Handling Patterns](docs/error-handling-patterns.md) + - [Testing with Results](docs/testing.md) + + ## 🚀 Quick Start + + Install the package from NuGet: + + ```bash + dotnet add package AStar.Dev.Functional.Extensions + ``` + + Basic usage: + + ``` csharp + using AStar.Dev.Functional.Extensions; + + // Create a success result + Result + successResult = new Result + .Ok("Harry Potter"); + + // Create an error result + Result + errorResult = new Result + .Error("Book out of stock"); + + // Match on result to handle both success and error cases + string message = orderResult.Match( + onSuccess: order => $"Order #{order.Id} confirmed: {order.Total:C}", + onFailure: error => $"Order failed: {error}" + ); + ``` + + ## 📋 Features + + - Discriminated union representing success or failure + - Comprehensive set of transformation methods (Map, Bind, etc.) + - Full async support with all combination of sync/async operations + - Side-effect methods for logging and monitoring (Tap, TapError) + - Clear, functional approach to error handling + - Zero dependencies + + ## 📄 License + + MIT + + """"; + + +#line default +#line hidden +#nullable disable + + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_NuGetDocumentation_MarkdownView_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_NuGetDocumentation_MarkdownView_razor.g.cs new file mode 100644 index 0000000..cea44f0 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_NuGetDocumentation_MarkdownView_razor.g.cs @@ -0,0 +1,122 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/MarkdownView.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "c77c550ff4c69791c67f33afaf113cd240afed588e2e3d4a66d7cb842e2e664f" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.NuGetDocumentation +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + #nullable restore + public partial class MarkdownView : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenElement(0, "div"); + __builder.AddAttribute(1, "class", "markdown-body"); +#nullable restore +#line (2,7)-(2,25) 24 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/MarkdownView.razor" +__builder.AddContent(2, (MarkupString)Html + +#line default +#line hidden +#nullable disable + ); + __builder.CloseElement(); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_NuGetDocumentation_NuGetDocumentation_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_NuGetDocumentation_NuGetDocumentation_razor.g.cs new file mode 100644 index 0000000..e0a65d0 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_NuGetDocumentation_NuGetDocumentation_razor.g.cs @@ -0,0 +1,153 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/NuGetDocumentation.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8ae8e0a65b3aa6ac3335e56491cd4b325d37b6ce743dc1945212a9b4cc75ba91" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.NuGetDocumentation +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (2,12)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/NuGetDocumentation.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (1,7)-(1,29) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/NuGetDocumentation.razor" +"/nuget-documentation" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class NuGetDocumentation : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,49) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/NuGetDocumentation/NuGetDocumentation.razor" +__builder2.AddContent(2, App.PageTitle("NuGet Documentation") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

NuGet Documentation

\n\n"); + __builder.AddMarkupContent(5, "

Please select the package you are interested in from the list below (more items will be added, so please check back regularly)

\n\n"); + __builder.OpenComponent(6); + __builder.AddComponentParameter(7, "class", "nav-link"); + __builder.AddComponentParameter(8, "href", "nuget-documentation/astar-dev-functional-extensions"); + __builder.AddAttribute(9, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(10, " AStar Dev Functional Results\n"); + } + )); + __builder.CloseComponent(); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Shared_Search_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Shared_Search_razor.g.cs new file mode 100644 index 0000000..1b6c037 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Shared_Search_razor.g.cs @@ -0,0 +1,1614 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "6e830651b699daf99aa65a44841f3e59e660fa4a970f1d7247a3769fa1f9b1b6" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages.Shared +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + #nullable restore + public partial class Search : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddComponentParameter(1, nameof(global::Microsoft.AspNetCore.Components.Forms.EditForm. +#nullable restore +#line (1,11)-(1,16) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Model + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (1,19)-(1,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(2, nameof(global::Microsoft.AspNetCore.Components.Forms.EditForm. +#nullable restore +#line (1,32)-(1,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OnValidSubmit + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, +#nullable restore +#line (1,48)-(1,64) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +HandleFormSubmit + +#line default +#line hidden +#nullable disable + ))); + __builder.AddComponentParameter(3, nameof(global::Microsoft.AspNetCore.Components.Forms.EditForm. +#nullable restore +#line (1,66)-(1,74) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +FormName + +#line default +#line hidden +#nullable disable + ), "search"); + __builder.AddAttribute(4, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((context) => (__builder2) => { + __builder2.OpenComponent(5); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(6, "\n "); + __builder2.OpenComponent(7); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(8, "\n\n "); + __builder2.OpenComponent(9); + __builder2.AddComponentParameter(10, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGrid. +#nullable restore +#line (5,17)-(5,24) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Spacing + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (5,26)-(5,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +3 + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(11, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGrid. +#nullable restore +#line (5,29)-(5,46) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +AdaptiveRendering + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (5,48)-(5,52) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +true + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(12, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGrid. +#nullable restore +#line (5,54)-(5,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Justify + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (5,63)-(5,87) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +JustifyContent.FlexStart + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(13, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGrid. +#nullable restore +#line (5,89)-(5,94) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), "background-color: var(--neutral-layer-3); padding: 4px; "); + __builder2.AddAttribute(14, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => { + __builder3.OpenComponent(15); + __builder3.AddComponentParameter(16, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (6,25)-(6,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (6,29)-(6,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +12 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(17, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (6,33)-(6,35) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (6,37)-(6,38) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(18, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(19, "div"); + __builder4.AddAttribute(20, "class", "card"); + __builder4.OpenComponent(21); + __builder4.AddComponentParameter(22, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (8,34)-(8,38) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Name + +#line default +#line hidden +#nullable disable + ), "startingDirectory"); + __builder4.AddComponentParameter(23, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (8,103)-(8,108) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Label + +#line default +#line hidden +#nullable disable + ), "StartingDirectory"); + __builder4.AddComponentParameter(24, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (8,129)-(8,137) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Required + +#line default +#line hidden +#nullable disable + ), true); + __builder4.AddComponentParameter(25, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (8,138)-(8,143) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), "width: 100%;"); + __builder4.AddComponentParameter(26, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (8,65)-(8,70) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Value + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (8,72)-(8,101) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.StartingDirectory + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(27, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => SearchModel.StartingDirectory = __value, SearchModel.StartingDirectory)))); + __builder4.AddComponentParameter(28, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>>(() => SearchModel.StartingDirectory)); + __builder4.CloseComponent(); + __builder4.AddMarkupContent(29, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentValidationMessage_0(__builder4, 30, 31, +#nullable restore +#line (9,49)-(9,84) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +() => SearchModel.StartingDirectory + +#line default +#line hidden +#nullable disable + ); + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(32, "\n "); + __builder3.OpenComponent(33); + __builder3.AddComponentParameter(34, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (12,25)-(12,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (12,29)-(12,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(35, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (12,32)-(12,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (12,36)-(12,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +3 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(36, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(37, "div"); + __builder4.AddAttribute(38, "class", "card"); + __builder4.OpenComponent(39); + __builder4.AddComponentParameter(40, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (14,34)-(14,38) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Name + +#line default +#line hidden +#nullable disable + ), "searchText"); + __builder4.AddComponentParameter(41, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (14,89)-(14,94) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Label + +#line default +#line hidden +#nullable disable + ), "SearchText"); + __builder4.AddComponentParameter(42, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (14,108)-(14,113) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), "width: 100%;"); + __builder4.AddComponentParameter(43, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField. +#nullable restore +#line (14,58)-(14,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Value + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (14,65)-(14,87) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.SearchText + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(44, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => SearchModel.SearchText = __value, SearchModel.SearchText)))); + __builder4.AddComponentParameter(45, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentTextField.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>>(() => SearchModel.SearchText)); + __builder4.CloseComponent(); + __builder4.AddMarkupContent(46, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentValidationMessage_1(__builder4, 47, 48, +#nullable restore +#line (15,49)-(15,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +() => SearchModel.SearchText + +#line default +#line hidden +#nullable disable + ); + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(49, "\n "); + __builder3.OpenComponent(50); + __builder3.AddComponentParameter(51, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (18,25)-(18,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (18,29)-(18,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(52, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (18,32)-(18,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (18,36)-(18,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +3 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(53, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(54, "div"); + __builder4.AddAttribute(55, "class", "card"); + __builder4.OpenComponent(56); + __builder4.AddComponentParameter(57, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (20,67)-(20,72) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Label + +#line default +#line hidden +#nullable disable + ), "Recursive"); + __builder4.AddComponentParameter(58, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (20,85)-(20,90) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), "margin-top: 24px;"); + __builder4.AddComponentParameter(59, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (20,37)-(20,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Value + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (20,44)-(20,65) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.Recursive + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(60, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => SearchModel.Recursive = __value, SearchModel.Recursive)))); + __builder4.AddComponentParameter(61, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>>(() => SearchModel.Recursive)); + __builder4.CloseComponent(); + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(62, "\n "); + __builder3.OpenComponent(63); + __builder3.AddComponentParameter(64, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (23,25)-(23,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (23,29)-(23,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(65, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (23,32)-(23,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (23,36)-(23,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +4 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(66, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(67, "div"); + __builder4.AddAttribute(68, "class", "card"); + { + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentSelect_2_CaptureParameters("File Classification 1", out var __typeInferenceArg_3___arg0, +#nullable restore +#line (27,39)-(27,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +FileClassifications + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg1, +#nullable restore +#line (28,46)-(28,66) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +x => x.Id.ToString() + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg2, +#nullable restore +#line (29,45)-(29,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +x => x.Name + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg3, "width: 100%;", out var __typeInferenceArg_3___arg4, +#nullable restore +#line (26,44)-(26,75) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.FileClassification1 + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg5, global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => SearchModel.FileClassification1 = __value, SearchModel.FileClassification1)), out var __typeInferenceArg_3___arg6, () => SearchModel.FileClassification1, out var __typeInferenceArg_3___arg7); + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentSelect_2(__builder4, 69, 70, __typeInferenceArg_3___arg0, 71, __typeInferenceArg_3___arg1, 72, __typeInferenceArg_3___arg2, 73, __typeInferenceArg_3___arg3, 74, __typeInferenceArg_3___arg4, 75, __typeInferenceArg_3___arg5, 76, __typeInferenceArg_3___arg6, 77, __typeInferenceArg_3___arg7); + __typeInferenceArg_3___arg0 = default; + __typeInferenceArg_3___arg1 = default; + __typeInferenceArg_3___arg2 = default; + __typeInferenceArg_3___arg3 = default; + __typeInferenceArg_3___arg4 = default; + __typeInferenceArg_3___arg5 = default; + __typeInferenceArg_3___arg6 = default; + __typeInferenceArg_3___arg7 = default; + } + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(78, "\n "); + __builder3.OpenComponent(79); + __builder3.AddComponentParameter(80, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (33,25)-(33,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (33,29)-(33,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(81, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (33,32)-(33,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (33,36)-(33,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +2 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(82, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(83, "div"); + __builder4.AddAttribute(84, "class", "card"); + __builder4.OpenComponent(85); + __builder4.AddComponentParameter(86, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (36,31)-(36,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Label + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (36,40)-(36,81) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.UseAndOperator ? "AND" : "OR" + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(87, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (37,31)-(37,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), "margin-top: 24px;"); + __builder4.AddComponentParameter(88, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (35,37)-(35,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Value + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (35,44)-(35,70) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.UseAndOperator + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(89, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => SearchModel.UseAndOperator = __value, SearchModel.UseAndOperator)))); + __builder4.AddComponentParameter(90, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>>(() => SearchModel.UseAndOperator)); + __builder4.CloseComponent(); + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(91, "\n "); + __builder3.OpenComponent(92); + __builder3.AddComponentParameter(93, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (40,25)-(40,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (40,29)-(40,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(94, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (40,32)-(40,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (40,36)-(40,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +4 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(95, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(96, "div"); + __builder4.AddAttribute(97, "class", "card"); + { + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentSelect_3_CaptureParameters("File Classification 2", out var __typeInferenceArg_3___arg0, +#nullable restore +#line (44,39)-(44,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +FileClassifications + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg1, +#nullable restore +#line (45,46)-(45,66) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +x => x.Id.ToString() + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg2, +#nullable restore +#line (46,45)-(46,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +x => x.Name + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg3, "width: 100%;", out var __typeInferenceArg_3___arg4, +#nullable restore +#line (43,44)-(43,75) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.FileClassification2 + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg5, global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => SearchModel.FileClassification2 = __value, SearchModel.FileClassification2)), out var __typeInferenceArg_3___arg6, () => SearchModel.FileClassification2, out var __typeInferenceArg_3___arg7); + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentSelect_3(__builder4, 98, 99, __typeInferenceArg_3___arg0, 100, __typeInferenceArg_3___arg1, 101, __typeInferenceArg_3___arg2, 102, __typeInferenceArg_3___arg3, 103, __typeInferenceArg_3___arg4, 104, __typeInferenceArg_3___arg5, 105, __typeInferenceArg_3___arg6, 106, __typeInferenceArg_3___arg7); + __typeInferenceArg_3___arg0 = default; + __typeInferenceArg_3___arg1 = default; + __typeInferenceArg_3___arg2 = default; + __typeInferenceArg_3___arg3 = default; + __typeInferenceArg_3___arg4 = default; + __typeInferenceArg_3___arg5 = default; + __typeInferenceArg_3___arg6 = default; + __typeInferenceArg_3___arg7 = default; + } + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(107, "\n "); + __builder3.OpenComponent(108); + __builder3.AddComponentParameter(109, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (50,25)-(50,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (50,29)-(50,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(110, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (50,32)-(50,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (50,36)-(50,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +3 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(111, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(112, "div"); + __builder4.AddAttribute(113, "class", "card"); + { + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentSelect_4_CaptureParameters("Exclude Viewed Within Days", out var __typeInferenceArg_3___arg0, +#nullable restore +#line (54,39)-(54,81) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.ExcludeViewedWithinDaysOptions + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg1, +#nullable restore +#line (55,46)-(55,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +x => x.ToString() + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg2, +#nullable restore +#line (56,45)-(56,64) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +x => GetDaysText(x) + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg3, "width: 100%;", out var __typeInferenceArg_3___arg4, +#nullable restore +#line (53,44)-(53,79) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.ExcludeViewedWithinDays + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg5, global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => SearchModel.ExcludeViewedWithinDays = __value, SearchModel.ExcludeViewedWithinDays)), out var __typeInferenceArg_3___arg6, () => SearchModel.ExcludeViewedWithinDays, out var __typeInferenceArg_3___arg7); + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentSelect_4(__builder4, 114, 115, __typeInferenceArg_3___arg0, 116, __typeInferenceArg_3___arg1, 117, __typeInferenceArg_3___arg2, 118, __typeInferenceArg_3___arg3, 119, __typeInferenceArg_3___arg4, 120, __typeInferenceArg_3___arg5, 121, __typeInferenceArg_3___arg6, 122, __typeInferenceArg_3___arg7); + __typeInferenceArg_3___arg0 = default; + __typeInferenceArg_3___arg1 = default; + __typeInferenceArg_3___arg2 = default; + __typeInferenceArg_3___arg3 = default; + __typeInferenceArg_3___arg4 = default; + __typeInferenceArg_3___arg5 = default; + __typeInferenceArg_3___arg6 = default; + __typeInferenceArg_3___arg7 = default; + } + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(123, "\n "); + __builder3.OpenComponent(124); + __builder3.AddComponentParameter(125, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (60,25)-(60,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (60,29)-(60,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(126, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (60,32)-(60,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (60,36)-(60,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +3 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(127, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(128, "div"); + __builder4.AddAttribute(129, "class", "card"); + __builder4.OpenComponent(130); + __builder4.AddComponentParameter(131, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (62,82)-(62,87) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Label + +#line default +#line hidden +#nullable disable + ), "Include marked for deletion"); + __builder4.AddComponentParameter(132, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (62,118)-(62,123) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), "margin-top: 24px;"); + __builder4.AddComponentParameter(133, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch. +#nullable restore +#line (62,37)-(62,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Value + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (62,44)-(62,80) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.IncludeMarkedForDeletion + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(134, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch.ValueChanged), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>(global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => SearchModel.IncludeMarkedForDeletion = __value, SearchModel.IncludeMarkedForDeletion)))); + __builder4.AddComponentParameter(135, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSwitch.ValueExpression), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>>(() => SearchModel.IncludeMarkedForDeletion)); + __builder4.CloseComponent(); + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(136, "\n "); + __builder3.OpenComponent(137); + __builder3.AddComponentParameter(138, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (65,25)-(65,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (65,29)-(65,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(139, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (65,32)-(65,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (65,36)-(65,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +3 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(140, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(141, "div"); + __builder4.AddAttribute(142, "class", "card"); + { + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentSelect_5_CaptureParameters("Search Type", out var __typeInferenceArg_3___arg0, +#nullable restore +#line (69,39)-(69,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchTypeOptions + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg1, +#nullable restore +#line (70,46)-(70,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +x => x.ToString() + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg2, +#nullable restore +#line (71,45)-(71,70) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +x => GetSearchTypeText(x) + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg3, "width: 100%;", out var __typeInferenceArg_3___arg4, +#nullable restore +#line (68,44)-(68,66) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.SearchType + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg5, global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => SearchModel.SearchType = __value, SearchModel.SearchType)), out var __typeInferenceArg_3___arg6, () => SearchModel.SearchType, out var __typeInferenceArg_3___arg7); + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentSelect_5(__builder4, 143, 144, __typeInferenceArg_3___arg0, 145, __typeInferenceArg_3___arg1, 146, __typeInferenceArg_3___arg2, 147, __typeInferenceArg_3___arg3, 148, __typeInferenceArg_3___arg4, 149, __typeInferenceArg_3___arg5, 150, __typeInferenceArg_3___arg6, 151, __typeInferenceArg_3___arg7); + __typeInferenceArg_3___arg0 = default; + __typeInferenceArg_3___arg1 = default; + __typeInferenceArg_3___arg2 = default; + __typeInferenceArg_3___arg3 = default; + __typeInferenceArg_3___arg4 = default; + __typeInferenceArg_3___arg5 = default; + __typeInferenceArg_3___arg6 = default; + __typeInferenceArg_3___arg7 = default; + } + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(152, "\n "); + __builder3.OpenComponent(153); + __builder3.AddComponentParameter(154, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (75,25)-(75,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (75,29)-(75,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +6 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(155, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (75,32)-(75,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +sm + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (75,36)-(75,37) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +3 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(156, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(157, "div"); + __builder4.AddAttribute(158, "class", "card"); + { + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentSelect_6_CaptureParameters("Sort Order", out var __typeInferenceArg_3___arg0, +#nullable restore +#line (79,39)-(79,55) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SortOrderOptions + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg1, +#nullable restore +#line (80,46)-(80,63) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +x => x.ToString() + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg2, +#nullable restore +#line (81,45)-(81,71) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +x => GetSearchOrderText(x) + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg3, "width: 100%;", out var __typeInferenceArg_3___arg4, +#nullable restore +#line (78,44)-(78,65) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +SearchModel.SortOrder + +#line default +#line hidden +#nullable disable + , out var __typeInferenceArg_3___arg5, global::Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => SearchModel.SortOrder = __value, SearchModel.SortOrder)), out var __typeInferenceArg_3___arg6, () => SearchModel.SortOrder, out var __typeInferenceArg_3___arg7); + global::__Blazor.AStar.Dev.Web.Components.Pages.Shared.Search.TypeInference.CreateFluentSelect_6(__builder4, 159, 160, __typeInferenceArg_3___arg0, 161, __typeInferenceArg_3___arg1, 162, __typeInferenceArg_3___arg2, 163, __typeInferenceArg_3___arg3, 164, __typeInferenceArg_3___arg4, 165, __typeInferenceArg_3___arg5, 166, __typeInferenceArg_3___arg6, 167, __typeInferenceArg_3___arg7); + __typeInferenceArg_3___arg0 = default; + __typeInferenceArg_3___arg1 = default; + __typeInferenceArg_3___arg2 = default; + __typeInferenceArg_3___arg3 = default; + __typeInferenceArg_3___arg4 = default; + __typeInferenceArg_3___arg5 = default; + __typeInferenceArg_3___arg6 = default; + __typeInferenceArg_3___arg7 = default; + } + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + __builder3.AddMarkupContent(168, "\n "); + __builder3.OpenComponent(169); + __builder3.AddComponentParameter(170, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentGridItem. +#nullable restore +#line (85,25)-(85,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +xs + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (85,29)-(85,31) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +12 + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(171, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.OpenElement(172, "div"); + __builder4.AddAttribute(173, "class", "card"); + __builder4.OpenComponent(174); + __builder4.AddComponentParameter(175, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (87,31)-(87,35) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Type + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (87,37)-(87,54) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +ButtonType.Submit + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(176, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (87,56)-(87,66) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Appearance + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (87,68)-(87,85) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Appearance.Accent + +#line default +#line hidden +#nullable disable + )); + __builder4.AddComponentParameter(177, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentButton. +#nullable restore +#line (87,87)-(87,92) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), "width: 100%;"); + __builder4.AddAttribute(178, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder5) => { + __builder5.AddMarkupContent(179, "Start\n Search\n "); + } + )); + __builder4.CloseComponent(); + __builder4.CloseElement(); + } + )); + __builder3.CloseComponent(); + } + )); + __builder2.CloseComponent(); + } + )); + __builder.CloseComponent(); + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.Shared.Search +{ + #line hidden + internal static class TypeInference + { + public static void CreateFluentValidationMessage_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Linq.Expressions.Expression> __arg0) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentValidationMessage. +#nullable restore +#line (9,42)-(9,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +For + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.CloseComponent(); + } + public static void CreateFluentValidationMessage_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Linq.Expressions.Expression> __arg0) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentValidationMessage. +#nullable restore +#line (15,42)-(15,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +For + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.CloseComponent(); + } + public static void CreateFluentSelect_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable __arg1, int __seq2, global::System.Func __arg2, int __seq3, global::System.Func __arg3, int __seq4, global::System.String __arg4, int __seq5, global::System.String __arg5, int __seq6, global::Microsoft.AspNetCore.Components.EventCallback __arg6, int __seq7, global::System.Linq.Expressions.Expression> __arg7) + where TOption : notnull + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (25,31)-(25,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Label + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (27,31)-(27,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Items + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (28,31)-(28,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OptionValue + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (29,31)-(29,41) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OptionText + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.AddComponentParameter(__seq4, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (30,31)-(30,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), __arg4); + __builder.AddComponentParameter(__seq5, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (26,37)-(26,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg5); + __builder.AddComponentParameter(__seq6, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.ValueChanged), __arg6); + __builder.AddComponentParameter(__seq7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.ValueExpression), __arg7); + __builder.CloseComponent(); + } + + public static void CreateFluentSelect_2_CaptureParameters(global::System.String __arg0, out global::System.String __arg0_out, global::System.Collections.Generic.IEnumerable __arg1, out global::System.Collections.Generic.IEnumerable __arg1_out, global::System.Func __arg2, out global::System.Func __arg2_out, global::System.Func __arg3, out global::System.Func __arg3_out, global::System.String __arg4, out global::System.String __arg4_out, global::System.String __arg5, out global::System.String __arg5_out, global::Microsoft.AspNetCore.Components.EventCallback __arg6, out global::Microsoft.AspNetCore.Components.EventCallback __arg6_out, global::System.Linq.Expressions.Expression> __arg7, out global::System.Linq.Expressions.Expression> __arg7_out) + where TOption : notnull + { + __arg0_out = __arg0; + __arg1_out = __arg1; + __arg2_out = __arg2; + __arg3_out = __arg3; + __arg4_out = __arg4; + __arg5_out = __arg5; + __arg6_out = __arg6; + __arg7_out = __arg7; + } + public static void CreateFluentSelect_3(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable __arg1, int __seq2, global::System.Func __arg2, int __seq3, global::System.Func __arg3, int __seq4, global::System.String __arg4, int __seq5, global::System.String __arg5, int __seq6, global::Microsoft.AspNetCore.Components.EventCallback __arg6, int __seq7, global::System.Linq.Expressions.Expression> __arg7) + where TOption : notnull + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (42,31)-(42,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Label + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (44,31)-(44,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Items + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (45,31)-(45,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OptionValue + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (46,31)-(46,41) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OptionText + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.AddComponentParameter(__seq4, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (47,31)-(47,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), __arg4); + __builder.AddComponentParameter(__seq5, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (43,37)-(43,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg5); + __builder.AddComponentParameter(__seq6, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.ValueChanged), __arg6); + __builder.AddComponentParameter(__seq7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.ValueExpression), __arg7); + __builder.CloseComponent(); + } + + public static void CreateFluentSelect_3_CaptureParameters(global::System.String __arg0, out global::System.String __arg0_out, global::System.Collections.Generic.IEnumerable __arg1, out global::System.Collections.Generic.IEnumerable __arg1_out, global::System.Func __arg2, out global::System.Func __arg2_out, global::System.Func __arg3, out global::System.Func __arg3_out, global::System.String __arg4, out global::System.String __arg4_out, global::System.String __arg5, out global::System.String __arg5_out, global::Microsoft.AspNetCore.Components.EventCallback __arg6, out global::Microsoft.AspNetCore.Components.EventCallback __arg6_out, global::System.Linq.Expressions.Expression> __arg7, out global::System.Linq.Expressions.Expression> __arg7_out) + where TOption : notnull + { + __arg0_out = __arg0; + __arg1_out = __arg1; + __arg2_out = __arg2; + __arg3_out = __arg3; + __arg4_out = __arg4; + __arg5_out = __arg5; + __arg6_out = __arg6; + __arg7_out = __arg7; + } + public static void CreateFluentSelect_4(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable __arg1, int __seq2, global::System.Func __arg2, int __seq3, global::System.Func __arg3, int __seq4, global::System.String __arg4, int __seq5, global::System.String __arg5, int __seq6, global::Microsoft.AspNetCore.Components.EventCallback __arg6, int __seq7, global::System.Linq.Expressions.Expression> __arg7) + where TOption : notnull + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (52,31)-(52,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Label + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (54,31)-(54,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Items + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (55,31)-(55,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OptionValue + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (56,31)-(56,41) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OptionText + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.AddComponentParameter(__seq4, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (57,31)-(57,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), __arg4); + __builder.AddComponentParameter(__seq5, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (53,37)-(53,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg5); + __builder.AddComponentParameter(__seq6, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.ValueChanged), __arg6); + __builder.AddComponentParameter(__seq7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.ValueExpression), __arg7); + __builder.CloseComponent(); + } + + public static void CreateFluentSelect_4_CaptureParameters(global::System.String __arg0, out global::System.String __arg0_out, global::System.Collections.Generic.IEnumerable __arg1, out global::System.Collections.Generic.IEnumerable __arg1_out, global::System.Func __arg2, out global::System.Func __arg2_out, global::System.Func __arg3, out global::System.Func __arg3_out, global::System.String __arg4, out global::System.String __arg4_out, global::System.String __arg5, out global::System.String __arg5_out, global::Microsoft.AspNetCore.Components.EventCallback __arg6, out global::Microsoft.AspNetCore.Components.EventCallback __arg6_out, global::System.Linq.Expressions.Expression> __arg7, out global::System.Linq.Expressions.Expression> __arg7_out) + where TOption : notnull + { + __arg0_out = __arg0; + __arg1_out = __arg1; + __arg2_out = __arg2; + __arg3_out = __arg3; + __arg4_out = __arg4; + __arg5_out = __arg5; + __arg6_out = __arg6; + __arg7_out = __arg7; + } + public static void CreateFluentSelect_5(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable __arg1, int __seq2, global::System.Func __arg2, int __seq3, global::System.Func __arg3, int __seq4, global::System.String __arg4, int __seq5, global::System.String __arg5, int __seq6, global::Microsoft.AspNetCore.Components.EventCallback __arg6, int __seq7, global::System.Linq.Expressions.Expression> __arg7) + where TOption : notnull + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (67,31)-(67,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Label + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (69,31)-(69,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Items + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (70,31)-(70,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OptionValue + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (71,31)-(71,41) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OptionText + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.AddComponentParameter(__seq4, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (72,31)-(72,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), __arg4); + __builder.AddComponentParameter(__seq5, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (68,37)-(68,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg5); + __builder.AddComponentParameter(__seq6, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.ValueChanged), __arg6); + __builder.AddComponentParameter(__seq7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.ValueExpression), __arg7); + __builder.CloseComponent(); + } + + public static void CreateFluentSelect_5_CaptureParameters(global::System.String __arg0, out global::System.String __arg0_out, global::System.Collections.Generic.IEnumerable __arg1, out global::System.Collections.Generic.IEnumerable __arg1_out, global::System.Func __arg2, out global::System.Func __arg2_out, global::System.Func __arg3, out global::System.Func __arg3_out, global::System.String __arg4, out global::System.String __arg4_out, global::System.String __arg5, out global::System.String __arg5_out, global::Microsoft.AspNetCore.Components.EventCallback __arg6, out global::Microsoft.AspNetCore.Components.EventCallback __arg6_out, global::System.Linq.Expressions.Expression> __arg7, out global::System.Linq.Expressions.Expression> __arg7_out) + where TOption : notnull + { + __arg0_out = __arg0; + __arg1_out = __arg1; + __arg2_out = __arg2; + __arg3_out = __arg3; + __arg4_out = __arg4; + __arg5_out = __arg5; + __arg6_out = __arg6; + __arg7_out = __arg7; + } + public static void CreateFluentSelect_6(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.String __arg0, int __seq1, global::System.Collections.Generic.IEnumerable __arg1, int __seq2, global::System.Func __arg2, int __seq3, global::System.Func __arg3, int __seq4, global::System.String __arg4, int __seq5, global::System.String __arg5, int __seq6, global::Microsoft.AspNetCore.Components.EventCallback __arg6, int __seq7, global::System.Linq.Expressions.Expression> __arg7) + where TOption : notnull + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (77,31)-(77,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Label + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (79,31)-(79,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Items + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (80,31)-(80,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OptionValue + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (81,31)-(81,41) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +OptionText + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.AddComponentParameter(__seq4, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (82,31)-(82,36) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Style + +#line default +#line hidden +#nullable disable + ), __arg4); + __builder.AddComponentParameter(__seq5, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect. +#nullable restore +#line (78,37)-(78,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Shared/Search.razor" +Value + +#line default +#line hidden +#nullable disable + ), __arg5); + __builder.AddComponentParameter(__seq6, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.ValueChanged), __arg6); + __builder.AddComponentParameter(__seq7, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentSelect.ValueExpression), __arg7); + __builder.CloseComponent(); + } + + public static void CreateFluentSelect_6_CaptureParameters(global::System.String __arg0, out global::System.String __arg0_out, global::System.Collections.Generic.IEnumerable __arg1, out global::System.Collections.Generic.IEnumerable __arg1_out, global::System.Func __arg2, out global::System.Func __arg2_out, global::System.Func __arg3, out global::System.Func __arg3_out, global::System.String __arg4, out global::System.String __arg4_out, global::System.String __arg5, out global::System.String __arg5_out, global::Microsoft.AspNetCore.Components.EventCallback __arg6, out global::Microsoft.AspNetCore.Components.EventCallback __arg6_out, global::System.Linq.Expressions.Expression> __arg7, out global::System.Linq.Expressions.Expression> __arg7_out) + where TOption : notnull + { + __arg0_out = __arg0; + __arg1_out = __arg1; + __arg2_out = __arg2; + __arg3_out = __arg3; + __arg4_out = __arg4; + __arg5_out = __arg5; + __arg6_out = __arg6; + __arg7_out = __arg7; + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Weather_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Weather_razor.g.cs new file mode 100644 index 0000000..717b123 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages_Weather_razor.g.cs @@ -0,0 +1,504 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "d274057c949d6b9338b27628e9fdb37017a555b06bc9151a6018d51349e2cc90" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (1,12)-(1,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +[AllowAnonymous] + +#line default +#line hidden +#nullable disable + + [global::Microsoft.AspNetCore.Components.RouteAttribute( + // language=Route,Component +#nullable restore +#line (2,7)-(2,17) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +"/weather" + +#line default +#line hidden +#nullable disable + )] + #nullable restore + public partial class Weather : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddAttribute(1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { +#nullable restore +#line (4,13)-(4,37) 25 "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +__builder2.AddContent(2, App.PageTitle("Weather") + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); + __builder.AddMarkupContent(3, "\n\n"); + __builder.AddMarkupContent(4, "

Weather

\n\n"); + __builder.AddMarkupContent(5, "

This component demonstrates showing data.

"); +#nullable restore +#line (10,2)-(12,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +if (_forecasts == null) +{ + +#line default +#line hidden +#nullable disable + + __builder.OpenComponent(6); + __builder.AddAttribute(7, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.OpenComponent(8); + __builder2.AddComponentParameter(9, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentProgressRing. +#nullable restore +#line (13,29)-(13,34) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Style + +#line default +#line hidden +#nullable disable + ), "width: 102px; height: 102px;"); + __builder2.CloseComponent(); + __builder2.AddMarkupContent(10, "\n "); + __builder2.AddMarkupContent(11, "

Loading...

"); + } + )); + __builder.CloseComponent(); +#nullable restore +#line (18,1)-(21,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +} +else +{ + +#line default +#line hidden +#nullable disable + + __builder.OpenComponent>(12); + __builder.AddComponentParameter(13, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (21,21)-(21,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Id + +#line default +#line hidden +#nullable disable + ), "weathergrid"); + __builder.AddComponentParameter(14, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (21,38)-(21,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Items + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck>( +#nullable restore +#line (21,46)-(21,56) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +_forecasts + +#line default +#line hidden +#nullable disable + )); + __builder.AddComponentParameter(15, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentDataGrid. +#nullable restore +#line (21,58)-(21,77) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +GridTemplateColumns + +#line default +#line hidden +#nullable disable + ), "1fr 1fr 1fr 2fr"); + __builder.AddAttribute(16, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + global::__Blazor.AStar.Dev.Web.Components.Pages.Weather.TypeInference.CreatePropertyColumn_0(__builder2, 17, default(WeatherForecast)!, 18, "Date", 19, +#nullable restore +#line (22,50)-(22,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +c => c!.Date + +#line default +#line hidden +#nullable disable + , 20, +#nullable restore +#line (22,75)-(22,79) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +true + +#line default +#line hidden +#nullable disable + , 21, +#nullable restore +#line (22,88)-(22,99) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Align.Start + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(22, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Weather.TypeInference.CreatePropertyColumn_1(__builder2, 23, default(WeatherForecast)!, 24, "Temp. (C)", 25, +#nullable restore +#line (23,55)-(23,75) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +c => c!.TemperatureC + +#line default +#line hidden +#nullable disable + , 26, +#nullable restore +#line (23,88)-(23,92) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +true + +#line default +#line hidden +#nullable disable + , 27, +#nullable restore +#line (23,101)-(23,113) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Align.Center + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(28, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Weather.TypeInference.CreatePropertyColumn_2(__builder2, 29, default(WeatherForecast)!, 30, "Temp. (F)", 31, +#nullable restore +#line (24,55)-(24,75) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +c => c!.TemperatureF + +#line default +#line hidden +#nullable disable + , 32, +#nullable restore +#line (24,88)-(24,92) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +true + +#line default +#line hidden +#nullable disable + , 33, +#nullable restore +#line (24,101)-(24,113) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Align.Center + +#line default +#line hidden +#nullable disable + ); + __builder2.AddMarkupContent(34, "\n "); + global::__Blazor.AStar.Dev.Web.Components.Pages.Weather.TypeInference.CreatePropertyColumn_3(__builder2, 35, default(WeatherForecast)!, 36, "Summary", 37, +#nullable restore +#line (25,53)-(25,68) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +c => c!.Summary + +#line default +#line hidden +#nullable disable + , 38, +#nullable restore +#line (25,81)-(25,85) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +true + +#line default +#line hidden +#nullable disable + , 39, +#nullable restore +#line (25,94)-(25,103) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Align.End + +#line default +#line hidden +#nullable disable + ); + } + )); + __builder.CloseComponent(); +#nullable restore +#line (27,1)-(28,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +} + +#line default +#line hidden +#nullable disable + + } + #pragma warning restore 1998 + } +} +namespace __Blazor.AStar.Dev.Web.Components.Pages.Weather +{ + #line hidden + internal static class TypeInference + { + public static void CreatePropertyColumn_0(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, TGridItem __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1, int __seq2, global::System.Boolean? __arg2, int __seq3, global::Microsoft.FluentUI.AspNetCore.Components.Align __arg3) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (22,25)-(22,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Title + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (22,38)-(22,46) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (22,65)-(22,73) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Sortable + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (22,81)-(22,86) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Align + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_1(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, TGridItem __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1, int __seq2, global::System.Boolean? __arg2, int __seq3, global::Microsoft.FluentUI.AspNetCore.Components.Align __arg3) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (23,25)-(23,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Title + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (23,43)-(23,51) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (23,78)-(23,86) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Sortable + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (23,94)-(23,99) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Align + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_2(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, TGridItem __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1, int __seq2, global::System.Boolean? __arg2, int __seq3, global::Microsoft.FluentUI.AspNetCore.Components.Align __arg3) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (24,25)-(24,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Title + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (24,43)-(24,51) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (24,78)-(24,86) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Sortable + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (24,94)-(24,99) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Align + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.CloseComponent(); + } + public static void CreatePropertyColumn_3(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, TGridItem __syntheticArg0, int __seq0, global::System.String __arg0, int __seq1, global::System.Linq.Expressions.Expression> __arg1, int __seq2, global::System.Boolean? __arg2, int __seq3, global::Microsoft.FluentUI.AspNetCore.Components.Align __arg3) + { + __builder.OpenComponent>(seq); + __builder.AddComponentParameter(__seq0, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (25,25)-(25,30) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Title + +#line default +#line hidden +#nullable disable + ), __arg0); + __builder.AddComponentParameter(__seq1, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (25,41)-(25,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Property + +#line default +#line hidden +#nullable disable + ), __arg1); + __builder.AddComponentParameter(__seq2, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (25,71)-(25,79) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Sortable + +#line default +#line hidden +#nullable disable + ), __arg2); + __builder.AddComponentParameter(__seq3, nameof(global::Microsoft.FluentUI.AspNetCore.Components.PropertyColumn. +#nullable restore +#line (25,87)-(25,92) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/Weather.razor" +Align + +#line default +#line hidden +#nullable disable + ), __arg3); + __builder.CloseComponent(); + } + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages__Imports_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages__Imports_razor.g.cs new file mode 100644 index 0000000..bf794bf --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Pages__Imports_razor.g.cs @@ -0,0 +1,111 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1ea23b8610d32cb59b7725fd5115d9c2fa4b4d1f403c71b0e83c18a85ce84e28" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components.Pages +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,42) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +using Microsoft.AspNetCore.Authorization + +#nullable disable + ; + #line default + #line hidden +#nullable restore +#line (2,12)-(2,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Pages/_Imports.razor" +[Authorize] + +#line default +#line hidden +#nullable disable + + #nullable restore + public partial class _Imports : object + #nullable disable + { + #pragma warning disable 1998 + protected void Execute() + { + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Routes_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Routes_razor.g.cs new file mode 100644 index 0000000..aff4142 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components_Routes_razor.g.cs @@ -0,0 +1,265 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "7a9589ed772982e5c0230176b1d3028afb43c16c0ef3617de7a324727da351fe" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; +#nullable restore +#line (1,2)-(1,39) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +using AStar.Dev.Web.Components.Layout + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,53) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +using Microsoft.AspNetCore.Components.Authorization + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +using Microsoft.FluentUI.AspNetCore.Components.Icons.Regular + +#nullable disable + ; + #line default + #line hidden + #nullable restore + public partial class Routes : global::Microsoft.AspNetCore.Components.ComponentBase + #nullable disable + { + #pragma warning disable 1998 + protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) + { + __builder.OpenComponent(0); + __builder.AddComponentParameter(1, nameof(global::Microsoft.AspNetCore.Components.Routing.Router. +#nullable restore +#line (5,9)-(5,20) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +AppAssembly + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (5,23)-(5,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +typeof(Program).Assembly + +#line default +#line hidden +#nullable disable + )); + __builder.AddAttribute(2, "Found", (global::Microsoft.AspNetCore.Components.RenderFragment)((routeData) => (__builder2) => { + __builder2.OpenComponent(3); + __builder2.AddComponentParameter(4, nameof(global::Microsoft.AspNetCore.Components.Authorization.AuthorizeRouteView. +#nullable restore +#line (7,29)-(7,38) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +RouteData + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (7,40)-(7,49) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +routeData + +#line default +#line hidden +#nullable disable + )); + __builder2.AddComponentParameter(5, nameof(global::Microsoft.AspNetCore.Components.Authorization.AuthorizeRouteView. +#nullable restore +#line (7,51)-(7,64) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +DefaultLayout + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (7,66)-(7,84) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +typeof(MainLayout) + +#line default +#line hidden +#nullable disable + )); + __builder2.AddAttribute(6, "NotAuthorized", (global::Microsoft.AspNetCore.Components.RenderFragment)((authState) => (__builder3) => { +#nullable restore +#line (9,1)-(9,17) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" + + +#line default +#line hidden +#nullable disable + +#nullable restore +#line (9,18)-(11,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +if (authState.User.Identity?.IsAuthenticated == true) + { + +#line default +#line hidden +#nullable disable + + __builder3.AddMarkupContent(7, "

You are signed in but lack required permissions.

"); +#nullable restore +#line (12,1)-(15,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" + } + else + { + +#line default +#line hidden +#nullable disable + + __builder3.OpenComponent(8); + __builder3.AddComponentParameter(9, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (15,36)-(15,40) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +Href + +#line default +#line hidden +#nullable disable + ), "MicrosoftIdentity/Account/SignIn"); + __builder3.AddComponentParameter(10, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (15,76)-(15,80) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +Icon + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (15,84)-(15,104) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +new Size20.SignOut() + +#line default +#line hidden +#nullable disable + )); + __builder3.AddComponentParameter(11, nameof(global::Microsoft.FluentUI.AspNetCore.Components.FluentNavLink. +#nullable restore +#line (15,107)-(15,116) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +IconColor + +#line default +#line hidden +#nullable disable + ), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck( +#nullable restore +#line (15,118)-(15,130) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" +Color.Accent + +#line default +#line hidden +#nullable disable + )); + __builder3.AddAttribute(12, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => { + __builder4.AddMarkupContent(13, "\r\n Sign in\r\n "); + } + )); + __builder3.CloseComponent(); +#nullable restore +#line (18,1)-(19,1) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/Routes.razor" + } + +#line default +#line hidden +#nullable disable + + } + )); + __builder2.CloseComponent(); + } + )); + __builder.AddAttribute(14, "NotFound", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => { + __builder2.AddMarkupContent(15, "

Sorry, there’s nothing at this address.

"); + } + )); + __builder.CloseComponent(); + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components__Imports_razor.g.cs b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components__Imports_razor.g.cs new file mode 100644 index 0000000..cc42518 --- /dev/null +++ b/src/uis/AStar.Dev.Web/Generated/net9.0/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/Components__Imports_razor.g.cs @@ -0,0 +1,97 @@ +#pragma checksum "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" "{8829d00f-11b8-4213-878b-770e8597ac16}" "cae67f7ec3a19d6bb360bf98bba63649909e15d69461ea3ba20b175df91aa01e" +// +#pragma warning disable 1591 +namespace AStar.Dev.Web.Components +{ + #line default + using global::System; + using global::System.Collections.Generic; + using global::System.Linq; + using global::System.Threading.Tasks; + using global::Microsoft.AspNetCore.Components; +#nullable restore +#line (1,2)-(1,23) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http + +#nullable disable + ; +#nullable restore +#line (2,2)-(2,28) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using System.Net.Http.Json + +#nullable disable + ; +#nullable restore +#line (3,2)-(3,45) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Forms + +#nullable disable + ; +#nullable restore +#line (4,2)-(4,47) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Routing + +#nullable disable + ; +#nullable restore +#line (5,2)-(5,43) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web + +#nullable disable + ; +#nullable restore +#line (6,2)-(6,61) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using static Microsoft.AspNetCore.Components.Web.RenderMode + +#nullable disable + ; +#nullable restore +#line (7,2)-(7,58) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.AspNetCore.Components.Web.Virtualization + +#nullable disable + ; +#nullable restore +#line (8,2)-(8,48) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.FluentUI.AspNetCore.Components + +#nullable disable + ; +#nullable restore +#line (9,2)-(9,62) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Icons = Microsoft.FluentUI.AspNetCore.Components.Icons + +#nullable disable + ; +#nullable restore +#line (10,2)-(10,27) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using Microsoft.JSInterop + +#nullable disable + ; +#nullable restore +#line (11,2)-(11,21) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web + +#nullable disable + ; +#nullable restore +#line (12,2)-(12,32) "/home/jason/repos/astar-dev/src/uis/AStar.Dev.Web/Components/_Imports.razor" +using AStar.Dev.Web.Components + +#nullable disable + ; + #line default + #line hidden + #nullable restore + public partial class _Imports : object + #nullable disable + { + #pragma warning disable 1998 + protected void Execute() + { + } + #pragma warning restore 1998 + } +} +#pragma warning restore 1591 diff --git a/src/uis/AStar.Dev.Web/Services/FileClassificationsService.cs b/src/uis/AStar.Dev.Web/Services/FileClassificationsService.cs index 3e964e4..7433c79 100644 --- a/src/uis/AStar.Dev.Web/Services/FileClassificationsService.cs +++ b/src/uis/AStar.Dev.Web/Services/FileClassificationsService.cs @@ -1,8 +1,10 @@ -using AStar.Dev.Files.Classifications.Api.Services; +using AStar.Dev.Annotations; +using AStar.Dev.Files.Classifications.Api.Services; using AStar.Dev.Web.Models; namespace AStar.Dev.Web.Services; +[RegisterService] public class FileClassificationsService(IFileClassificationsService2 fileClassificationsService) : IFileClassificationsService { /// diff --git a/test/.editorconfig b/test/.editorconfig index 8993380..6864ca5 100644 --- a/test/.editorconfig +++ b/test/.editorconfig @@ -7,282 +7,282 @@ root = true #### Core EditorConfig Options #### # Indentation and spacing -indent_size = 4 -indent_style = space -tab_width = 4 +indent_size = 4 +indent_style = space +tab_width = 4 # New line preferences -end_of_line = crlf -insert_final_newline = true +end_of_line = crlf +insert_final_newline = true #### .NET Coding Conventions #### # Organize usings -dotnet_separate_import_directive_groups = false -dotnet_sort_system_directives_first = true -file_header_template = unset +dotnet_separate_import_directive_groups = false +dotnet_sort_system_directives_first = true +file_header_template = unset # this. and Me. preferences -dotnet_style_qualification_for_event = false:error -dotnet_style_qualification_for_field = false -dotnet_style_qualification_for_method = false:error -dotnet_style_qualification_for_property = false:error +dotnet_style_qualification_for_event = false:error +dotnet_style_qualification_for_field = false +dotnet_style_qualification_for_method = false:error +dotnet_style_qualification_for_property = false:error # Language keywords vs BCL types preferences -dotnet_style_predefined_type_for_locals_parameters_members = true -dotnet_style_predefined_type_for_member_access = true +dotnet_style_predefined_type_for_locals_parameters_members = true +dotnet_style_predefined_type_for_member_access = true # Parentheses preferences -dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_other_operators = never_if_unnecessary -dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_other_operators = never_if_unnecessary +dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning # Modifier preferences -dotnet_style_require_accessibility_modifiers = for_non_interface_members +dotnet_style_require_accessibility_modifiers = for_non_interface_members # Expression-level preferences -dotnet_style_coalesce_expression = true:warning -dotnet_style_collection_initializer = true:error -dotnet_style_explicit_tuple_names = true:error -dotnet_style_namespace_match_folder = true -dotnet_style_null_propagation = true:warning -dotnet_style_object_initializer = true:error -dotnet_style_operator_placement_when_wrapping = beginning_of_line -dotnet_style_prefer_auto_properties = true:warning -dotnet_style_prefer_collection_expression = when_types_loosely_match -dotnet_style_prefer_compound_assignment = true:error -dotnet_style_prefer_conditional_expression_over_assignment = true:error -dotnet_style_prefer_conditional_expression_over_return = true:error -dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed -dotnet_style_prefer_inferred_anonymous_type_member_names = true:error -dotnet_style_prefer_inferred_tuple_names = true:error -dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning -dotnet_style_prefer_simplified_boolean_expressions = true:error -dotnet_style_prefer_simplified_interpolation = true +dotnet_style_coalesce_expression = true:warning +dotnet_style_collection_initializer = true:error +dotnet_style_explicit_tuple_names = true:error +dotnet_style_namespace_match_folder = true +dotnet_style_null_propagation = true:warning +dotnet_style_object_initializer = true:error +dotnet_style_operator_placement_when_wrapping = beginning_of_line +dotnet_style_prefer_auto_properties = true:warning +dotnet_style_prefer_collection_expression = when_types_loosely_match +dotnet_style_prefer_compound_assignment = true:error +dotnet_style_prefer_conditional_expression_over_assignment = true:error +dotnet_style_prefer_conditional_expression_over_return = true:error +dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed +dotnet_style_prefer_inferred_anonymous_type_member_names = true:error +dotnet_style_prefer_inferred_tuple_names = true:error +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning +dotnet_style_prefer_simplified_boolean_expressions = true:error +dotnet_style_prefer_simplified_interpolation = true # Field preferences -dotnet_style_readonly_field = true:error +dotnet_style_readonly_field = true:error # Parameter preferences -dotnet_code_quality_unused_parameters = all:error +dotnet_code_quality_unused_parameters = all:error # Suppression preferences -dotnet_remove_unnecessary_suppression_exclusions = none +dotnet_remove_unnecessary_suppression_exclusions = none # New line preferences -dotnet_style_allow_multiple_blank_lines_experimental = false:error -dotnet_style_allow_statement_immediately_after_block_experimental = false:warning +dotnet_style_allow_multiple_blank_lines_experimental = false:error +dotnet_style_allow_statement_immediately_after_block_experimental = false:warning #### C# Coding Conventions #### # var preferences -csharp_style_var_elsewhere = true:silent -csharp_style_var_for_built_in_types = true:silent -csharp_style_var_when_type_is_apparent = true:silent +csharp_style_var_elsewhere = true:silent +csharp_style_var_for_built_in_types = true:silent +csharp_style_var_when_type_is_apparent = true:silent # Expression-bodied members -csharp_style_expression_bodied_accessors = true:warning -csharp_style_expression_bodied_constructors = true:warning -csharp_style_expression_bodied_indexers = true:warning -csharp_style_expression_bodied_lambdas = true:warning -csharp_style_expression_bodied_local_functions = false:silent -csharp_style_expression_bodied_methods = true:warning -csharp_style_expression_bodied_operators = true:warning -csharp_style_expression_bodied_properties = true:warning +csharp_style_expression_bodied_accessors = true:warning +csharp_style_expression_bodied_constructors = true:warning +csharp_style_expression_bodied_indexers = true:warning +csharp_style_expression_bodied_lambdas = true:warning +csharp_style_expression_bodied_local_functions = false:silent +csharp_style_expression_bodied_methods = true:warning +csharp_style_expression_bodied_operators = true:warning +csharp_style_expression_bodied_properties = true:warning # Pattern matching preferences -csharp_style_pattern_matching_over_as_with_null_check = true:error -csharp_style_pattern_matching_over_is_with_cast_check = true:error -csharp_style_prefer_extended_property_pattern = true:warning -csharp_style_prefer_not_pattern = true:error -csharp_style_prefer_pattern_matching = true:error -csharp_style_prefer_switch_expression = true:error +csharp_style_pattern_matching_over_as_with_null_check = true:error +csharp_style_pattern_matching_over_is_with_cast_check = true:error +csharp_style_prefer_extended_property_pattern = true:warning +csharp_style_prefer_not_pattern = true:error +csharp_style_prefer_pattern_matching = true:error +csharp_style_prefer_switch_expression = true:error # Null-checking preferences -csharp_style_conditional_delegate_call = true:warning +csharp_style_conditional_delegate_call = true:warning # Modifier preferences -csharp_prefer_static_local_function = true:warning -csharp_preferred_modifier_order = public, private, protected, internal, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, volatile, async -csharp_style_prefer_readonly_struct = true:warning -csharp_style_prefer_readonly_struct_member = true:suggestion +csharp_prefer_static_local_function = true:warning +csharp_preferred_modifier_order = public, private, protected, internal, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, volatile, async +csharp_style_prefer_readonly_struct = true:warning +csharp_style_prefer_readonly_struct_member = true:suggestion # Code-block preferences -csharp_prefer_braces = true:error -csharp_prefer_simple_using_statement = true:warning -csharp_style_namespace_declarations = file_scoped:warning -csharp_style_prefer_method_group_conversion = true:warning -csharp_style_prefer_primary_constructors = true:suggestion -csharp_style_prefer_top_level_statements = false:silent +csharp_prefer_braces = true:error +csharp_prefer_simple_using_statement = true:warning +csharp_style_namespace_declarations = file_scoped:warning +csharp_style_prefer_method_group_conversion = true:warning +csharp_style_prefer_primary_constructors = true:suggestion +csharp_style_prefer_top_level_statements = false:silent # Expression-level preferences -csharp_prefer_simple_default_expression = true:error -csharp_style_deconstructed_variable_declaration = true:warning -csharp_style_implicit_object_creation_when_type_is_apparent = true:error -csharp_style_inlined_variable_declaration = true:warning -csharp_style_prefer_index_operator = true:error -csharp_style_prefer_local_over_anonymous_function = true:error -csharp_style_prefer_null_check_over_type_check = true:warning -csharp_style_prefer_range_operator = true:error -csharp_style_prefer_tuple_swap = true:error -csharp_style_prefer_utf8_string_literals = true:suggestion -csharp_style_throw_expression = true:warning -csharp_style_unused_value_assignment_preference = discard_variable:warning -csharp_style_unused_value_expression_statement_preference = discard_variable:warning +csharp_prefer_simple_default_expression = true:error +csharp_style_deconstructed_variable_declaration = true:warning +csharp_style_implicit_object_creation_when_type_is_apparent = true:error +csharp_style_inlined_variable_declaration = true:warning +csharp_style_prefer_index_operator = true:error +csharp_style_prefer_local_over_anonymous_function = true:error +csharp_style_prefer_null_check_over_type_check = true:warning +csharp_style_prefer_range_operator = true:error +csharp_style_prefer_tuple_swap = true:error +csharp_style_prefer_utf8_string_literals = true:suggestion +csharp_style_throw_expression = true:warning +csharp_style_unused_value_assignment_preference = discard_variable:warning +csharp_style_unused_value_expression_statement_preference = discard_variable:warning # 'using' directive preferences -csharp_using_directive_placement = outside_namespace:warning +csharp_using_directive_placement = outside_namespace:warning # New line preferences csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = false:warning csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = false:warning -csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = false:warning -csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false:error -csharp_style_allow_embedded_statements_on_same_line_experimental = true:warning +csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = false:warning +csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false:error +csharp_style_allow_embedded_statements_on_same_line_experimental = true:warning #### C# Formatting Rules #### # New line preferences -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_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 # Indentation preferences -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_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 # Space preferences -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 = false -csharp_space_after_semicolon_in_for_statement = true -csharp_space_around_binary_operators = before_and_after -csharp_space_around_declaration_statements = ignore -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_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 = false +csharp_space_after_semicolon_in_for_statement = true +csharp_space_around_binary_operators = before_and_after +csharp_space_around_declaration_statements = ignore +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 # Wrapping preferences -csharp_preserve_single_line_blocks = true -csharp_preserve_single_line_statements = false +csharp_preserve_single_line_blocks = true +csharp_preserve_single_line_statements = false #### Naming styles #### # Naming rules -dotnet_naming_rule.interface_should_be_begins_with_i.severity = error -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.interface_should_be_begins_with_i.severity = error +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 = error -dotnet_naming_rule.types_should_be_pascal_case.symbols = types -dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.types_should_be_pascal_case.severity = error +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 = warning -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_rule.non_field_members_should_be_pascal_case.severity = warning +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_rule.static_field_should_be_pascal_case.severity = warning -dotnet_naming_rule.static_field_should_be_pascal_case.symbols = static_field -dotnet_naming_rule.static_field_should_be_pascal_case.style = pascal_case +dotnet_naming_rule.static_field_should_be_pascal_case.severity = warning +dotnet_naming_rule.static_field_should_be_pascal_case.symbols = static_field +dotnet_naming_rule.static_field_should_be_pascal_case.style = pascal_case # Symbol specifications -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.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.static_field.applicable_kinds = field -dotnet_naming_symbols.static_field.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected -dotnet_naming_symbols.static_field.required_modifiers = static +dotnet_naming_symbols.static_field.applicable_kinds = field +dotnet_naming_symbols.static_field.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.static_field.required_modifiers = static -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.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_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 = # Naming styles -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.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 +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 # Async methods should have "Async" suffix -dotnet_naming_rule.async_methods_end_in_async.symbols = any_async_methods -dotnet_naming_rule.async_methods_end_in_async.style = end_in_async -dotnet_naming_rule.async_methods_end_in_async.severity = error +dotnet_naming_rule.async_methods_end_in_async.symbols = any_async_methods +dotnet_naming_rule.async_methods_end_in_async.style = end_in_async +dotnet_naming_rule.async_methods_end_in_async.severity = error -dotnet_naming_symbols.any_async_methods.applicable_kinds = method -dotnet_naming_symbols.any_async_methods.applicable_accessibilities = * -dotnet_naming_symbols.any_async_methods.required_modifiers = async +dotnet_naming_symbols.any_async_methods.applicable_kinds = method +dotnet_naming_symbols.any_async_methods.applicable_accessibilities = * +dotnet_naming_symbols.any_async_methods.required_modifiers = async -dotnet_naming_style.end_in_async.required_suffix = Async -dotnet_naming_style.end_in_async.capitalization = pascal_case +dotnet_naming_style.end_in_async.required_suffix = Async +dotnet_naming_style.end_in_async.capitalization = pascal_case [*.{cs,vb}] -dotnet_style_operator_placement_when_wrapping = beginning_of_line -tab_width = 4 -indent_size = 4 -end_of_line = crlf -dotnet_style_coalesce_expression = true:warning -dotnet_style_null_propagation = true:warning -dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning -dotnet_style_prefer_auto_properties = true:warning -dotnet_style_object_initializer = true:error -dotnet_style_collection_initializer = true:error -dotnet_style_prefer_simplified_boolean_expressions = true:error -dotnet_style_prefer_conditional_expression_over_assignment = true:error -dotnet_style_explicit_tuple_names = true:error -dotnet_style_prefer_conditional_expression_over_return = true:error -dotnet_style_prefer_inferred_tuple_names = true:error -dotnet_style_prefer_inferred_anonymous_type_member_names = true:error -dotnet_style_prefer_compound_assignment = true:error -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_style_readonly_field = true:warning -dotnet_style_predefined_type_for_member_access = true:silent -dotnet_style_predefined_type_for_locals_parameters_members = true:silent -dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent -dotnet_style_allow_multiple_blank_lines_experimental = false:error +dotnet_style_operator_placement_when_wrapping = beginning_of_line +tab_width = 4 +indent_size = 4 +end_of_line = crlf +dotnet_style_coalesce_expression = true:warning +dotnet_style_null_propagation = true:warning +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning +dotnet_style_prefer_auto_properties = true:warning +dotnet_style_object_initializer = true:error +dotnet_style_collection_initializer = true:error +dotnet_style_prefer_simplified_boolean_expressions = true:error +dotnet_style_prefer_conditional_expression_over_assignment = true:error +dotnet_style_explicit_tuple_names = true:error +dotnet_style_prefer_conditional_expression_over_return = true:error +dotnet_style_prefer_inferred_tuple_names = true:error +dotnet_style_prefer_inferred_anonymous_type_member_names = true:error +dotnet_style_prefer_compound_assignment = true:error +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_style_readonly_field = true:warning +dotnet_style_predefined_type_for_member_access = true:silent +dotnet_style_predefined_type_for_locals_parameters_members = true:silent +dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent +dotnet_style_allow_multiple_blank_lines_experimental = false:error dotnet_style_allow_statement_immediately_after_block_experimental = false:warning -dotnet_code_quality_unused_parameters = all:error -dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning -dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent -dotnet_style_qualification_for_field = false:silent -dotnet_style_qualification_for_property = false:error -dotnet_style_qualification_for_method = false:error -dotnet_style_qualification_for_event = false:error +dotnet_code_quality_unused_parameters = all:error +dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning +dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent +dotnet_style_qualification_for_field = false:silent +dotnet_style_qualification_for_property = false:error +dotnet_style_qualification_for_method = false:error +dotnet_style_qualification_for_event = false:error diff --git a/test/_aspire/AStar.Dev.AppHost.Configurations.Tests.Unit/DatabaseUpdaterApiProjectConfiguratorTests.cs b/test/_aspire/AStar.Dev.AppHost.Configurations.Tests.Unit/DatabaseUpdaterApiProjectConfiguratorTests.cs deleted file mode 100644 index 9e6c81a..0000000 --- a/test/_aspire/AStar.Dev.AppHost.Configurations.Tests.Unit/DatabaseUpdaterApiProjectConfiguratorTests.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace AStar.Dev.AppHost.Configurations.Tests.Unit; - -public class DatabaseUpdaterApiProjectConfiguratorTests -{ - [Fact] - public void GetConfigShouldReturnExpectedValues() - { - // Act - var config = DatabaseUpdaterApiProjectConfigurator.GetConfig(); - - // Assert - config.ProjectName.ShouldBe("database-updater"); - } -} diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/AStar.Dev.Database.Updater.Core.Tests.Unit.csproj b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/AStar.Dev.Database.Updater.Core.Tests.Integration.csproj similarity index 85% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/AStar.Dev.Database.Updater.Core.Tests.Unit.csproj rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/AStar.Dev.Database.Updater.Core.Tests.Integration.csproj index d278ca6..811ad97 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/AStar.Dev.Database.Updater.Core.Tests.Unit.csproj +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/AStar.Dev.Database.Updater.Core.Tests.Integration.csproj @@ -9,6 +9,8 @@ + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -41,6 +43,8 @@ + + diff --git a/test/modules/AStar.Dev.Database.Updater.Tests.Integration/ClassificationProcessorShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/ClassificationProcessorShould.cs similarity index 96% rename from test/modules/AStar.Dev.Database.Updater.Tests.Integration/ClassificationProcessorShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/ClassificationProcessorShould.cs index 7d64976..89f9eb8 100644 --- a/test/modules/AStar.Dev.Database.Updater.Tests.Integration/ClassificationProcessorShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/ClassificationProcessorShould.cs @@ -1,11 +1,14 @@ +using Aspire.Hosting.ApplicationModel; +using Aspire.Hosting.Testing; using AStar.Dev.Aspire.Common; using AStar.Dev.Database.Updater.Core.ClassificationsServices; using AStar.Dev.Database.Updater.Core.Models; using AStar.Dev.Infrastructure.FilesDb.Data; using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace AStar.Dev.Database.Updater.Tests.Integration; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration; public sealed class ClassificationProcessorShould : IDisposable { diff --git a/test/modules/AStar.Dev.Database.Updater.Tests.Integration/ClassificationRepositoryDIIntegrationTests.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/ClassificationRepositoryDIIntegrationTests.cs similarity index 92% rename from test/modules/AStar.Dev.Database.Updater.Tests.Integration/ClassificationRepositoryDIIntegrationTests.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/ClassificationRepositoryDIIntegrationTests.cs index 9e332d4..d529dc7 100644 --- a/test/modules/AStar.Dev.Database.Updater.Tests.Integration/ClassificationRepositoryDIIntegrationTests.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/ClassificationRepositoryDIIntegrationTests.cs @@ -1,8 +1,9 @@ using AStar.Dev.Database.Updater.Core.ClassificationsServices; using AStar.Dev.Infrastructure.FilesDb.Models; using AStar.Dev.TestHelpers; +using Microsoft.Extensions.DependencyInjection; -namespace AStar.Dev.Database.Updater.Tests.Integration; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration; public class ClassificationRepositoryDiIntegrationTests { @@ -28,7 +29,7 @@ public async Task ClassificationRepositoryResolvesInScopedDiAndTracksEntitiesPer var provider = services.BuildServiceProvider(); - // Act: resolve repo from first scope and fetch classifications + // Act: resolve repo from the first scope and fetch classifications using(var scope1 = provider.CreateScope()) { var repo1 = scope1.ServiceProvider.GetRequiredService(); diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/ErrorResponseShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/ErrorResponseShould.cs similarity index 97% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/ErrorResponseShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/ErrorResponseShould.cs index 50db1eb..ca32c45 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/ErrorResponseShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/ErrorResponseShould.cs @@ -1,7 +1,7 @@ using AStar.Dev.Functional.Extensions; using AStar.Dev.Utilities; -namespace AStar.Dev.Database.Updater.Core.Tests.Unit; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration; [TestSubject(typeof(ErrorResponse))] public class ErrorResponseShould diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/FileDetailsServices/FileKeywordProcessorBackgroundServiceShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/FileDetailsServices/FileKeywordProcessorBackgroundServiceShould.cs similarity index 98% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/FileDetailsServices/FileKeywordProcessorBackgroundServiceShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/FileDetailsServices/FileKeywordProcessorBackgroundServiceShould.cs index 2461b4e..aefa179 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/FileDetailsServices/FileKeywordProcessorBackgroundServiceShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/FileDetailsServices/FileKeywordProcessorBackgroundServiceShould.cs @@ -9,7 +9,7 @@ using Microsoft.Extensions.Options; using NSubstitute; -namespace AStar.Dev.Database.Updater.Core.Tests.Unit.FileDetailsServices; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration.FileDetailsServices; #pragma warning disable xUnit1051 diff --git a/test/modules/AStar.Dev.Database.Updater.Tests.Integration/FileScannerIntegrationShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/FileScannerIntegrationShould.cs similarity index 96% rename from test/modules/AStar.Dev.Database.Updater.Tests.Integration/FileScannerIntegrationShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/FileScannerIntegrationShould.cs index b1410b1..c899311 100644 --- a/test/modules/AStar.Dev.Database.Updater.Tests.Integration/FileScannerIntegrationShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/FileScannerIntegrationShould.cs @@ -1,11 +1,14 @@ +using Aspire.Hosting.ApplicationModel; +using Aspire.Hosting.Testing; using AStar.Dev.Aspire.Common; using AStar.Dev.Database.Updater.Core.FileDetailsServices; using AStar.Dev.Infrastructure.FilesDb.Data; using AStar.Dev.Infrastructure.FilesDb.Models; using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace AStar.Dev.Database.Updater.Tests.Integration; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration; public sealed class FileScannerIntegrationShould : IDisposable { diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Files/FileClassificationsServiceShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Files/FileClassificationsServiceShould.cs similarity index 93% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Files/FileClassificationsServiceShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Files/FileClassificationsServiceShould.cs index bfddce2..0f33c9d 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Files/FileClassificationsServiceShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Files/FileClassificationsServiceShould.cs @@ -1,4 +1,4 @@ -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // using Microsoft.Extensions.Logging.Abstractions; // using NSubstitute; // diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Fixtures/FilesContextFixture.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Fixtures/FilesContextFixture.cs similarity index 88% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Fixtures/FilesContextFixture.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Fixtures/FilesContextFixture.cs index 14be618..70203d6 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Fixtures/FilesContextFixture.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Fixtures/FilesContextFixture.cs @@ -1,6 +1,6 @@ using AStar.Dev.Infrastructure.FilesDb.Data; -namespace AStar.Dev.Database.Updater.Core.Tests.Unit.Fixtures; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration.Fixtures; public class FilesContextFixture : IDisposable { diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Fixtures/MockFilesContext.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Fixtures/MockFilesContext.cs similarity index 95% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Fixtures/MockFilesContext.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Fixtures/MockFilesContext.cs index 3a21340..d1ac741 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Fixtures/MockFilesContext.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Fixtures/MockFilesContext.cs @@ -3,7 +3,7 @@ using AStar.Dev.Infrastructure.FilesDb.Data; using AStar.Dev.Infrastructure.FilesDb.Models; -namespace AStar.Dev.Database.Updater.Core.Tests.Unit.Fixtures; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration.Fixtures; public class MockFilesContext : IDisposable { diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/ApiConfigurationShould.ContainTheExpectedProperties.approved.txt b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/ApiConfigurationShould.ContainTheExpectedProperties.approved.txt similarity index 100% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/ApiConfigurationShould.ContainTheExpectedProperties.approved.txt rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/ApiConfigurationShould.ContainTheExpectedProperties.approved.txt diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/ApiConfigurationShould.OverrideTheToStringMethodAsExpected.approved.txt b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/ApiConfigurationShould.OverrideTheToStringMethodAsExpected.approved.txt similarity index 100% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/ApiConfigurationShould.OverrideTheToStringMethodAsExpected.approved.txt rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/ApiConfigurationShould.OverrideTheToStringMethodAsExpected.approved.txt diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/ApiConfigurationShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/ApiConfigurationShould.cs similarity index 85% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/ApiConfigurationShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/ApiConfigurationShould.cs index 2bbb311..4fe501c 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/ApiConfigurationShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/ApiConfigurationShould.cs @@ -1,7 +1,7 @@ using AStar.Dev.Database.Updater.Core.Models; using AStar.Dev.Utilities; -namespace AStar.Dev.Database.Updater.Core.Tests.Unit.Models; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration.Models; [TestSubject(typeof(ApiConfiguration))] public class ApiConfigurationShould diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/ClassificationMappingShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/ClassificationMappingShould.cs similarity index 92% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/ClassificationMappingShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/ClassificationMappingShould.cs index 1730456..8670a89 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/ClassificationMappingShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/ClassificationMappingShould.cs @@ -1,6 +1,6 @@ using AStar.Dev.Database.Updater.Core.Models; -namespace AStar.Dev.Database.Updater.Core.Tests.Unit.Models; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration.Models; public class ClassificationMappingShould { diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DatabaseUpdaterConfigurationShould.ContainTheExpectedProperties.approved.txt b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DatabaseUpdaterConfigurationShould.ContainTheExpectedProperties.approved.txt similarity index 100% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DatabaseUpdaterConfigurationShould.ContainTheExpectedProperties.approved.txt rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DatabaseUpdaterConfigurationShould.ContainTheExpectedProperties.approved.txt diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DatabaseUpdaterConfigurationShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DatabaseUpdaterConfigurationShould.cs similarity index 89% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DatabaseUpdaterConfigurationShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DatabaseUpdaterConfigurationShould.cs index 336bd5e..dd2af17 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DatabaseUpdaterConfigurationShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DatabaseUpdaterConfigurationShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Database.Updater.Core.Models; // diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DirectoryChangeShould.ReturnTheExpectedToString.approved.txt b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DirectoryChangeShould.ReturnTheExpectedToString.approved.txt similarity index 100% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DirectoryChangeShould.ReturnTheExpectedToString.approved.txt rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DirectoryChangeShould.ReturnTheExpectedToString.approved.txt diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DirectoryChangeShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DirectoryChangeShould.cs similarity index 76% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DirectoryChangeShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DirectoryChangeShould.cs index ec5a8b5..73b27dc 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DirectoryChangeShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DirectoryChangeShould.cs @@ -1,6 +1,6 @@ using AStar.Dev.Database.Updater.Core.Models; -namespace AStar.Dev.Database.Updater.Core.Tests.Unit.Models; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration.Models; public sealed class DirectoryChangeShould { diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DirectoryChangesShould.ReturnTheExpectedToString.approved.txt b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DirectoryChangesShould.ReturnTheExpectedToString.approved.txt similarity index 100% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DirectoryChangesShould.ReturnTheExpectedToString.approved.txt rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DirectoryChangesShould.ReturnTheExpectedToString.approved.txt diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DirectoryChangesShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DirectoryChangesShould.cs similarity index 75% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DirectoryChangesShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DirectoryChangesShould.cs index 56acf87..1f66c44 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/DirectoryChangesShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/DirectoryChangesShould.cs @@ -1,6 +1,6 @@ using AStar.Dev.Database.Updater.Core.Models; -namespace AStar.Dev.Database.Updater.Core.Tests.Unit.Models; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration.Models; public sealed class DirectoryChangesShould { diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/EventTypeShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/EventTypeShould.cs similarity index 98% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/EventTypeShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/EventTypeShould.cs index 65e08f7..c894599 100644 --- a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Models/EventTypeShould.cs +++ b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Models/EventTypeShould.cs @@ -1,6 +1,6 @@ using AStar.Dev.Infrastructure.FilesDb.Models; -namespace AStar.Dev.Database.Updater.Core.Tests.Unit.Models; +namespace AStar.Dev.Database.Updater.Core.Tests.Integration.Models; [TestSubject(typeof(EventType))] public class EventTypeShould diff --git a/test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Services/FilesServiceShould.cs b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Services/FilesServiceShould.cs similarity index 100% rename from test/modules/AStar.Dev.Database.Updater.Core.Tests.Unit/Services/FilesServiceShould.cs rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/Services/FilesServiceShould.cs diff --git a/test/modules/AStar.Dev.Database.Updater.Tests.Integration/appsettings.json b/test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/appsettings.json similarity index 100% rename from test/modules/AStar.Dev.Database.Updater.Tests.Integration/appsettings.json rename to test/modules/AStar.Dev.Database.Updater.Core.Tests.Integration/appsettings.json diff --git a/test/modules/AStar.Dev.Database.Updater.Tests.Integration/AStar.Dev.Database.Updater.Tests.Integration.csproj b/test/modules/AStar.Dev.Database.Updater.Tests.Integration/AStar.Dev.Database.Updater.Tests.Integration.csproj index 63a7374..047a55c 100644 --- a/test/modules/AStar.Dev.Database.Updater.Tests.Integration/AStar.Dev.Database.Updater.Tests.Integration.csproj +++ b/test/modules/AStar.Dev.Database.Updater.Tests.Integration/AStar.Dev.Database.Updater.Tests.Integration.csproj @@ -38,6 +38,7 @@ + diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/AddEndpointsShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/AddEndpointsShould.cs index c6c12f9..6c49a1c 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/AddEndpointsShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/AddEndpointsShould.cs @@ -1,4 +1,4 @@ -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/EndpointConstantsShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/EndpointConstantsShould.cs index 6332ce3..f859ff3 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/EndpointConstantsShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/EndpointConstantsShould.cs @@ -1,4 +1,4 @@ -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/GetAll/V1/GetAllScrapeDirectoriesQueryShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/GetAll/V1/GetAllScrapeDirectoriesQueryShould.cs index a24e90b..2b93059 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/GetAll/V1/GetAllScrapeDirectoriesQueryShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/GetAll/V1/GetAllScrapeDirectoriesQueryShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.ScrapeDirectories.GetAll.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/GetAll/V1/GetScrapeDirectoriesResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/GetAll/V1/GetScrapeDirectoriesResponseShould.cs index 0ec2ed1..b257059 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/GetAll/V1/GetScrapeDirectoriesResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/GetAll/V1/GetScrapeDirectoriesResponseShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Infrastructure.AdminDb.Models; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.ScrapeDirectories.GetAll.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesCommandForDbShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesCommandForDbShould.cs index 1bac145..928fce6 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesCommandForDbShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesCommandForDbShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.ScrapeDirectories.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesCommandShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesCommandShould.cs index 13b1689..47fe600 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesCommandShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesCommandShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.ScrapeDirectories.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesResponseShould.cs index e11c883..1ceaa68 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/ScrapeDirectories/Update/V1/UpdateScrapeDirectoriesResponseShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.ScrapeDirectories.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetAll/V1/GetAllSiteConfigurationsQueryShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetAll/V1/GetAllSiteConfigurationsQueryShould.cs index 0eaa280..74d8928 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetAll/V1/GetAllSiteConfigurationsQueryShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetAll/V1/GetAllSiteConfigurationsQueryShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchCategories.GetAll.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetAll/V1/GetSiteConfigurationResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetAll/V1/GetSiteConfigurationResponseShould.cs index 83fb719..00a99af 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetAll/V1/GetSiteConfigurationResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetAll/V1/GetSiteConfigurationResponseShould.cs @@ -1,7 +1,7 @@ // using AStar.Dev.Admin.Api.SearchCategories.GetById.V1; // using AStar.Dev.Infrastructure.AdminDb.Models; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchCategories.GetAll.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetById/V1/GetSearchCategoriesByIdQueryShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetById/V1/GetSearchCategoriesByIdQueryShould.cs index 4feaa23..92048ca 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetById/V1/GetSearchCategoriesByIdQueryShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetById/V1/GetSearchCategoriesByIdQueryShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchCategories.GetById.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetById/V1/GetSearchCategoriesResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetById/V1/GetSearchCategoriesResponseShould.cs index 939ef1e..c8d35a4 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetById/V1/GetSearchCategoriesResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/GetById/V1/GetSearchCategoriesResponseShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Infrastructure.AdminDb.Models; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchCategories.GetById.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoriesResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoriesResponseShould.cs index c324028..2636474 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoriesResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoriesResponseShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchCategories.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoryCommandForDbShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoryCommandForDbShould.cs index 8a47ba9..4194b04 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoryCommandForDbShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoryCommandForDbShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchCategories.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoryCommandShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoryCommandShould.cs index 2a2baa9..589539c 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoryCommandShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchCategories/Update/V1/UpdateSearchCategoryCommandShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchCategories.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetAll/V1/GetAllSearchConfigurationResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetAll/V1/GetAllSearchConfigurationResponseShould.cs index 886b8f6..f3c1f9a 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetAll/V1/GetAllSearchConfigurationResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetAll/V1/GetAllSearchConfigurationResponseShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchConfiguration.GetAll.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetAll/V1/GetAllSearchConfigurationsQueryShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetAll/V1/GetAllSearchConfigurationsQueryShould.cs index d275f3d..0c6dba9 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetAll/V1/GetAllSearchConfigurationsQueryShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetAll/V1/GetAllSearchConfigurationsQueryShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchConfiguration.GetAll.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetBySlug/V1/GetSearchConfigurationQueryShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetBySlug/V1/GetSearchConfigurationQueryShould.cs index c0a07a3..f7aa41b 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetBySlug/V1/GetSearchConfigurationQueryShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetBySlug/V1/GetSearchConfigurationQueryShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchConfiguration.GetBySlug.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetBySlug/V1/GetSearchConfigurationResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetBySlug/V1/GetSearchConfigurationResponseShould.cs index 5e1134e..1cb59ec 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetBySlug/V1/GetSearchConfigurationResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/GetBySlug/V1/GetSearchConfigurationResponseShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchConfiguration.GetBySlug.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationCommandForDbShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationCommandForDbShould.cs index dba13ba..d8dc4ee 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationCommandForDbShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationCommandForDbShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchConfiguration.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationCommandShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationCommandShould.cs index 6f5f333..999c974 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationCommandShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationCommandShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchConfiguration.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationResponseShould.cs index 49f4b1a..c931471 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SearchConfiguration/Update/V1/UpdateSearchConfigurationResponseShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SearchConfiguration.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetAll/V1/GetAllSiteConfigurationsQueryShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetAll/V1/GetAllSiteConfigurationsQueryShould.cs index 5ff7fe9..6872bce 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetAll/V1/GetAllSiteConfigurationsQueryShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetAll/V1/GetAllSiteConfigurationsQueryShould.cs @@ -1,7 +1,7 @@ // using AStar.Dev.Admin.Api.SiteConfigurations.GetAll.V1; // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SiteConfiguration.GetAll.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetAll/V1/GetSiteConfigurationResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetAll/V1/GetSiteConfigurationResponseShould.cs index d2fa9f2..6eb2511 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetAll/V1/GetSiteConfigurationResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetAll/V1/GetSiteConfigurationResponseShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Admin.Api.SiteConfigurations.GetAll.V1; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SiteConfiguration.GetAll.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetBySlug/V1/GetSiteConfigurationQueryShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetBySlug/V1/GetSiteConfigurationQueryShould.cs index 3f74cba..c5c9f07 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetBySlug/V1/GetSiteConfigurationQueryShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetBySlug/V1/GetSiteConfigurationQueryShould.cs @@ -1,7 +1,7 @@ // using AStar.Dev.Admin.Api.SiteConfigurations.GetBySlug.V1; // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SiteConfiguration.GetBySlug.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetBySlug/V1/GetSiteConfigurationResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetBySlug/V1/GetSiteConfigurationResponseShould.cs index 9759af4..aa93a4a 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetBySlug/V1/GetSiteConfigurationResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/GetBySlug/V1/GetSiteConfigurationResponseShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Admin.Api.SiteConfigurations.GetBySlug.V1; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SiteConfiguration.GetBySlug.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/SiteConfigurationExtensionsShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/SiteConfigurationExtensionsShould.cs index caf2026..7f00997 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/SiteConfigurationExtensionsShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/SiteConfigurationExtensionsShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Admin.Api.SiteConfigurations; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SiteConfiguration; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationCommandForDbShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationCommandForDbShould.cs index e4a490e..243a5e4 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationCommandForDbShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationCommandForDbShould.cs @@ -1,7 +1,7 @@ // using AStar.Dev.Admin.Api.SiteConfigurations.Update.V1; // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SiteConfiguration.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationCommandShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationCommandShould.cs index 9145108..50852b5 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationCommandShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationCommandShould.cs @@ -1,7 +1,7 @@ // using AStar.Dev.Admin.Api.SiteConfigurations.Update.V1; // using AStar.Dev.Api.Usage.Sdk.Metrics; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SiteConfiguration.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationResponseShould.cs b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationResponseShould.cs index 797c21c..1355f2f 100644 --- a/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationResponseShould.cs +++ b/test/modules/apis/AStar.Dev.Admin.Api.Tests.Unit/SiteConfiguration/Update/V1/UpdateSiteConfigurationResponseShould.cs @@ -1,6 +1,6 @@ // using AStar.Dev.Admin.Api.SiteConfigurations.Update.V1; // using AStar.Dev.Utilities; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // // namespace AStar.Dev.Admin.Api.SiteConfiguration.Update.V1; // diff --git a/test/modules/apis/AStar.Dev.Files.Classifications.Api.Tests.Unit/Endpoints/FileClassifications/V1/GetFileClassificationsResponseTests.cs b/test/modules/apis/AStar.Dev.Files.Classifications.Api.Tests.Unit/Endpoints/FileClassifications/V1/GetFileClassificationsResponseTests.cs deleted file mode 100644 index e10b796..0000000 --- a/test/modules/apis/AStar.Dev.Files.Classifications.Api.Tests.Unit/Endpoints/FileClassifications/V1/GetFileClassificationsResponseTests.cs +++ /dev/null @@ -1,47 +0,0 @@ -using AStar.Dev.Files.Classifications.Api.Endpoints.FileClassifications.V1; - -namespace AStar.Dev.Files.Classifications.Api.Tests.Unit.Endpoints.FileClassifications.V1; - -public class GetFileClassificationsResponseTests -{ - [Fact] - public void Construction_Should_Set_Values_Correctly() - { - var id = Guid.CreateVersion7(); - - var dto = new GetFileClassificationsResponse(id, "Some Name", true, false); - - dto.Id.ShouldBe(id); - dto.Name.ShouldBe("Some Name"); - dto.IncludeInSearch.ShouldBeTrue(); - dto.Celebrity.ShouldBeFalse(); - } - - [Fact] - public void Deconstruction_Should_Work_As_Expected() - { - var id = Guid.CreateVersion7(); - var dto = new GetFileClassificationsResponse(id, "Alpha", true, true); - - var (deId, deName, deInclude, deCeleb, deParentId, deSearchLevel) = dto; - - deId.ShouldBe(id); - deName.ShouldBe("Alpha"); - deInclude.ShouldBeTrue(); - deCeleb.ShouldBeTrue(); - deParentId.ShouldBeNull(); - deSearchLevel.ShouldBe(2); - } - - [Fact] - public void ValueEquality_Should_Be_Based_On_Contents() - { - var id = Guid.CreateVersion7(); - - var a = new GetFileClassificationsResponse(id, "Zeta", true, false); - var b = new GetFileClassificationsResponse(id, "Zeta", true, false); - - a.ShouldBe(b); - a.GetHashCode().ShouldBe(b.GetHashCode()); - } -} diff --git a/test/modules/apis/AStar.Dev.Files.Classifications.Api.Tests.Unit/FileClassificationTests.cs b/test/modules/apis/AStar.Dev.Files.Classifications.Api.Tests.Unit/FileClassificationTests.cs index 599553b..c3b9c35 100644 --- a/test/modules/apis/AStar.Dev.Files.Classifications.Api.Tests.Unit/FileClassificationTests.cs +++ b/test/modules/apis/AStar.Dev.Files.Classifications.Api.Tests.Unit/FileClassificationTests.cs @@ -11,8 +11,9 @@ public void Construction_Should_Set_Values_Correctly() var model = new FileClassification( id, 3, - parentId, "Wallpapers", + parentId, + "Parent", true, false ); diff --git a/test/nuget-packages/AStar.Dev.Functional.Extensions.Tests.Unit/OptionToResultTests.cs b/test/nuget-packages/AStar.Dev.Functional.Extensions.Tests.Unit/OptionToResultTests.cs index c80ec6c..cf4e8fe 100644 --- a/test/nuget-packages/AStar.Dev.Functional.Extensions.Tests.Unit/OptionToResultTests.cs +++ b/test/nuget-packages/AStar.Dev.Functional.Extensions.Tests.Unit/OptionToResultTests.cs @@ -7,7 +7,7 @@ public void ToResultFromSomeReturnsOk() { var opt = new Option.Some(42); var result = opt.ToResult(() => "missing"); - Assert.True(result is Result.Ok ok && ok.Value == 42); + Assert.True(result is Result.Ok { Value: 42 }); } [Fact] @@ -15,6 +15,6 @@ public void ToResultFromNoneReturnsError() { var opt = Option.None(); var result = opt.ToResult(() => "missing"); - Assert.True(result is Result.Error err && err.Reason == "missing"); + Assert.True(result is Result.Error { Reason: "missing" }); } } diff --git a/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/AStar.Dev.Source.Generators.Test.Unit.csproj b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/AStar.Dev.Source.Generators.Test.Unit.csproj new file mode 100644 index 0000000..a95a206 --- /dev/null +++ b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/AStar.Dev.Source.Generators.Test.Unit.csproj @@ -0,0 +1,46 @@ + + + + net9.0 + enable + + false + true + AStar.Dev.Source.Generators.Test.Unit + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ExampleFiles/DemoService.cs b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ExampleFiles/DemoService.cs new file mode 100644 index 0000000..84e4f22 --- /dev/null +++ b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ExampleFiles/DemoService.cs @@ -0,0 +1,9 @@ +using AStar.Dev.Annotations; + +namespace Demo.Domain.Entities; + +[RegisterService] +public class DemoService +{ + +} \ No newline at end of file diff --git a/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ExampleFiles/DemoServiceWithInterface.cs b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ExampleFiles/DemoServiceWithInterface.cs new file mode 100644 index 0000000..d90942b --- /dev/null +++ b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ExampleFiles/DemoServiceWithInterface.cs @@ -0,0 +1,14 @@ +using AStar.Dev.Annotations; + +namespace Demo.Domain.Entities; + +[RegisterService] +public class DemoServiceWithInterface : IDemoService +{ + +} + +public interface IDemoService +{ + +} \ No newline at end of file diff --git a/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ServiceCollectionExtensionsTests.CreateTheServiceCollectionExtensions.approved.txt b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ServiceCollectionExtensionsTests.CreateTheServiceCollectionExtensions.approved.txt new file mode 100644 index 0000000..fc2b7a4 --- /dev/null +++ b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ServiceCollectionExtensionsTests.CreateTheServiceCollectionExtensions.approved.txt @@ -0,0 +1,23 @@ +//---------------------- +// +// Generated by AStar.Dev.Source.Generators +// Do not edit this file manually. Any changes will be overwritten at the next build. +// +//---------------------- +using Microsoft.Extensions.DependencyInjection; + +/// +/// Generated class header to quiet the compiler when XML Documentation is generated. +/// This class contains the registration for services tagged with the RegisterService attribute. +/// +public static class ServiceCollectionExtensions +{ + /// + /// Generated method summary to quiet the compiler when XML Documentation is generated. + /// + public static IServiceCollection AddGeneratedServices(this IServiceCollection services) + { + services.AddScoped(); + return services; + } +} diff --git a/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ServiceCollectionExtensionsTests.cs b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ServiceCollectionExtensionsTests.cs new file mode 100644 index 0000000..ce85381 --- /dev/null +++ b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/ServiceCollectionExtensionsTests.cs @@ -0,0 +1,37 @@ +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; + +namespace AStar.Dev.Source.Generators.Test.Unit; + +public class ServiceCollectionExtensionsTests +{ + [Fact] + public void CreateTheServiceCollectionExtensions() + { + var generator = new ServiceCollectionExtensionsGenerator(); + var syntaxTree = CSharpSyntaxTree.ParseText(GetResourceAsString("DemoService.cs")); + var compilation = CSharpCompilation.Create( + nameof(CreateTheServiceCollectionExtensions), + [syntaxTree], + [MetadataReference.CreateFromFile(typeof(object).Assembly.Location)]); + var driver = CSharpGeneratorDriver.Create(generator) + .RunGenerators(compilation); + var result = driver.GetRunResult(); + var output = result.GeneratedTrees.Single(t => + t.FilePath.EndsWith("ServiceCollectionExtensions.g.cs")).ToString(); + + output.ShouldMatchApproved(); + } + + private string GetResourceAsString(string resourceName) + { + var assembly = typeof(ServiceCollectionExtensionsTests).Assembly; + var manifestResourceNames = assembly.GetManifestResourceNames(); + resourceName = manifestResourceNames.Single(x => x.Equals($"AStar.Dev.Source.Generators.Test.Unit.ExampleFiles.{resourceName}", StringComparison.OrdinalIgnoreCase)); + + using var stream = assembly.GetManifestResourceStream(resourceName) ?? throw new InvalidOperationException($"Resource '{resourceName}' not found."); + using var reader = new StreamReader(stream); + + return reader.ReadToEnd(); + } +} diff --git a/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/Utils/TestAdditionalFile.cs b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/Utils/TestAdditionalFile.cs new file mode 100644 index 0000000..81319d8 --- /dev/null +++ b/test/source-generators/AStar.Dev.Source.Generators.Tests.Unit/Utils/TestAdditionalFile.cs @@ -0,0 +1,19 @@ +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.Text; + +namespace AStar.Dev.SourceGenerators.Test.Unit.Utils; + +public class TestAdditionalFile : AdditionalText +{ + private readonly SourceText _text; + + public TestAdditionalFile(string path, string text) + { + Path = path; + _text = SourceText.From(text); + } + + public override string Path { get; } + + public override SourceText GetText(CancellationToken cancellationToken = new()) => _text; +} diff --git a/test/uis/AStar.Dev.Web.UI.Tests.Unit/Components/ApiStatusCheckShould.cs b/test/uis/AStar.Dev.Web.UI.Tests.Unit/Components/ApiStatusCheckShould.cs index 6dca495..4f9241e 100644 --- a/test/uis/AStar.Dev.Web.UI.Tests.Unit/Components/ApiStatusCheckShould.cs +++ b/test/uis/AStar.Dev.Web.UI.Tests.Unit/Components/ApiStatusCheckShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Web.Components; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // using Microsoft.Identity.Web; // using NSubstitute; // using Constants = AStar.Dev.Web.Infrastructure.Constants; diff --git a/test/uis/AStar.Dev.Web.UI.Tests.Unit/Shared/NavMenuShould.cs b/test/uis/AStar.Dev.Web.UI.Tests.Unit/Shared/NavMenuShould.cs index 9a2c13f..92975c2 100644 --- a/test/uis/AStar.Dev.Web.UI.Tests.Unit/Shared/NavMenuShould.cs +++ b/test/uis/AStar.Dev.Web.UI.Tests.Unit/Shared/NavMenuShould.cs @@ -1,5 +1,5 @@ // using AStar.Dev.Web.Shared; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // using Microsoft.AspNetCore.Components; // // namespace AStar.Dev.Web.UI.Shared; diff --git a/test/uis/AStar.Dev.Web.UI.Tests.Unit/StartupConfiguration/AddApiHttpClientShould.cs b/test/uis/AStar.Dev.Web.UI.Tests.Unit/StartupConfiguration/AddApiHttpClientShould.cs index 611f751..3fd0cf7 100644 --- a/test/uis/AStar.Dev.Web.UI.Tests.Unit/StartupConfiguration/AddApiHttpClientShould.cs +++ b/test/uis/AStar.Dev.Web.UI.Tests.Unit/StartupConfiguration/AddApiHttpClientShould.cs @@ -2,7 +2,7 @@ // using AStar.Dev.Files.Api.Client.SDK.FilesApi; // using AStar.Dev.Images.Api.Client.SDK.ImagesApi; // using AStar.Dev.Web.StartupConfiguration; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // using Microsoft.Extensions.DependencyInjection; // using Microsoft.Identity.Web; // using NSubstitute; diff --git a/test/uis/AStar.Dev.Web.UI.Tests.Unit/StartupConfiguration/ServicesShould.cs b/test/uis/AStar.Dev.Web.UI.Tests.Unit/StartupConfiguration/ServicesShould.cs index 9d78d41..a23be98 100644 --- a/test/uis/AStar.Dev.Web.UI.Tests.Unit/StartupConfiguration/ServicesShould.cs +++ b/test/uis/AStar.Dev.Web.UI.Tests.Unit/StartupConfiguration/ServicesShould.cs @@ -3,7 +3,7 @@ // using AStar.Dev.Files.Api.Client.SDK.FilesApi; // using AStar.Dev.Images.Api.Client.SDK.ImagesApi; // using AStar.Dev.Web.StartupConfiguration; -// using JetBrains.Annotations; +// using JetBrains.AStar.Dev.Annotations; // using Microsoft.Extensions.Configuration; // using Microsoft.Extensions.DependencyInjection; // using Microsoft.Extensions.Options;