Files
Umbraco-CMS/src/Umbraco.Core
Elitsa Marinovska f7d719af06 V15: Utilizing content type filtering for navigation data instead of .OfType<T>() (#17639)
* Implement GetContentTypeAliasForType which will replace the need for .OfType<T>();

* Refactor EnumerateAncestorsOrSelfInternal to be generic and extracting checks

* Add types to implementation referencing the old non-generic method

* Using

* Replace Ancestors.OfType<T> implementation

* Refactor EnumerateDescendantsOrSelfInternal to be generic

* Fixing references by adding IPublishedContent type param

* Cleanup + removing unused method

* Replace Descendants.OfType<T> implementation

* Remove unnecessary enumeration

* Updating Children.OfType<T>() implementation

* Adding correct types

* Fixing SiblingsAndSelf implementation

* Refactor TryYieldSelfOfType

* Remove nested checks

* Add comments and retrieval of content type alias from T in the private helper methods

* Simplify implementation based on review comments

* Add case when you get all root keys without a type

* Refactoring

* Renaming + review comments

* Rewrite SiblingsAndSelf

---------

Co-authored-by: kjac <kja@umbraco.dk>
2024-11-28 17:18:18 +01:00
..
2023-10-31 12:52:35 +01:00
2024-11-13 09:27:29 +01:00
2024-11-12 13:55:23 +01:00
2024-11-07 12:20:22 +01:00
2024-02-29 15:11:06 +01:00
2024-02-29 15:11:06 +01:00
2024-03-15 15:58:22 +01:00
2024-04-02 21:49:03 +01:00
2024-10-01 15:03:02 +02:00
2024-10-16 12:39:49 +02:00