Пример #1
0
        public override CompletionSet GetCompletions(IGlyphService glyphService)
        {
            var result = new FuzzyCompletionSet(
                "Genero",
                "Genero",
                Span,
                _result.Select(m => GeneroCompletion(glyphService, m)),
                _options,
                CompletionComparer.UnderscoresLast, null);

            return(result);
        }
Пример #2
0
        public override CompletionSet GetCompletions(IGlyphService glyphService)
        {
            var result = new FuzzyCompletionSet(
                "Genero",
                "Genero",
                Span,
                _result.Select(m => GeneroCompletion(glyphService, m)),
                _options,
                CompletionComparer.UnderscoresLast,
                ((_deferredLoadCallbacks == null || _deferredLoadCallbacks.Count == 0) ? (Func <string, IEnumerable <DynamicallyVisibleCompletion> >)null : DeferredLoadCompletions));

            return(result);
        }