示例#1
0
        private async Task <IEnumerable <string> > GetAutocomplete(AutoCompleteWorkspaceService autocomplete)
        {
            var selection = await autocomplete.GetAutoCompleteAsync();

            return(selection.Select(r => r.DisplayText));
        }
示例#2
0
 public Task <IEnumerable <CompletionItem> > GetAutoCompleteAsync()
 {
     return(_autoComplete.GetAutoCompleteAsync());
 }