[NUI]Add xaml support for nui and nui xaml test sample (#230)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / Xaml / IDictionaryExtensions.cs
1 using System.Collections.Generic;
2
3 namespace Tizen.NUI.Xaml
4 {
5         internal static class IDictionaryExtensions
6         {
7                 public static void AddRange<TKey, TValue>(this IDictionary<TKey, TValue> dictionary,
8                         IEnumerable<KeyValuePair<TKey, TValue>> collection)
9                 {
10                         foreach (var kvp in collection)
11                                 dictionary.Add(kvp);
12                 }
13         }
14 }