1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-13 22:43:35 +01:00
Radarr/NzbDrone.Core/IndexerSearch/Definitions/PartialSeasonSearchCriteria.cs

19 lines
574 B
C#
Raw Normal View History

2013-04-07 09:30:37 +02:00
namespace NzbDrone.Core.IndexerSearch.Definitions
{
public class PartialSeasonSearchCriteria : SeasonSearchCriteria
2013-04-07 09:30:37 +02:00
{
public int Prefix { get; set; }
public PartialSeasonSearchCriteria(SeasonSearchCriteria seasonSearch, int prefix)
2013-04-07 09:30:37 +02:00
{
Prefix = prefix;
SceneTitle = seasonSearch.SceneTitle;
SeasonNumber = seasonSearch.SeasonNumber;
}
public override string ToString()
{
2013-07-26 05:25:24 +02:00
return string.Format("[{0} : S{1:00}E{2:0}*]", SceneTitle, SeasonNumber, Prefix);
2013-04-07 09:30:37 +02:00
}
}
}