Пример #1
0
 /**
  * Inserts a list of conditions in the given position
  *
  * @param conditions
  *            the conditions to add
  * @param index
  *            the index where conditions must be inserted
  */
 public void Add(int index, Conditions conditions)
 {
     conditionsList.Insert(index, conditions.GetSimpleConditions());
 }
Пример #2
0
 /**
  * Adds a list of conditions, such that at least one of these must be ok
  *
  * @param conditions
  *            the conditions to add
  */
 public void Add(Conditions conditions)
 {
     conditionsList.Add(new List <Condition>(conditions.GetSimpleConditions()));
 }