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 patterns list that best matches the item name, if any; otherwise   | 
    
Exceptions
| ConfigurationException | Occurs when ambiguous configurations are found.  |