using System; using System.Collections.Generic; using Proxy = ServiceStack.Common.DictionaryExtensions; namespace ServiceStack.Common.Extensions { [Obsolete("Use ServiceStack.Common.DictionaryExtensions")] public static class DictionaryExtensions { public static TValue GetValueOrDefault(this Dictionary dictionary, TKey key) { return Proxy.GetValueOrDefault(dictionary, key); } public static void ForEach(this Dictionary dictionary, Action onEachFn) { Proxy.ForEach(dictionary, onEachFn); } public static bool EquivalentTo(this IDictionary thisMap, IDictionary otherMap) { return Proxy.EquivalentTo(thisMap, otherMap); } public static List ConvertAll(IDictionary map, Func createFn) { return Proxy.ConvertAll(map, createFn); } } }