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

Name Description
SuggestionManagerBase()

Properties

Name Description
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

Name Description
CommitProposalAsync(ProposalBase, CancellationToken)

Commit all edits associated with the proposal as if the proposal had been displayed by the suggestion service.

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