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
|
|
|
|
|
|
{
|
2025-09-27 16:18:33 +00:00
|
|
|
|
internal class ProcessResult(Process process, int score, string title, MatchResult match, string tooltip)
|
2020-07-03 14:07:24 +00:00
|
|
|
|
{
|
2025-09-27 16:18:33 +00:00
|
|
|
|
public Process Process { get; } = process;
|
2020-07-03 14:07:24 +00:00
|
|
|
|
|
2025-09-27 16:18:33 +00:00
|
|
|
|
public int Score { get; } = score;
|
2020-07-03 14:07:24 +00:00
|
|
|
|
|
2025-09-27 16:18:33 +00:00
|
|
|
|
public string Title { get; } = title;
|
2025-03-14 08:12:15 +00:00
|
|
|
|
|
2025-09-27 16:18:33 +00:00
|
|
|
|
public MatchResult TitleMatch { get; } = match;
|
2025-03-14 08:12:15 +00:00
|
|
|
|
|
2025-09-27 16:18:33 +00:00
|
|
|
|
public string Tooltip { get; } = tooltip;
|
2020-07-03 14:07:24 +00:00
|
|
|
|
}
|
2025-03-14 08:12:15 +00:00
|
|
|
|
}
|