2013-04-07 10:30:37 +03:00
|
|
|
namespace NzbDrone.Core.IndexerSearch.Definitions
|
|
|
|
{
|
2013-06-06 17:42:23 +03:00
|
|
|
public class PartialSeasonSearchCriteria : SeasonSearchCriteria
|
2013-04-07 10:30:37 +03:00
|
|
|
{
|
|
|
|
public int Prefix { get; set; }
|
|
|
|
|
2013-06-06 17:42:23 +03:00
|
|
|
public PartialSeasonSearchCriteria(SeasonSearchCriteria seasonSearch, int prefix)
|
2013-04-07 10:30:37 +03:00
|
|
|
{
|
|
|
|
Prefix = prefix;
|
|
|
|
SceneTitle = seasonSearch.SceneTitle;
|
|
|
|
SeasonNumber = seasonSearch.SeasonNumber;
|
|
|
|
}
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
{
|
|
|
|
return string.Format("[{0} : S{1:00}E{1:0}*]", SceneTitle, SeasonNumber, Prefix);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|