| 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.12.3
Syntax string Matches(
IEnumerable<string> configPatterns,
string itemName
)
Function Matches (
configPatterns As IEnumerable(Of String),
itemName As String
) As String
String^ Matches(
IEnumerable<String^>^ configPatterns,
String^ itemName
)
abstract Matches :
configPatterns : IEnumerable<string> *
itemName : string -> string
Parameters
- configPatterns
- Type: System.Collections.GenericIEnumerableString
list of configuration patterns - itemName
- Type: SystemString
item name to match
Return Value
Type:
Stringa key of configPatterns which matches the item name or null if nothing matches
Exceptions See Also