C# 클래스 Microsoft.CodeAnalysis.Completion.CompletionListProvider

Extensibility interface for clients who want to participate in completion inside an editor.
파일 보기 프로젝트 열기: lodejard/AllNetCore 1 사용 예제들

공개 메소드들

메소드 설명
IsTriggerCharacter ( SourceText text, int characterPosition, OptionSet options ) : bool

Returns true if the character at the specific position in the text snapshot should trigger completion. Implementers of this will be called on the main UI thread and should only do minimal textual checks to determine if they should be presented.

ProduceCompletionListAsync ( Microsoft.CodeAnalysis.Completion.CompletionListContext context ) : Task

Implement to register the items and other details for a CompletionList

메소드 상세

IsTriggerCharacter() 공개 추상적인 메소드

Returns true if the character at the specific position in the text snapshot should trigger completion. Implementers of this will be called on the main UI thread and should only do minimal textual checks to determine if they should be presented.
public abstract IsTriggerCharacter ( SourceText text, int characterPosition, OptionSet options ) : bool
text SourceText
characterPosition int
options OptionSet
리턴 bool

ProduceCompletionListAsync() 공개 추상적인 메소드

Implement to register the items and other details for a CompletionList
public abstract ProduceCompletionListAsync ( Microsoft.CodeAnalysis.Completion.CompletionListContext context ) : Task
context Microsoft.CodeAnalysis.Completion.CompletionListContext
리턴 Task