2014-06-08 09:51:06 -07:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
2014-06-26 11:24:57 +02:00
|
|
|
|
namespace Umbraco.Web.Models.TemplateQuery
|
2014-06-08 09:51:06 -07:00
|
|
|
|
{
|
2014-06-09 16:42:57 +01:00
|
|
|
|
public class OperathorTerm
|
2014-06-08 09:51:06 -07:00
|
|
|
|
{
|
|
|
|
|
|
public OperathorTerm()
|
|
|
|
|
|
{
|
|
|
|
|
|
Name = "is";
|
|
|
|
|
|
Operathor = Operathor.Equals;
|
|
|
|
|
|
AppliesTo = new [] { "string" };
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public OperathorTerm(string name, Operathor operathor, IEnumerable<string> appliesTo)
|
|
|
|
|
|
{
|
|
|
|
|
|
Name = name;
|
|
|
|
|
|
Operathor = operathor;
|
|
|
|
|
|
AppliesTo = appliesTo;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
public Operathor Operathor { get; set; }
|
|
|
|
|
|
public IEnumerable<string> AppliesTo { get; set; }
|
|
|
|
|
|
}
|
2017-07-20 11:21:28 +02:00
|
|
|
|
}
|