Cosmos/source/XSharp.Common/Extensions.cs
2017-03-19 09:29:46 -05:00

15 lines
308 B
C#

using System.Collections.Generic;
namespace XSharp.Common
{
public static class Extensions
{
public static void AddRange<K, V>(this IDictionary<K, V> aThis, IDictionary<K, V> source)
{
foreach (var xItem in source)
{
aThis.Add(xItem.Key, xItem.Value);
}
}
}
}