Add code comments

This commit is contained in:
Jack251970 2025-05-01 13:19:23 +08:00
parent 845c331cac
commit 07f44f2377

View file

@ -243,6 +243,9 @@ namespace Flow.Launcher.Storage
}
}
/// <summary>
/// Because ConcurrentBag does not support serialization, we need to convert it to a List
/// </summary>
public class ConcurrentDictionaryConcurrentBagConverter : JsonConverter<ConcurrentDictionary<string, ConcurrentBag<Record>>>
{
public override ConcurrentDictionary<string, ConcurrentBag<Record>> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)