Matches Method
Matches(IEnumerable<string>, string)
Gets the best match for an item name out of a list of configuration patterns.
Declaration
string Matches(IEnumerable<string> patterns, string name)
Parameters
| IEnumerable<string> | patterns | A list of configuration patterns. |
| string | name | The item name to match. |
Returns
| string | The element of the |
Exceptions
| ConfigurationException | Occurs when ambiguous configurations are found. |