File: IDictionaryExtensions.cs | Web Access |
Project: src\src\Controls\src\Xaml\Controls.Xaml.csproj (Microsoft.Maui.Controls.Xaml) |
using System.Collections.Generic; namespace Microsoft.Maui.Controls.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); } } } |