Skip to content

Commit 07f44f2

Browse files
committed
Add code comments
1 parent 845c331 commit 07f44f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Flow.Launcher/Storage/TopMostRecord.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ internal void AddOrUpdate(Result result)
243243
}
244244
}
245245

246+
/// <summary>
247+
/// Because ConcurrentBag does not support serialization, we need to convert it to a List
248+
/// </summary>
246249
public class ConcurrentDictionaryConcurrentBagConverter : JsonConverter<ConcurrentDictionary<string, ConcurrentBag<Record>>>
247250
{
248251
public override ConcurrentDictionary<string, ConcurrentBag<Record>> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

0 commit comments

Comments
 (0)