AddRange

AddRange(IEnumerable<string[]>)

Adds the specified collection of homophone groups to this instance of the HomophoneDictionary.

public void AddRange(IEnumerable<string[]> homophones)
Parameter Type Description
homophones IEnumerable`1 The collection of homophone groups to add to the dictionary.

Exceptions

exception condition
ArgumentNullException Thrown when homophones is null.
ArgumentException Thrown when number of homophones in a group is less than 2.

See Also


AddRange(string[][])

Adds the specified collection of homophone groups to this instance of the HomophoneDictionary.

public void AddRange(string[][] homophones)
Parameter Type Description
homophones String[][] The collection of homophone groups to add to the dictionary.

Exceptions

exception condition
ArgumentNullException Thrown when homophones is null.
ArgumentException Thrown when number of homophones in a group is less than 2.

See Also