Merge with 4.10.0
This commit is contained in:
21
src/Umbraco.Web/Models/RenderModel.cs
Normal file
21
src/Umbraco.Web/Models/RenderModel.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Globalization;
|
||||
using Umbraco.Core.Models;
|
||||
|
||||
namespace Umbraco.Web.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the model for the current rendering page in Umbraco
|
||||
/// </summary>
|
||||
public class RenderModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns the current IPublishedContent object
|
||||
/// </summary>
|
||||
public IPublishedContent Content { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns the current Culture assigned to the page being rendered
|
||||
/// </summary>
|
||||
public CultureInfo CurrentCulture { get; internal set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user