using Umbraco.Cms.Core.Models.PublishedContent; namespace Umbraco.Cms.Core.Models; public class ContentModel : ContentModel where TContent : IPublishedContent { /// /// Initializes a new instance of the class with a content. /// public ContentModel(TContent content) : base(content) => Content = content; /// /// Gets the content. /// public new TContent Content { get; } }