PropertySet => PublishedElement
This commit is contained in:
@@ -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)
|
||||
{ }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user