/// <summary>Removes an <seealso cref="IKeyedObject{TKey}"/> from the dictionary.</summary> /// <param name="o">The <seealso cref="IKeyedObject{TKey}"/> to remove from the dictionary.</param> public void Remove(IKeyedObject <TKey[]> o) { if (o == null || o.Key == null) { return; } foreach (var k in o.Key) { Remove(k); } }
/// <summary>Adds an <seealso cref="IKeyedObject{TKey}"/> to the dictionary.</summary> /// <param name="o">The <seealso cref="IKeyedObject{TKey}"/> to add to the dictionary.</param> public void Add(IKeyedObject <TKey[]> o) { if (o == null || o.Key == null) { return; } foreach (var k in o.Key) { Dictionary.Add(k, (TObject)o); } }