public void LoadFromXElement(XElement Source, Object pContext) { foreach (var loadelement in Source.Elements("ScoreSet")) { XMLHighScores <T> buildscoreset = new XMLHighScores <T>(loadelement, pContext); LoadedScoreSets.Add(buildscoreset.Name, buildscoreset); } }
private static XMLHighScores <T> GenerateNewScoreList(String pName) { XMLHighScores <T> buildList = new XMLHighScores <T>(pName, 25000); return(buildList); }