示例#1
0
 static App()
 {
     IOService    = new FileIOService <UserSettingsViewModel>($"{Environment.CurrentDirectory}\\Settings.json");
     UserSettings = IOService.LoadSettings();
     if (UserSettings == null)
     {
         UserSettings = new UserSettingsViewModel();
         IOService.SaveData(UserSettings);
     }
 }