Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
ListItem() Constructor
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the ListItem class.
public ListItem()
: base()
{
}
ListItem(ICommand) Constructor
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the ListItem class with an ICommand instance.
public ListItem(ICommand command)
: base(command)
{
}
Parameters
command ICommand
The command associated with the list item. This command is executed when the item is selected in the command palette.
ListItem(ICommandItem) Constructor
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the ListItem class with an ICommandItem instance.
public ListItem(ICommandItem command)
: base(command)
{
}
Parameters
command ICommandItem
The command item associated with the list item. This command item is executed when the item is selected in the command palette.
Windows developer