mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
core: Apply declarations styles (#7166)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user