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:
@@ -208,10 +208,7 @@ namespace Jackett.Common.Services
|
||||
throw new Exception("Unknown indexer: " + name);
|
||||
}
|
||||
|
||||
public IEnumerable<IIndexer> GetAllIndexers()
|
||||
{
|
||||
return indexers.Values.OrderBy(_ => _.DisplayName);
|
||||
}
|
||||
public IEnumerable<IIndexer> GetAllIndexers() => indexers.Values.OrderBy(_ => _.DisplayName);
|
||||
|
||||
public async Task TestIndexer(string name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user