Files
Umbraco-CMS/src/Umbraco.Core/Models/PublishedContent/PublishedElementModel.cs

22 lines
860 B
C#
Raw Normal View History

2017-09-25 08:59:32 +02:00
namespace Umbraco.Core.Models.PublishedContent
{
/// <inheritdoc />
/// <summary>
/// Represents a strongly-typed published element.
/// </summary>
/// <remarks>Every strongly-typed property set class should inherit from <c>PublishedElementModel</c>
/// (or inherit from a class that inherits from... etc.) so they are picked by the factory.</remarks>
public class PublishedElementModel : PublishedElementWrapped
{
/// <inheritdoc />
/// <summary>
/// Initializes a new instance of the <see cref="PublishedElementModel"/> class with
/// an original <see cref="IPublishedElement"/> instance.
/// </summary>
/// <param name="content">The original content.</param>
protected PublishedElementModel(IPublishedElement content)
: base(content)
{ }
}
}