public void add(Type type, File file, Namespace ns) { TypeItem temp = new TypeItem(); temp.file = file; temp.namesp = ns; add(type, temp); }
public void add(Type type, TypeItem ti) { if (table.ContainsKey(type)) { table[type].Add(ti); } else { List <TypeItem> temp = new List <TypeItem>(); temp.Add(ti); table.Add(type, temp); } }