Files
FileTime2/src/AppCommon/FileTime.App.FuzzyPanel.Abstraction/IFuzzyPanelViewModel.cs

13 lines
371 B
C#

using FileTime.App.Core.Models;
using GeneralInputKey;
namespace FileTime.App.FuzzyPanel;
public interface IFuzzyPanelViewModel<TItem> where TItem : class
{
List<TItem> FilteredMatches { get; }
TItem? SelectedItem { get; }
string SearchText { get; set; }
void UpdateFilteredMatches();
Task<bool> HandleKeyDown(GeneralKeyEventArgs keyEventArgs);
}