IConfigPatternMatcherMatches Method Hazelcast .Net Client Class Library
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.1
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

Reference