2016-06-29 15:28:40 +02:00
|
|
|
|
namespace Umbraco.Core.Models.PublishedContent
|
2013-11-07 17:16:22 +01:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Represents a strongly-typed published content.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>Every strongly-typed published content class should inherit from <c>PublishedContentModel</c>
|
|
|
|
|
|
/// (or inherit from a class that inherits from... etc.) so they are picked by the factory.</remarks>
|
2016-06-29 15:28:40 +02:00
|
|
|
|
public abstract class PublishedContentModel : PublishedContentWrapped
|
2013-11-07 17:16:22 +01:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Initializes a new instance of the <see cref="PublishedContentModel"/> class with
|
|
|
|
|
|
/// an original <see cref="IPublishedContent"/> instance.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="content">The original content.</param>
|
|
|
|
|
|
protected PublishedContentModel(IPublishedContent content)
|
|
|
|
|
|
: base(content)
|
|
|
|
|
|
{ }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|