14 строки
331 B
C#
14 строки
331 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Xamarin.Forms.Xaml
|
|
{
|
|
internal static class IDictionaryExtensions
|
|
{
|
|
public static void AddRange<TKey, TValue>(this IDictionary<TKey, TValue> dictionary,
|
|
IEnumerable<KeyValuePair<TKey, TValue>> collection)
|
|
{
|
|
foreach (var kvp in collection)
|
|
dictionary.Add(kvp);
|
|
}
|
|
}
|
|
} |