Additional null safety
This commit is contained in:
parent
7658f21d7c
commit
c3938c49a9
29 changed files with 326 additions and 275 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue