Skip to content

Commit 6c34ffe

Browse files
committed
more sonar cloud sugestions
Signed-off-by: Neil South <[email protected]>
1 parent bf0a592 commit 6c34ffe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Api/Hl7ApplicationConfigEntity.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public override string ToString()
116116
}
117117

118118
//string key, string value
119-
public sealed class StringKeyValuePair : IKeyValuePair<string, string>
119+
public sealed class StringKeyValuePair : IKeyValuePair<string, string>, IEquatable<StringKeyValuePair>
120120
{
121121
[Key]
122122
public string Key { get; set; } = string.Empty;
@@ -138,7 +138,7 @@ public static List<StringKeyValuePair> FromDictionary(Dictionary<string, string>
138138

139139
}
140140

141-
public sealed class DataKeyValuePair : IKeyValuePair<string, DataLinkType>
141+
public sealed class DataKeyValuePair : IKeyValuePair<string, DataLinkType>, IEquatable<DataKeyValuePair>
142142
{
143143
[Key]
144144
public string Key { get; set; } = string.Empty;

0 commit comments

Comments
 (0)