Share via


SuggestionManagerBase Class

Definition

public abstract class SuggestionManagerBase : Microsoft.VisualStudio.Threading.IAsyncDisposable
type SuggestionManagerBase = class
    interface IAsyncDisposable
Public MustInherit Class SuggestionManagerBase
Implements IAsyncDisposable
Inheritance
SuggestionManagerBase
Implements

Constructors

SuggestionManagerBase()

Properties

CompletionState

Returns the completion state of the view (if any).

IsSuggestionDisplayed

Returns whether or not a suggestion is currently being displayed in the view.

View

The ITextView associated with the manager.

Methods

DisableProviderAsync(String, CancellationToken)

Disable a provider with the given name. Dispose of the returned IAsyncDisposable to reenable the provider.

DisposeAsync()
EnqueueAction(String, Func<Task>, Object)

Enqueue action to run after previously enqueued actions have completed

TryDisplaySuggestionAsync(SuggestionBase, CancellationToken)

Try to display a suggestion to the user.

Applies to