sonarr-repo-only/NzbDrone.Core/IndexerSearch/Definitions/PartialSeasonSearchCriteria.cs

19 lines
574 B
C#
Raw Normal View History

2013-04-07 07:30:37 +00:00
namespace NzbDrone.Core.IndexerSearch.Definitions
{
public class PartialSeasonSearchCriteria : SeasonSearchCriteria
2013-04-07 07:30:37 +00:00
{
public int Prefix { get; set; }
public PartialSeasonSearchCriteria(SeasonSearchCriteria seasonSearch, int prefix)
2013-04-07 07:30:37 +00: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);
}
}
}