From 219ea08f95f9e2c228fee356a63a052bfc26b168 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Sun, 25 Feb 2018 18:02:41 -0500 Subject: [PATCH] Dictionary update extensions support kvps --- ICD.Common.Utils/Extensions/DictionaryExtensions.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ICD.Common.Utils/Extensions/DictionaryExtensions.cs b/ICD.Common.Utils/Extensions/DictionaryExtensions.cs index 5b79d2d..1869f54 100644 --- a/ICD.Common.Utils/Extensions/DictionaryExtensions.cs +++ b/ICD.Common.Utils/Extensions/DictionaryExtensions.cs @@ -193,7 +193,8 @@ namespace ICD.Common.Utils.Extensions /// /// [PublicAPI] - public static bool Update(this IDictionary extends, IDictionary other) + public static bool Update(this IDictionary extends, + IEnumerable> other) { if (extends == null) throw new ArgumentNullException("extends"); @@ -214,7 +215,8 @@ namespace ICD.Common.Utils.Extensions /// /// [PublicAPI] - public static bool Update(this IDictionary extends, IDictionary other, + public static bool Update(this IDictionary extends, + IEnumerable> other, IEqualityComparer comparer) { if (extends == null)