namespace IRCStates;
public static class Extensions
{
///
/// Update the dictionary with 's keys and values
///
///
///
///
///
public static void UpdateWith(this Dictionary dict, Dictionary other)
{
if (dict == null || other == null || !other.Any())
{
return;
}
foreach (var v in other)
{
dict[v.Key] = v.Value;
}
}
}