Method AddAll
AddAll<L, W>(Collections.Generic.IEnumerable<KeyValuePair<L, W>>)
Add the entries from a collection of C5.KeyValuePair`2 pairs to this dictionary.
TODO: add restrictions L:K and W:V when the .Net SDK allows it
Declaration
public virtual void AddAll<L, W>(Collections.Generic.IEnumerable<KeyValuePair<L, W>> entries)
where L : K where W : V
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<KeyValuePair<L, W>> | entries |
Type Parameters
Name | Description |
---|---|
L | |
W |
Implements
Exceptions
Type | Condition |
---|---|
DuplicateNotAllowedException | If the input contains duplicate keys or a key already present in this dictionary. |