2020-11-06 02:37:45 +01:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
|
2020-12-10 01:36:28 +01:00
|
|
|
import "PaletteItem.idl";
|
2020-11-06 02:37:45 +01:00
|
|
|
import "HighlightedTextControl.idl";
|
|
|
|
|
|
|
|
namespace TerminalApp
|
|
|
|
{
|
|
|
|
[default_interface] runtimeclass FilteredCommand : Windows.UI.Xaml.Data.INotifyPropertyChanged
|
|
|
|
{
|
|
|
|
FilteredCommand();
|
2020-12-10 01:36:28 +01:00
|
|
|
FilteredCommand(PaletteItem item);
|
2020-11-06 02:37:45 +01:00
|
|
|
|
2020-12-10 01:36:28 +01:00
|
|
|
PaletteItem Item { get; };
|
2020-11-06 02:37:45 +01:00
|
|
|
String Filter;
|
|
|
|
HighlightedText HighlightedName { get; };
|
|
|
|
Int32 Weight;
|
|
|
|
|
|
|
|
void UpdateFilter(String filter);
|
|
|
|
}
|
|
|
|
}
|