Partager via


ComputedCompletionItems Constructors

Definition

Overloads

ComputedCompletionItems(CompletionList<CompletionItem>, CompletionItem, CompletionItem, Boolean, Boolean)

Constructs instance of ComputedCompletionItems with recently computed CompletionItems and their selection infomration.

ComputedCompletionItems(CompletionList<CompletionItemWithHighlight>, CompletionItem, CompletionItem, Boolean, Boolean)

Constructs instance of ComputedCompletionItems with recently computed CompletionItemWithHighlights and their selection infomration.

ComputedCompletionItems(ImmutableArray<CompletionItem>, CompletionItem, CompletionItem, Boolean, Boolean)

Constructs instance of ComputedCompletionItems with recently computed CompletionItems and their selection infomration.

ComputedCompletionItems(ImmutableArray<CompletionItemWithHighlight>, CompletionItem, CompletionItem, Boolean, Boolean)

Constructs instance of ComputedCompletionItems with recently computed CompletionItemWithHighlights and their selection infomration.

ComputedCompletionItems(CompletionList<CompletionItem>, CompletionItem, CompletionItem, Boolean, Boolean)

Constructs instance of ComputedCompletionItems with recently computed CompletionItems and their selection infomration.

public ComputedCompletionItems (Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionList<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem suggestionItem, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem selectedItem, bool suggestionItemSelected, bool usesSoftSelection);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.ComputedCompletionItems : Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionList<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem * bool * bool -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.ComputedCompletionItems
Public Sub New (items As CompletionList(Of CompletionItem), suggestionItem As CompletionItem, selectedItem As CompletionItem, suggestionItemSelected As Boolean, usesSoftSelection As Boolean)

Parameters

items
CompletionList<CompletionItem>

CompletionItems displayed in the completion UI

suggestionItem
CompletionItem

Suggestion CompletionItem displayed in the UI, or null if no suggestion is displayed

selectedItem
CompletionItem

Currently selected CompletionItem

suggestionItemSelected
Boolean

Whether SelectedItem is a suggestion item

usesSoftSelection
Boolean

Whether SelectedItem is soft selected.

Applies to

ComputedCompletionItems(CompletionList<CompletionItemWithHighlight>, CompletionItem, CompletionItem, Boolean, Boolean)

Constructs instance of ComputedCompletionItems with recently computed CompletionItemWithHighlights and their selection infomration.

public ComputedCompletionItems (Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionList<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItemWithHighlight> itemsWithHighlight, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem suggestionItem, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem selectedItem, bool suggestionItemSelected, bool usesSoftSelection);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.ComputedCompletionItems : Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionList<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItemWithHighlight> * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem * bool * bool -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.ComputedCompletionItems
Public Sub New (itemsWithHighlight As CompletionList(Of CompletionItemWithHighlight), suggestionItem As CompletionItem, selectedItem As CompletionItem, suggestionItemSelected As Boolean, usesSoftSelection As Boolean)

Parameters

itemsWithHighlight
CompletionList<CompletionItemWithHighlight>

CompletionItemWithHighlights displayed in the completion UI

suggestionItem
CompletionItem

Suggestion CompletionItem displayed in the UI, or null if no suggestion is displayed

selectedItem
CompletionItem

Currently selected CompletionItem

suggestionItemSelected
Boolean

Whether SelectedItem is a suggestion item

usesSoftSelection
Boolean

Whether SelectedItem is soft selected.

Applies to

ComputedCompletionItems(ImmutableArray<CompletionItem>, CompletionItem, CompletionItem, Boolean, Boolean)

Constructs instance of ComputedCompletionItems with recently computed CompletionItems and their selection infomration.

public:
 ComputedCompletionItems(System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^> items, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^ suggestionItem, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^ selectedItem, bool suggestionItemSelected, bool usesSoftSelection);
public ComputedCompletionItems (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem suggestionItem, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem selectedItem, bool suggestionItemSelected, bool usesSoftSelection);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.ComputedCompletionItems : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem * bool * bool -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.ComputedCompletionItems
Public Sub New (items As ImmutableArray(Of CompletionItem), suggestionItem As CompletionItem, selectedItem As CompletionItem, suggestionItemSelected As Boolean, usesSoftSelection As Boolean)

Parameters

items
ImmutableArray<CompletionItem>

CompletionItems displayed in the completion UI

suggestionItem
CompletionItem

Suggestion CompletionItem displayed in the UI, or null if no suggestion is displayed

selectedItem
CompletionItem

Currently selected CompletionItem

suggestionItemSelected
Boolean

Whether SelectedItem is a suggestion item

usesSoftSelection
Boolean

Whether SelectedItem is soft selected.

Applies to

ComputedCompletionItems(ImmutableArray<CompletionItemWithHighlight>, CompletionItem, CompletionItem, Boolean, Boolean)

Constructs instance of ComputedCompletionItems with recently computed CompletionItemWithHighlights and their selection infomration.

public:
 ComputedCompletionItems(System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItemWithHighlight> itemsWithHighlight, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^ suggestionItem, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^ selectedItem, bool suggestionItemSelected, bool usesSoftSelection);
public ComputedCompletionItems (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItemWithHighlight> itemsWithHighlight, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem suggestionItem, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem selectedItem, bool suggestionItemSelected, bool usesSoftSelection);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.ComputedCompletionItems : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItemWithHighlight> * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem * bool * bool -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.ComputedCompletionItems
Public Sub New (itemsWithHighlight As ImmutableArray(Of CompletionItemWithHighlight), suggestionItem As CompletionItem, selectedItem As CompletionItem, suggestionItemSelected As Boolean, usesSoftSelection As Boolean)

Parameters

itemsWithHighlight
ImmutableArray<CompletionItemWithHighlight>

CompletionItemWithHighlights displayed in the completion UI

suggestionItem
CompletionItem

Suggestion CompletionItem displayed in the UI, or null if no suggestion is displayed

selectedItem
CompletionItem

Currently selected CompletionItem

suggestionItemSelected
Boolean

Whether SelectedItem is a suggestion item

usesSoftSelection
Boolean

Whether SelectedItem is soft selected.

Applies to