Click or drag to resize

IConfigPatternMatcherMatches Method

Returns the best match for an item name out of a list of configuration patterns.

Namespace:  Hazelcast.Config
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.3
Syntax
string Matches(
	IEnumerable<string> configPatterns,
	string itemName
)

Parameters

configPatterns
Type: System.Collections.GenericIEnumerableString
list of configuration patterns
itemName
Type: SystemString
item name to match

Return Value

Type: String
a key of configPatterns which matches the item name or null if nothing matches
Exceptions
ExceptionCondition
ConfigurationExceptionif ambiguous configurations are found
ConfigurationException
See Also