mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Convert functions and properties to expression bodies when able (#7312)
Convert functions and properties to expression bodies when able
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Jackett.Common.Indexers
|
||||
{
|
||||
public class TorrentNetwork : BaseWebIndexer
|
||||
{
|
||||
private string APIUrl { get { return SiteLink + "api/"; } }
|
||||
private string APIUrl => SiteLink + "api/";
|
||||
private string passkey;
|
||||
|
||||
private readonly Dictionary<string, string> APIHeaders = new Dictionary<string, string>()
|
||||
@@ -27,8 +27,8 @@ namespace Jackett.Common.Indexers
|
||||
|
||||
private new ConfigurationDataBasicLoginWithRSSAndDisplay configData
|
||||
{
|
||||
get { return (ConfigurationDataBasicLoginWithRSSAndDisplay)base.configData; }
|
||||
set { base.configData = value; }
|
||||
get => (ConfigurationDataBasicLoginWithRSSAndDisplay)base.configData;
|
||||
set => base.configData = value;
|
||||
}
|
||||
|
||||
public TorrentNetwork(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps)
|
||||
|
Reference in New Issue
Block a user