Udostępnij za pośrednictwem


AsyncCompletionSessionDataSnapshot Class

Definition

Contains data of IAsyncCompletionSession valid at a specific, instantaneous moment pertinent to current computation. This data is passed to IAsyncCompletionItemManager to filter the list and select appropriate item.

public ref class AsyncCompletionSessionDataSnapshot
public class AsyncCompletionSessionDataSnapshot
type AsyncCompletionSessionDataSnapshot = class
Public Class AsyncCompletionSessionDataSnapshot
Inheritance
AsyncCompletionSessionDataSnapshot

Constructors

AsyncCompletionSessionDataSnapshot(CompletionList<CompletionItem>, ITextSnapshot, CompletionTrigger, CompletionTrigger, ImmutableArray<CompletionFilterWithState>, Boolean, Boolean, ImmutableArray<String>)

Constructs AsyncCompletionSessionDataSnapshot

AsyncCompletionSessionDataSnapshot(ImmutableArray<CompletionItem>, ITextSnapshot, CompletionTrigger, CompletionTrigger, ImmutableArray<CompletionFilterWithState>, Boolean, Boolean, ImmutableArray<String>)

Constructs AsyncCompletionSessionDataSnapshot

AsyncCompletionSessionDataSnapshot(ImmutableArray<CompletionItem>, ITextSnapshot, CompletionTrigger, CompletionTrigger, ImmutableArray<CompletionFilterWithState>, Boolean, Boolean)

Constructs AsyncCompletionSessionDataSnapshot

AsyncCompletionSessionDataSnapshot(ImmutableArray<CompletionItem>, ITextSnapshot, CompletionTrigger, ImmutableArray<CompletionFilterWithState>, Boolean, Boolean)

Constructs AsyncCompletionSessionDataSnapshot

AsyncCompletionSessionDataSnapshot(ImmutableArray<CompletionItem>, ITextSnapshot, InitialTrigger, UpdateTrigger, ImmutableArray<CompletionFilterWithState>, Boolean, Boolean)

Constructs AsyncCompletionSessionDataSnapshot

Properties

Defaults

The suggested default items for the session.

DisplaySuggestionItem

Indicates whether the session displays a suggestion item.

InitialSortedItemList

Set of CompletionItems to filter and sort, originally returned from SortCompletionListAsync(IAsyncCompletionSession, AsyncCompletionSessionInitialDataSnapshot, CancellationToken).

InitialSortedList
Obsolete.

Set of CompletionItems to filter and sort, originally returned from SortCompletionListAsync(IAsyncCompletionSession, AsyncCompletionSessionInitialDataSnapshot, CancellationToken).

InitialTrigger

The CompletionTrigger that started this completion session.

IsSoftSelected

Indicates whether the session is using soft selection

SelectedFilters

Filters, their availability and selection state.

Snapshot

The ITextSnapshot applicable for this computation. The snapshot comes from the view's data buffer.

Trigger

The CompletionTrigger that caused this update.

UpdateTrigger

The UpdateTrigger for this update.

Applies to