Beispiel #1
0
 static StaticSaverTest()
 {
     DataMeneger = new SaveLoadDataXml <ObservableCollection <CourseItemViewModel> >()
     {
         Path = "CourseListData"
     };
 }
Beispiel #2
0
 public DataManager(string filePath, ISaveLoadData <T> saveLoader)
 {
     FilePath   = filePath;
     SaveLoader = saveLoader;
     Items      = saveLoader.LoadData(filePath);
 }