// Copyright (c) CypherCore All rights reserved. // Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information. namespace System.Collections.Generic { public interface IMultiMap { void AddRange(TKey key, IEnumerable valueList); List this[TKey key] { get; set;} bool Remove(TKey key, TValue value); void Add(TKey key, TValue value); bool ContainsKey(TKey key); ICollection Keys {get;} bool Remove(TKey key); ICollection Values{get;} void Add(KeyValuePair item); void Clear(); bool Contains(TKey key, TValue item); void CopyTo(KeyValuePair[] array, int arrayIndex); int Count {get;} bool Remove(KeyValuePair item); List LookupByKey(TKey key); } }