Template Query WIP

This commit is contained in:
Jeavon Leopold
2014-06-08 22:39:01 +01:00
parent 2352d258b9
commit 76f0eac5f8
4 changed files with 62 additions and 6 deletions

View File

@@ -2,20 +2,22 @@
namespace Umbraco.Web.Editors
{
using System.Web.UI;
public class QueryResultModel : IQueryResultModel
{
public QueryResultModel()
{
Initialize();
}
private void Initialize()
{
QueryExpression = "CurrentPage.Site()";
}
public string QueryExpression { get; set; }
public IEnumerable<IResult> SampleResults { get; set; }
public IEnumerable<ITemplateQueryResult> SampleResults { get; set; }
public int ResultCount { get; set; }
public double ExecutionTime { get; set; }
public int Take { get; set; }