mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 15:47:20 +02:00
Enforce rule IDE0005 on build
(cherry picked from commit 6b1e4ef81938d264a2ddc8b626b0502f799aa640)
This commit is contained in:
parent
d878738a62
commit
52c64080f2
@ -30,6 +30,13 @@
|
||||
<!-- A test project gets the test sdk packages automatically added -->
|
||||
<TestProject>false</TestProject>
|
||||
<TestProject Condition="$(MSBuildProjectName.EndsWith('.Test'))">true</TestProject>
|
||||
|
||||
<!-- XML documentation comments are needed to enforce rule IDE0005 on build -->
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<!--
|
||||
CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
|
||||
-->
|
||||
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
@ -29,7 +29,7 @@ public class OAuthRequest
|
||||
public virtual string Version { get; set; }
|
||||
public virtual string SessionHandle { get; set; }
|
||||
|
||||
/// <seealso cref="http://oauth.net/core/1.0#request_urls"/>
|
||||
/// <seealso href="http://oauth.net/core/1.0#request_urls"/>
|
||||
public virtual string RequestUrl { get; set; }
|
||||
|
||||
#if !WINRT
|
||||
|
@ -35,11 +35,11 @@ public TorrentRssSettingsDetector(IHttpClient httpClient, Logger logger)
|
||||
/// </summary>
|
||||
/// <param name="settings">Indexer Settings to use for Parser</param>
|
||||
/// <returns>Parsed Settings or <c>null</c></returns>
|
||||
public TorrentRssIndexerParserSettings Detect(TorrentRssIndexerSettings indexerSettings)
|
||||
public TorrentRssIndexerParserSettings Detect(TorrentRssIndexerSettings settings)
|
||||
{
|
||||
_logger.Debug("Evaluating TorrentRss feed '{0}'", indexerSettings.BaseUrl);
|
||||
_logger.Debug("Evaluating TorrentRss feed '{0}'", settings.BaseUrl);
|
||||
|
||||
var requestGenerator = new TorrentRssIndexerRequestGenerator { Settings = indexerSettings };
|
||||
var requestGenerator = new TorrentRssIndexerRequestGenerator { Settings = settings };
|
||||
var request = requestGenerator.GetRecentRequests().GetAllTiers().First().First();
|
||||
|
||||
HttpResponse httpResponse = null;
|
||||
@ -54,7 +54,7 @@ public TorrentRssIndexerParserSettings Detect(TorrentRssIndexerSettings indexerS
|
||||
}
|
||||
|
||||
var indexerResponse = new IndexerResponse(request, httpResponse);
|
||||
return GetParserSettings(indexerResponse, indexerSettings);
|
||||
return GetParserSettings(indexerResponse, settings);
|
||||
}
|
||||
|
||||
private TorrentRssIndexerParserSettings GetParserSettings(IndexerResponse response, TorrentRssIndexerSettings indexerSettings)
|
||||
|
@ -209,7 +209,7 @@ private static string ToRomanNumeral(int number)
|
||||
/// Returns the Roman numeral that was passed in as either an Arabic numeral
|
||||
/// or a Roman numeral.
|
||||
/// </summary>
|
||||
/// <returns>A <see cref="System.string" /> representing a Roman Numeral</returns>
|
||||
/// <returns>A <see cref="string" /> representing a Roman Numeral</returns>
|
||||
public string ToRomanNumeral()
|
||||
{
|
||||
return ToString();
|
||||
@ -349,7 +349,7 @@ public bool Equals(RomanNumeral other)
|
||||
/// during creation.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// A <see cref="System.string" /> that represents a Roman Numeral.
|
||||
/// A <see cref="string" /> that represents a Roman Numeral.
|
||||
/// </returns>
|
||||
public override string ToString()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user