Transitioned Profiles to using ProfileRepository

Moving to using a ProfileRespository will make it
easier when moving to a WPF style app, and it will
allow some freedom if I want to change the storage
to a database or soemthing different.
This commit is contained in:
temacdonald
2020-06-14 16:20:52 +12:00
parent 5bfc01365f
commit 23e1dbd244
16 changed files with 946 additions and 361 deletions

View File

@ -329,7 +329,7 @@ namespace HeliosPlus
// Lookup all the Profile Names in the Saved Profiles
foreach (ShortcutItem updatedShortcut in _allShortcuts)
{
foreach (ProfileItem profile in ProfileItem.AllSavedProfiles)
foreach (ProfileItem profile in ProfileRepository.AllProfiles)
{
if (profile.Name.Equals(updatedShortcut.ProfileName))