Click or drag to resize

RecognitionRuleUtilityMatches Method (String, RecognitionRuleConstraint, Boolean)

Determines whether the given test value matches the given recognition rule constraint.

Namespace:  Dynamicweb.Analytics.Profiles.Recognition
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static bool Matches(
	string testValue,
	RecognitionRuleConstraint constraint,
	bool decomposeValue
)

Parameters

testValue
Type: SystemString
Test value.
constraint
Type: Dynamicweb.Analytics.Profiles.RecognitionRecognitionRuleConstraint
Recognition rule constraint.
decomposeValue
Type: SystemBoolean
Value indicating whether to decompose both test value and constraint value (using ValueSeparator) and compere their components instead.

Return Value

Type: Boolean
Value indicating whether the given test value matches the given recognition rule constraint.
See Also