C# 클래스 PowerStudio.VsExtension.Intellisense.CompletionSource

상속: ICompletionSource
파일 보기 프로젝트 열기: IntelliTect/PowerStudio

Private Properties

프로퍼티 타입 설명
AdjustExpansions string
CreatePipeline System.Management.Automation.Runspaces.Pipeline

공개 메소드들

메소드 설명
AugmentCompletionSession ( ICompletionSession session, IList completionSets ) : void

Determines which T:Microsoft.VisualStudio.Language.Intellisense.CompletionSets should be part of the specified T:Microsoft.VisualStudio.Language.Intellisense.ICompletionSession.

Each applicable M:Microsoft.VisualStudio.Language.Intellisense.ICompletionSource.AugmentCompletionSession(Microsoft.VisualStudio.Language.Intellisense.ICompletionSession,System.Collections.Generic.IList{Microsoft.VisualStudio.Language.Intellisense.CompletionSet}) instance will be called in-order to (re)calculate a T:Microsoft.VisualStudio.Language.Intellisense.ICompletionSession. T:Microsoft.VisualStudio.Language.Intellisense.CompletionSets can be added to the session by adding them to the completionSets collection passed-in as a parameter. In addition, by removing items from the collection, a source may filter T:Microsoft.VisualStudio.Language.Intellisense.CompletionSets provided by T:Microsoft.VisualStudio.Language.Intellisense.ICompletionSources earlier in the calculation chain.

CompletionSource ( ITextBuffer textBuffer ) : System
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetExpansions ( string line, int caretIndex ) : SimpleExpansion
GetExpansions ( string line, string lastWord ) : string[]
Invoke ( string command, [ input, [ outputResults ) : Collection

비공개 메소드들

메소드 설명
AdjustExpansions ( string leftWord, string &expansions ) : string
CreatePipeline ( string command, bool outputResults ) : System.Management.Automation.Runspaces.Pipeline

메소드 상세

AugmentCompletionSession() 공개 메소드

Determines which T:Microsoft.VisualStudio.Language.Intellisense.CompletionSets should be part of the specified T:Microsoft.VisualStudio.Language.Intellisense.ICompletionSession.
Each applicable M:Microsoft.VisualStudio.Language.Intellisense.ICompletionSource.AugmentCompletionSession(Microsoft.VisualStudio.Language.Intellisense.ICompletionSession,System.Collections.Generic.IList{Microsoft.VisualStudio.Language.Intellisense.CompletionSet}) instance will be called in-order to (re)calculate a T:Microsoft.VisualStudio.Language.Intellisense.ICompletionSession. T:Microsoft.VisualStudio.Language.Intellisense.CompletionSets can be added to the session by adding them to the completionSets collection passed-in as a parameter. In addition, by removing items from the collection, a source may filter T:Microsoft.VisualStudio.Language.Intellisense.CompletionSets provided by T:Microsoft.VisualStudio.Language.Intellisense.ICompletionSources earlier in the calculation chain.
public AugmentCompletionSession ( ICompletionSession session, IList completionSets ) : void
session ICompletionSession The session for which completions are to be computed.
completionSets IList The set of the completionSets to be added to the session.
리턴 void

CompletionSource() 공개 메소드

public CompletionSource ( ITextBuffer textBuffer ) : System
textBuffer ITextBuffer
리턴 System

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

GetExpansions() 공개 메소드

public GetExpansions ( string line, int caretIndex ) : SimpleExpansion
line string
caretIndex int
리턴 SimpleExpansion

GetExpansions() 공개 메소드

public GetExpansions ( string line, string lastWord ) : string[]
line string
lastWord string
리턴 string[]

Invoke() 공개 메소드

public Invoke ( string command, [ input, [ outputResults ) : Collection
command string
input [
outputResults [
리턴 Collection