add opened slns to previous sln list

This commit is contained in:
Matt Parker
2025-10-01 19:53:40 +10:00
parent 4651c8012c
commit 55e8aa4734
2 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ public class AppState
{
public string? LastOpenSolutionFilePath { get; set; }
public IdeSettings IdeSettings { get; set; } = new IdeSettings();
public List<PreviouslyOpenedSln> PreviouslyOpenedSolutions { get; set; } = [];
public HashSet<PreviouslyOpenedSln> PreviouslyOpenedSolutions { get; set; } = [];
}
public class IdeSettings
@@ -12,7 +12,7 @@ public class IdeSettings
public bool AutoOpenLastSolution { get; set; }
}
public class PreviouslyOpenedSln
public record PreviouslyOpenedSln
{
public required string Name { get; set; }
public required string FilePath { get; set; }