mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
CmdPal: Removing Core projects (#45693)
Functionally, no differences. - Removed Core projects. - Core.Common => Microsoft.CmdPal.Common - Core.ViewModels => Microsoft.CmdPal.UI.ViewModels --------- Co-authored-by: Jiří Polášek <me@jiripolasek.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using Microsoft.CmdPal.Common.Text;
|
||||
|
||||
namespace Microsoft.CmdPal.Common.Helpers;
|
||||
|
||||
/// <summary>
|
||||
/// Represents an item that can provide precomputed fuzzy matching targets for its title and subtitle.
|
||||
/// </summary>
|
||||
public interface IPrecomputedListItem
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the fuzzy matching target for the item's title.
|
||||
/// </summary>
|
||||
/// <param name="matcher">The precomputed fuzzy matcher used to build the target.</param>
|
||||
/// <returns>The fuzzy target for the title.</returns>
|
||||
FuzzyTarget GetTitleTarget(IPrecomputedFuzzyMatcher matcher);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the fuzzy matching target for the item's subtitle.
|
||||
/// </summary>
|
||||
/// <param name="matcher">The precomputed fuzzy matcher used to build the target.</param>
|
||||
/// <returns>The fuzzy target for the subtitle.</returns>
|
||||
FuzzyTarget GetSubtitleTarget(IPrecomputedFuzzyMatcher matcher);
|
||||
}
|
||||
Reference in New Issue
Block a user