Esempio n. 1
0
        public ISuggestionQuery <T> AndSuggestUsing(Action <ISuggestionBuilder <T> > builder)
        {
            var f = new SuggestionBuilder <T>();

            builder?.Invoke(f);

            return(AndSuggestUsing(f.Suggestion));
        }
        public IAsyncSuggestionDocumentQuery <T> AndSuggestUsing(Action <ISuggestionBuilder <T> > builder)
        {
            var f = new SuggestionBuilder <T>();

            builder.Invoke(f);

            _source.SuggestUsing(f.Suggestion);
            return(this);
        }