Exemplo n.º 1
0
        public ISuggestionQuery <T> AndSuggestUsing(SuggestionBase suggestion)
        {
            var expression = _convertExpressionIfNecessary(_source);
            var method     = _convertMethodIfNecessary(_suggestUsingMethod, typeof(T));

            _source = _source.Provider.CreateQuery <T>(Expression.Call(null, method, expression, Expression.Constant(suggestion)));
            return(this);
        }
 public IAsyncSuggestionDocumentQuery <T> AndSuggestUsing(SuggestionBase suggestion)
 {
     _source.SuggestUsing(suggestion);
     return(this);
 }