Share via


SuggestionSessionBase Class

Definition

public abstract class SuggestionSessionBase
type SuggestionSessionBase = class
Public MustInherit Class SuggestionSessionBase
Inheritance
SuggestionSessionBase

Constructors

SuggestionSessionBase()

Properties

Proposal

The Proposal associated with the adornment.

Provider

The SuggestionProviderBase associated with the adornment.

Suggestion

The suggestion being displayed.

View

The ITextView associated with the adornment.

Methods

CommitSuggestion(Boolean)

Commit the suggestion (as if the user had accepted the suggestion).

DismissAsync(ReasonForDismiss, CancellationToken)

Dismiss the suggestion.

DisplayProposalAsync(ProposalBase, CancellationToken)

Display content to the user. Can be null (to hide the suggestion).

Applies to