public void LoadSetData(string rootfolder) { string setFp = FilePaths.GetFullPath(rootfolder + FilePaths.SETS_PATH); SetParser parser = new SetParser(setFp); if (null == mSets) { mSets = new List<Set>(); } parser.Parse(mSets); }
public void SaveDataToFile(string rootFolder) { string setFp = FilePaths.GetFullPath(rootFolder + FilePaths.SETS_PATH); Console.WriteLine(setFp); SetParser parser = new SetParser(setFp); parser.CreateNewFile(setFp, mSets); }