Class PublishedContentModel
Represents a strongly-typed published content.
Namespace: Umbraco.Core.Models.PublishedContent
Assembly: Umbraco.Core.dll
Syntax
public abstract class PublishedContentModel : PublishedContentWrapped, IPublishedContent, IPublishedElement
Remarks
Every strongly-typed published content class should inherit from PublishedContentModel
(or inherit from a class that inherits from... etc.) so they are picked by the factory.
Constructors
View SourcePublishedContentModel(IPublishedContent)
Initializes a new instance of the PublishedContentModel class with an original IPublishedContent instance.
Declaration
protected PublishedContentModel(IPublishedContent content)
Parameters
Type | Name | Description |
---|---|---|
IPublishedContent | content | The original content. |