using System;
using Umbraco.Cms.Core.Models.PublishedContent;
namespace Umbraco.Cms.Core.Models
{
///
/// Represents the model for the current Umbraco view.
///
public class ContentModel : IContentModel
{
///
/// Initializes a new instance of the class with a content.
///
public ContentModel(IPublishedContent content) => Content = content ?? throw new ArgumentNullException(nameof(content));
///
/// Gets the content.
///
public IPublishedContent Content { get; }
}
}