mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
* new lines & braces * Tabs /space auto fix Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
36 lines
935 B
C#
36 lines
935 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Microsoft.Plugin.WindowWalker.Components
|
|
{
|
|
class WindowResult : Window
|
|
{
|
|
/// <summary>
|
|
/// Number of letters in between constant for when
|
|
/// the result hasn't been set yet
|
|
/// </summary>
|
|
public const int NoResult = -1;
|
|
|
|
/// <summary>
|
|
/// Properties that signify how many characters (including spaces)
|
|
/// were found when matching the results
|
|
/// </summary>
|
|
public int LettersInBetweenScore
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Constructor for WindowResult
|
|
/// </summary>
|
|
public WindowResult(Window window) : base(window.Hwnd)
|
|
{
|
|
LettersInBetweenScore = WindowResult.NoResult;
|
|
}
|
|
}
|
|
}
|