A multi-map allows a list of values to be associated with a single key.

Namespace:  Gallio.Common.Collections
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
[SerializableAttribute]
public class MultiMap<TKey, TValue> : IMultiMap<TKey, TValue>, 
	IDictionary<TKey, IList<TValue>>, ICollection<KeyValuePair<TKey, IList<TValue>>>, 
	IEnumerable<KeyValuePair<TKey, IList<TValue>>>, IEnumerable
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class MultiMap(Of TKey, TValue) _
	Implements IMultiMap(Of TKey, TValue), IDictionary(Of TKey, IList(Of TValue)),  _
	ICollection(Of KeyValuePair(Of TKey, IList(Of TValue))),  _
	IEnumerable(Of KeyValuePair(Of TKey, IList(Of TValue))),  _
	IEnumerable

Type Parameters

TKey
TValue

Inheritance Hierarchy

System..::.Object
  Gallio.Common.Collections..::.MultiMap<(Of <(TKey, TValue>)>)

See Also