/// <summary> /// Insert all of the prerequisites for the given module. /// </summary> /// <param name="moduleID">The module to add the prerequisites for.</param> public void insertAll(int moduleID, bool removePrevious) { if (removePrevious) { Prerequisites.removeAll(moduleID); } Prerequisites.addAll(moduleID, PrereqsEditor.DataList); }