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. |