/** * 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()); }
/** * 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())); }