using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Luban.Job.Cfg.l10n { public class NotConvertTextSet { private readonly ConcurrentDictionary _notConvertTexts = new(); public void Add(string key, string text) { if (key != "") { _notConvertTexts.TryAdd(key, text); } } public List> SortedEntry { get { var list = _notConvertTexts.ToList(); list.Sort((a, b) => a.Key.CompareTo(b.Key)); return list; } } } }