using System.Globalization; using Umbraco.Core.Models; using Umbraco.Web.Mvc; namespace Umbraco.Web.Models { public class RenderModel : RenderModel where TContent : IPublishedContent { /// /// Constructor specifying both the IPublishedContent and the CultureInfo /// /// /// public RenderModel(TContent content, CultureInfo culture) : base(content, culture) { Content = content; } /// /// Constructor to set the IPublishedContent and the CurrentCulture is set by the UmbracoContext /// /// public RenderModel(TContent content) : base(content) { Content = content; } /// /// Returns the current IPublishedContent object /// public new TContent Content { get; private set; } } }