using System.Security.Principal;
using System.Web;
using System.Web.SessionState;

namespace ynhtm.Theme.Template
{
    public interface ITemplate : Muban.Template.IFileTemplate
    {
        Model.Setting Setting { get; }
        IPrincipal User { get; set; }
        HttpRequest Request { get; set; }
        HttpResponse Response { get; set; }
        HttpSessionState Session { get; set; }
    }

    public interface ITemplate<TModel> : ITemplate
    {
        TModel Model { get; set; }
    }
}