Version: 2021.2
言語: 日本語
public Func<SearchContext,SearchPropositionOptions,IEnumerable<SearchProposition>> fetchPropositions ;

説明

Handler used to enumerate search propositions when the user is using TAB to auto-complete a query.

IEnumerable<SearchProposition> FetchPropositions(SearchContext context, SearchPropositionOptions options)
{
  foreach (var f in myFilters)
    yield return new SearchProposition(f.name, f.name, f.label);
}