Cosmos/source/XSharp.Compiler/Extensions.cs
2016-06-12 09:07:47 -04:00

15 lines
310 B
C#

using System.Collections.Generic;
namespace XSharp.Compiler
{
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);
}
}
}
}