New: Rebuilt Completed/Failed download handling from scratch

This commit is contained in:
Keivan Beigi
2014-12-18 16:26:42 -08:00
parent 264bb66c16
commit a6d34caf2c
79 changed files with 1221 additions and 2389 deletions
+6 -4
View File
@@ -7,12 +7,14 @@ namespace NzbDrone.Core.DecisionEngine
public Boolean Accepted { get; private set; }
public String Reason { get; private set; }
private static readonly Decision AcceptDecision = new Decision { Accepted = true };
private Decision()
{
}
public static Decision Accept()
{
return new Decision
{
Accepted = true
};
return AcceptDecision;
}
public static Decision Reject(String reason, params object[] args)