PropertySet => PublishedElement

This commit is contained in:
Stephan
2017-09-25 08:59:32 +02:00
parent 057d1a3395
commit d61ca898c4
64 changed files with 192 additions and 190 deletions

View File

@@ -0,0 +1,21 @@
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)
{ }
}
}