core: Apply declarations styles (#7166)

This commit is contained in:
Cory
2020-02-10 16:16:19 -06:00
committed by GitHub
parent e13cee2e95
commit 348dddfbee
149 changed files with 1039 additions and 1067 deletions

View File

@@ -19,16 +19,16 @@ namespace Jackett.Common.Services
public class IndexerManagerService : IIndexerManagerService
{
private ICacheService cacheService;
private IIndexerConfigurationService configService;
private IProtectionService protectionService;
private WebClient webClient;
private IProcessService processService;
private IConfigurationService globalConfigService;
private ServerConfig serverConfig;
private Logger logger;
private readonly ICacheService cacheService;
private readonly IIndexerConfigurationService configService;
private readonly IProtectionService protectionService;
private readonly WebClient webClient;
private readonly IProcessService processService;
private readonly IConfigurationService globalConfigService;
private readonly ServerConfig serverConfig;
private readonly Logger logger;
private Dictionary<string, IIndexer> indexers = new Dictionary<string, IIndexer>();
private readonly Dictionary<string, IIndexer> indexers = new Dictionary<string, IIndexer>();
private AggregateIndexer aggregateIndexer;
public IndexerManagerService(IIndexerConfigurationService config, IProtectionService protectionService, WebClient webClient, Logger l, ICacheService cache, IProcessService processService, IConfigurationService globalConfigService, ServerConfig serverConfig)
@@ -108,7 +108,7 @@ namespace Jackett.Common.Services
try
{
string DefinitionString = File.ReadAllText(file.FullName);
var DefinitionString = File.ReadAllText(file.FullName);
var definition = deserializer.Deserialize<IndexerDefinition>(DefinitionString);
return definition;
}
@@ -119,7 +119,7 @@ namespace Jackett.Common.Services
}
}).Where(definition => definition != null);
List<IIndexer> cardigannIndexers = definitions.Select(definition =>
var cardigannIndexers = definitions.Select(definition =>
{
try
{