2012-10-02 21:19:21 +05:00
|
|
|
using System.Globalization;
|
2012-08-10 13:08:47 +06:00
|
|
|
using Umbraco.Core.Models;
|
2012-08-07 21:40:34 +06:00
|
|
|
|
2012-10-24 09:59:23 +05:00
|
|
|
namespace Umbraco.Web.Models
|
2012-08-07 21:40:34 +06:00
|
|
|
{
|
2012-09-13 12:28:08 +07:00
|
|
|
/// <summary>
|
|
|
|
|
/// Represents the model for the current rendering page in Umbraco
|
|
|
|
|
/// </summary>
|
2012-08-07 21:40:34 +06:00
|
|
|
public class RenderModel
|
2012-10-02 21:19:21 +05:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Returns the current IPublishedContent object
|
|
|
|
|
/// </summary>
|
2012-10-08 21:55:03 +05:00
|
|
|
public IPublishedContent Content { get; internal set; }
|
2012-09-13 12:28:08 +07:00
|
|
|
|
2012-10-02 21:19:21 +05:00
|
|
|
/// <summary>
|
|
|
|
|
/// Returns the current Culture assigned to the page being rendered
|
|
|
|
|
/// </summary>
|
|
|
|
|
public CultureInfo CurrentCulture { get; internal set; }
|
2012-08-07 21:40:34 +06:00
|
|
|
}
|
|
|
|
|
}
|