From 07f44f23771e4ac21f5b837fcee66a884513a282 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 1 May 2025 13:19:23 +0800 Subject: [PATCH] Add code comments --- Flow.Launcher/Storage/TopMostRecord.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Flow.Launcher/Storage/TopMostRecord.cs b/Flow.Launcher/Storage/TopMostRecord.cs index aaf7194e7..d604eabc1 100644 --- a/Flow.Launcher/Storage/TopMostRecord.cs +++ b/Flow.Launcher/Storage/TopMostRecord.cs @@ -243,6 +243,9 @@ namespace Flow.Launcher.Storage } } + /// + /// Because ConcurrentBag does not support serialization, we need to convert it to a List + /// public class ConcurrentDictionaryConcurrentBagConverter : JsonConverter>> { public override ConcurrentDictionary> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)