mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General code refactor.
This commit is contained in:
@@ -48,10 +48,9 @@ namespace Aaru.Checksums
|
||||
public sealed class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllChecksumPlugins() => Assembly.
|
||||
GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().Contains(typeof(IChecksum))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
public List<Type> GetAllChecksumPlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().Contains(typeof(IChecksum))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => null;
|
||||
@@ -80,4 +79,4 @@ namespace Aaru.Checksums
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user