Additional null safety

This commit is contained in:
Michael Bucari-Tovo 2025-03-04 15:11:05 -07:00
parent 7658f21d7c
commit c3938c49a9
29 changed files with 326 additions and 275 deletions

View file

@ -46,7 +46,7 @@ namespace LibationFileManager
// Note that records overload equality automagically, so should be able to
// compare these the same way as comparing simple strings.
public record NamedFilter(string Filter, string Name)
public record NamedFilter(string Filter, string? Name)
{
public string Filter { get; set; } = Filter;
public string? Name { get; set; } = Name;