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