C# Класс PowerStudio.VsExtension.Intellisense.CompletionSource

Наследование: ICompletionSource
Показать файл Открыть проект

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