mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 02:07:41 +00:00
17 lines
No EOL
465 B
C#
17 lines
No EOL
465 B
C#
using System.Diagnostics;
|
|
|
|
namespace NzbDrone.Common.Model
|
|
{
|
|
public class ProcessInfo
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string StartPath { get; set; }
|
|
public ProcessPriorityClass Priority { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.Format("{0}:{1} [{2}] [{3}]", Id, Name ?? "Unknown", StartPath ?? "Unknown", Priority);
|
|
}
|
|
}
|
|
} |