Edit

ListHelpers.ScoredListItem Struct

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The ScoredListItem struct represents a scored list item. It's used to encapsulate a list item along with its score, which indicates how well the item matches a search query.

Fields

Field Type Description
ListItem IListItem The list item being scored.
Score Integer The score of the list item. A higher score indicates a better match to the search query.