1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-16 07:52:36 +01:00
Radarr/NzbDrone.Core/IndexerSearch/SearchAndDownloadService.cs

39 lines
1.2 KiB
C#
Raw Normal View History

2013-04-07 09:30:37 +02:00
using System;
namespace NzbDrone.Core.IndexerSearch
{
interface ISearchAndDownload
{
void SearchSingle(int seriesId, int seasonNumber, int episodeNumber);
void SearchDaily(int seriesId, DateTime airDate);
void SearchSeason(int seriesId, int seasonNumber);
}
/* public class SearchAndDownloadService : ISearchAndDownload
2013-04-07 09:30:37 +02:00
{
private readonly ISearchForNzb _searchService;
private readonly IMakeDownloadDecision _downloadDecisionMaker;
public SearchAndDownloadService(ISearchForNzb searchService, IMakeDownloadDecision downloadDecisionMaker)
{
_searchService = searchService;
_downloadDecisionMaker = downloadDecisionMaker;
}
public void FetchSearchSingle(int seriesId, int seasonNumber, int episodeNumber)
2013-04-07 09:30:37 +02:00
{
var result = _searchService.SearchSingle(seriesId, seasonNumber, episodeNumber);
}
public void SearchDaily(int seriesId, DateTime airDate)
{
throw new NotImplementedException();
}
public void SearchSeason(int seriesId, int seasonNumber)
{
throw new NotImplementedException();
}
}*/
2013-04-07 09:30:37 +02:00
}