src/Slugent.APIInfo/ConfigMatchCriteria.cs
/// <summary>
/// Compares the provided key text with the Keyword of this object.  If they match based upon the settings of Case and FullMatch  then returns true, otherwise false
/// </summary>
/// <param name="otherKey">The text to compare the Keyword to based upon matching criteria.</param>
/// <returns></returns>
Compares the provided key text with the Keyword of this object.  If they match based upon the settings of Case and FullMatch  then returns true, otherwise false
Compares the provided key text with the Keyword of this object . If they match based upon the settings of Case and FullMatch then returns true otherwise false
public bool IsMatch (string otherKey = "") {
			if ( !IsCaseMatch ) otherKey = otherKey.ToLower();
			if ( IsFullMatch ) return Keyword == otherKey;
			return (otherKey.Contains(Keyword));
		}
public bool IsMatch ( string otherKey = " " ) { if ( ! IsCaseMatch ) otherKey = otherKey . ToLower ( ) ; if ( IsFullMatch ) return Keyword == otherKey ; return ( otherKey . Contains ( Keyword ) ) ; }
Compares the provided key text with the Keyword of this object.
Compares the provided key text with the Keyword of this object .
// Convert to lower case if case does not matter
None
otherKey
string
The text to compare the Keyword to based upon matching criteria.
The text to compare the Keyword to based upon matching criteria .