cleaned up episode search

This commit is contained in:
kay.one 2013-03-06 17:51:47 -08:00
commit ef5f565a4d
75 changed files with 266 additions and 783 deletions

View file

@ -0,0 +1,22 @@
using System.Collections.Generic;
using System.Linq;
namespace NzbDrone.Core.DecisionEngine
{
public class DownloadDecision
{
public IEnumerable<string> Rejections { get; private set; }
public bool Approved
{
get
{
return !Rejections.Any();
}
}
public DownloadDecision(params string[] rejections)
{
Rejections = rejections.ToList();
}
}
}