using LootDumpProcessor.Model.Processing; namespace LootDumpProcessor.Process.Collector; public class HashSetCollector : ICollector { private HashSet processedDumps = new HashSet(); private object lockObject = new object(); public void Setup() { } public void Hold(PartialData outputData) { lock (lockObject) { processedDumps.Add(outputData); } } public List Retrieve() { return processedDumps.ToList(); } }