1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-26 01:38:24 +00:00
Radarr/NzbDrone.Common/Model/ProcessInfo.cs

17 lines
465 B
C#
Raw Normal View History

2011-10-07 06:57:43 +00:00
using System.Diagnostics;
2011-10-07 06:36:04 +00:00
namespace NzbDrone.Common.Model
2011-10-07 06:36:04 +00:00
{
public class ProcessInfo
{
public int Id { get; set; }
public string Name { get; set; }
2011-10-07 06:36:04 +00:00
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);
}
2011-10-07 06:36:04 +00:00
}
2011-10-07 06:57:43 +00:00
}