コード例 #1
0
 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);
     }
 }
コード例 #2
0
        private static XMLHighScores <T> GenerateNewScoreList(String pName)
        {
            XMLHighScores <T> buildList = new XMLHighScores <T>(pName, 25000);

            return(buildList);
        }