public static QueryObject QueryRegex(string fieldName, object value, QueryObjectRegexOperator op = QueryObjectRegexOperator.MatchCaseSensitive) { return(new QueryObject { QueryType = QueryType.REGEX, FieldName = fieldName, FieldValue = value, RegexOperator = op }); }
public static QueryObject QueryRegex(string fieldName, object value, QueryObjectRegexOperator op = QueryObjectRegexOperator.MatchCaseSensitive ) { return new QueryObject { QueryType = QueryType.REGEX, FieldName = fieldName, FieldValue = value, RegexOperator = op }; }