Sdílet prostřednictvím


SuggestionManagerBase Třída

Definice

public abstract class SuggestionManagerBase : Microsoft.VisualStudio.Threading.IAsyncDisposable
type SuggestionManagerBase = class
    interface IAsyncDisposable
Public MustInherit Class SuggestionManagerBase
Implements IAsyncDisposable
Dědičnost
SuggestionManagerBase
Implementuje

Konstruktory

SuggestionManagerBase()

Správce návrhů pro SuggestionProviderBase a ITextView. Vytvořeno prostřednictvím .TryRegisterProviderAsync(SuggestionProviderBase, ITextView, String, CancellationToken)

Vlastnosti

CompletionState

Vrátí stav dokončení zobrazení (pokud existuje).

IsSuggestionDisplayed

Vrátí informace o tom, zda se v zobrazení aktuálně zobrazuje návrh.

View

Přidružená ITextView ke manažeru.

Metody

DisableProviderAsync(String, CancellationToken)

Zakažte poskytovatele s daným name. Vyřaďte vrácený IAsyncDisposable kód, aby bylo možné poskytovatele znovu povolit.

DisposeAsync()

Správce návrhů pro SuggestionProviderBase a ITextView. Vytvořeno prostřednictvím .TryRegisterProviderAsync(SuggestionProviderBase, ITextView, String, CancellationToken)

TryDisplaySuggestionAsync(SuggestionBase, CancellationToken)

Zkuste uživateli zobrazit .suggestion

Platí pro