public CriteriaIsCurrentlyHappening(string entity)
     : base(entity)
 {
     criteriaOptions = new CriteriaOption[]
     {
         new CriteriaOption("Is Current", true)
     };
 }
Esempio n. 2
0
 public CriteriaEntity(string entity)
     : base(entity)
 {
     criteriaOptions = new CriteriaOption[]
     {
         new CriteriaOption("Is Equal To", true)
     };
 }
Esempio n. 3
0
 public CriteriaBoolean(string entity, string[] choices)
     : base(entity)
 {
     this.Choices    = choices;
     criteriaOptions = new CriteriaOption[]
     {
         new CriteriaOption("Is Equal To", true)
     };
 }
 public CriteriaString(string entity)
     : base(entity)
 {
     criteriaOptions = new CriteriaOption[]
     {
         new CriteriaOption("Is Equal To", true),
         new CriteriaOption("Starts With", true),
         new CriteriaOption("Contains", false),
         new CriteriaOption("Ends With", false)
     };
 }
Esempio n. 5
0
 public CriteriaDate(string entity)
     : base(entity)
 {
     criteriaOptions = new CriteriaOption[]
     {
         new CriteriaOption("Is Equal To", true),
         new CriteriaOption("Is Between Inclusive", true),
         new CriteriaOption("Is Before Or Equal To", true),
         new CriteriaOption("Is After Or Equal To", true),
         new CriteriaOption("Is Between Exclusive", false),
         new CriteriaOption("Is Before", false),
         new CriteriaOption("Is After", false)
     };
 }
Esempio n. 6
0
 public CriteriaInt(string entity, string numberType, string measurement)
     : base(entity)
 {
     this.NumberType  = numberType;
     this.Measurement = measurement;
     criteriaOptions  = new CriteriaOption[]
     {
         new CriteriaOption("Is Equal To", true),
         new CriteriaOption("Is Between Inclusive", true),
         new CriteriaOption("Is Greater Than Or Equal To", true),
         new CriteriaOption("Is Less Than Or Equal To", true),
         new CriteriaOption("Is Between Exclusive", false),
         new CriteriaOption("Is Greater Than", false),
         new CriteriaOption("Is Less Than", false)
     };
 }