mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
15 lines
310 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|