This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Provides strongly typed base classes for Umbraco block list item views, | |
/// removing the need to inherit <c>UmbracoViewPage<BlockListItem></c> | |
/// and manually cast <c>Model.Content</c> and <c>Model.Settings</c> to Models Builder types. | |
/// | |
/// Use <c>UmbracoBlockListItemView<TContent, TSettings></c> when your block has both | |
/// content and settings, or <c>UmbracoBlockListItemView<TContent></c> when it only has content. | |
/// | |
/// This allows you to access <c>Content</c> and <c>Settings</c> directly as strongly typed | |
/// objects, simplifies Razor partials, removes boilerplate casting, and ensures clearer errors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// File: AllowSegmentationUSyncImportingItemNotification.cs | |
/// | |
/// <summary> | |
/// Notification handler that ensures specific content types (or all, if no allow-list is provided) | |
/// have their <Variations> values updated during uSync imports. | |
/// This forces content types and their properties to support segmentation: | |
/// - "Nothing" → "Segment" | |
/// - "Culture" → "CultureAndSegment" | |
/// All other values are left unchanged. | |
/// </summary> |