Example #1
0
 private static LookupValueComparer CreateLookupComparer(ValueEval lookupValue, bool matchExact)
 {
     if (matchExact && lookupValue is StringEval)
     {
         String stringValue = ((StringEval)lookupValue).StringValue;
         if (IsLookupValueWild(stringValue))
         {
             throw new Exception("Wildcard lookup values '" + stringValue + "' not supported yet");
         }
     }
     return(LookupUtils.CreateLookupComparer(lookupValue));
 }