You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/src/NzbDrone.Core/DecisionEngine/Rejection.cs

20 lines
461 B

namespace NzbDrone.Core.DecisionEngine
{
public class Rejection
{
public string Reason { get; set; }
public RejectionType Type { get; set; }
public Rejection(string reason, RejectionType type = RejectionType.Permanent)
{
Reason = reason;
Type = type;
}
public override string ToString()
{
return string.Format("[{0}] {1}", Type, Reason);
}
}
}