diff options
Diffstat (limited to 'IRCStates/Extensions.cs')
-rw-r--r-- | IRCStates/Extensions.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/IRCStates/Extensions.cs b/IRCStates/Extensions.cs index c807dbb..6cce3d4 100644 --- a/IRCStates/Extensions.cs +++ b/IRCStates/Extensions.cs @@ -5,6 +5,13 @@ namespace IRCStates { public static class Extensions { + /// <summary> + /// Update the dictionary with <see cref="other"/>'s keys and values + /// </summary> + /// <param name="dict"></param> + /// <param name="other"></param> + /// <typeparam name="TKey"></typeparam> + /// <typeparam name="TValue"></typeparam> public static void UpdateWith<TKey, TValue>(this Dictionary<TKey, TValue> dict, Dictionary<TKey, TValue> other) { if (dict == null || other == null || !other.Any()) return; |