The Count property of the multi dictionary now returns either the value count of the number of unique keys depending on which interface it is called from

git-svn-id: file:///srv/devel/repo-conversion/nusu@259 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2012-03-01 14:48:53 +00:00
parent ca373846aa
commit 0195b34289
2 changed files with 22 additions and 0 deletions

View file

@ -241,6 +241,13 @@ namespace Nuclex.Support.Collections {
return this.typedDictionary.GetEnumerator();
}
/// <summary>Removes the specified key/value pair from the dictionary</summary>
/// <param name="item">Key/value pair that will be removed</param>
/// <returns>True if the key/value pair was contained in the dictionary</returns>
int ICollection<KeyValuePair<TKey, ICollection<TValue>>>.Count {
get { return this.typedDictionary.Count; }
}
#endregion // ICollection<KeyValuePair<TKey, ICollection<TValue>>> implementation
}