Files
Umbraco-CMS/src/Umbraco.Web/Models/PartialViewMacroModel.cs
Shannon Deminick 5b0057c258 Added missing files.
2012-12-04 03:29:02 +05:00

23 lines
545 B
C#

using System.Collections.Generic;
using Umbraco.Core.Models;
namespace Umbraco.Web.Models
{
/// <summary>
/// The model used when rendering Partial View Macros
/// </summary>
public class PartialViewMacroModel
{
public PartialViewMacroModel(IPublishedContent page, IDictionary<string, object> macroParams)
{
CurrentPage = page;
MacroParameters = macroParams;
}
public IPublishedContent CurrentPage { get; private set; }
public IDictionary<string, object> MacroParameters { get; private set; }
}
}