2020-07-03 14:07:24 +00:00
|
|
|
|
using System.Diagnostics;
|
2025-03-14 08:12:15 +00:00
|
|
|
|
using Flow.Launcher.Plugin.SharedModels;
|
2020-07-03 14:07:24 +00:00
|
|
|
|
|
|
|
|
|
|
namespace Flow.Launcher.Plugin.ProcessKiller
|
|
|
|
|
|
{
|
|
|
|
|
|
internal class ProcessResult
|
|
|
|
|
|
{
|
2025-03-14 08:12:15 +00:00
|
|
|
|
public ProcessResult(Process process, int score, string title, MatchResult match, string tooltip)
|
2020-07-03 14:07:24 +00:00
|
|
|
|
{
|
|
|
|
|
|
Process = process;
|
|
|
|
|
|
Score = score;
|
2025-03-14 08:12:15 +00:00
|
|
|
|
Title = title;
|
|
|
|
|
|
TitleMatch = match;
|
|
|
|
|
|
Tooltip = tooltip;
|
2020-07-03 14:07:24 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public Process Process { get; }
|
|
|
|
|
|
|
|
|
|
|
|
public int Score { get; }
|
2025-03-14 08:12:15 +00:00
|
|
|
|
|
|
|
|
|
|
public string Title { get; }
|
|
|
|
|
|
|
|
|
|
|
|
public MatchResult TitleMatch { get; }
|
|
|
|
|
|
|
|
|
|
|
|
public string Tooltip { get; }
|
2020-07-03 14:07:24 +00:00
|
|
|
|
}
|
2025-03-14 08:12:15 +00:00
|
|
|
|
}
|