public string[] SearchFormat ( [NotNull] string expression, [NotNull] string format ) { if (string.IsNullOrEmpty(expression)) { throw new ArgumentNullException("expression"); } if (string.IsNullOrEmpty(format)) { throw new ArgumentNullException("format"); } string rewritten = RewriteQuery(expression); ManagedClient64 client = Client.ThrowIfNull("Client"); return(client.SearchFormat(rewritten, format)); }