2014-06-08 09:51:06 -07:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.Editors
|
|
|
|
|
|
{
|
2014-06-08 22:39:01 +01:00
|
|
|
|
using System.Web.UI;
|
|
|
|
|
|
|
2014-06-08 09:51:06 -07:00
|
|
|
|
public class QueryResultModel : IQueryResultModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public QueryResultModel()
|
|
|
|
|
|
{
|
|
|
|
|
|
Initialize();
|
|
|
|
|
|
}
|
2014-06-08 22:39:01 +01:00
|
|
|
|
|
2014-06-08 09:51:06 -07:00
|
|
|
|
private void Initialize()
|
|
|
|
|
|
{
|
|
|
|
|
|
QueryExpression = "CurrentPage.Site()";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public string QueryExpression { get; set; }
|
2014-06-08 22:39:01 +01:00
|
|
|
|
public IEnumerable<ITemplateQueryResult> SampleResults { get; set; }
|
2014-06-08 09:51:06 -07:00
|
|
|
|
public int ResultCount { get; set; }
|
|
|
|
|
|
public double ExecutionTime { get; set; }
|
|
|
|
|
|
public int Take { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|