private static void AppendString(MeiliString meiliString, StringBuilder builder) { if (string.IsNullOrWhiteSpace(meiliString.Query)) { return; } if (builder.Length > 0) { builder.Append(" AND "); } builder.Append('(').Append(meiliString.Query).Append(')'); }
private static void AppendMeili(string str, string token, StringBuilder builder) { AppendString(MeiliString.ConvertToMeili(str, token), builder); }