Replaced built-in valuetypes with language keywords.

This commit is contained in:
Taloth Saldono
2015-10-03 19:45:26 +02:00
parent d6a135857d
commit ccfa13e383
454 changed files with 2042 additions and 2042 deletions
@@ -17,8 +17,8 @@ namespace NzbDrone.Core.Indexers.BitMeTv
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
public override Boolean SupportsSearch { get { return false; } }
public override Int32 PageSize { get { return 0; } }
public override bool SupportsSearch { get { return false; } }
public override int PageSize { get { return 0; } }
public BitMeTv(IHttpClient httpClient, IIndexerStatusService indexerStatusService, IConfigService configService, IParsingService parsingService, Logger logger)
: base(httpClient, indexerStatusService, configService, parsingService, logger)
@@ -46,7 +46,7 @@ namespace NzbDrone.Core.Indexers.BitMeTv
private IEnumerable<IndexerRequest> GetRssRequests()
{
var request = new IndexerRequest(String.Format("{0}/rss.php?uid={1}&passkey={2}", Settings.BaseUrl.Trim().TrimEnd('/'), Settings.UserId, Settings.RssPasskey), HttpAccept.Html);
var request = new IndexerRequest(string.Format("{0}/rss.php?uid={1}&passkey={2}", Settings.BaseUrl.Trim().TrimEnd('/'), Settings.UserId, Settings.RssPasskey), HttpAccept.Html);
request.HttpRequest.AddCookie(Settings.Cookie);
@@ -34,16 +34,16 @@ namespace NzbDrone.Core.Indexers.BitMeTv
}
[FieldDefinition(0, Label = "Website URL")]
public String BaseUrl { get; set; }
public string BaseUrl { get; set; }
[FieldDefinition(1, Label = "UserId")]
public String UserId { get; set; }
public string UserId { get; set; }
[FieldDefinition(2, Label = "RSS Passkey")]
public String RssPasskey { get; set; }
public string RssPasskey { get; set; }
[FieldDefinition(3, Label = "Cookie", HelpText = "BitMeTv uses a login cookie needed to access the rss, you'll have to retrieve it via a browser.")]
public String Cookie { get; set; }
public string Cookie { get; set; }
public NzbDroneValidationResult Validate()
{