Files
Umbraco-CMS/src/Umbraco.Core/Models/PublishedContent/PublishedElementModel.cs
2017-09-27 10:26:34 +02:00

22 lines
860 B
C#

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)
{ }
}
}