public void Add(string tableName, GenericTargetPair pair)
        {
            GenericTargetTable insertTable = targetTables.Find(table => table.GetName() == tableName);

            if (insertTable != null)
            {
                insertTable.Add(pair);
            }
            else
            {
                insertTable = new GenericTargetTable(tableName);
                insertTable.Add(pair);
                targetTables.Add(insertTable);
            }
        }
Exemple #2
0
 public void AddToObjectiveTypes(string tableName, GenericTargetPair objectivePair)
 {
     objectiveTypesList.Add(tableName, objectivePair);
 }