AddRange
AddRange(IEnumerable<KeyValuePair<string, string>>)
Adds the specified collection of alias/replacement pairs to this instance of the AliasDictionary.
public void AddRange(IEnumerable<KeyValuePair<string, string>> pairs)
| Parameter |
Type |
Description |
| pairs |
IEnumerable`1 |
The collection of alias/replacement pairs to add to the dictionary. |
Exceptions
| exception |
condition |
| ArgumentNullException |
Thrown when pairs is null. |
See Also
AddRange(IEnumerable<AliasReplacementPair>)
Adds the specified collection of alias/replacement pairs to this instance of the AliasDictionary.
public void AddRange(IEnumerable<AliasReplacementPair> pairs)
| Parameter |
Type |
Description |
| pairs |
IEnumerable`1 |
The collection of alias/replacement pairs to add to the dictionary. |
Exceptions
| exception |
condition |
| ArgumentNullException |
Thrown when pairs is null. |
See Also
AddRange(AliasReplacementPair[])
Adds the specified collection of alias/replacement pairs to this instance of the AliasDictionary.
public void AddRange(AliasReplacementPair[] pairs)
| Parameter |
Type |
Description |
| pairs |
AliasReplacementPair[] |
The collection of alias/replacement pairs to add to the dictionary. |
Exceptions
| exception |
condition |
| ArgumentNullException |
Thrown when pairs is null. |
See Also