// Copyright © WireMock.Net using System.Collections.Generic; using System.Linq; namespace WireMock.Net.Testcontainers.Utils; internal static class CombineUtils { internal static List Combine(List oldValue, List newValue) { return oldValue.Union(newValue).ToList(); } internal static Dictionary Combine(Dictionary oldValue, Dictionary newValue) where TKey : notnull { return oldValue.Union(newValue).ToDictionary(item => item.Key, item => item.Value); } }