mirror of
https://github.com/aaru-dps/Aaru.Checksums.git
synced 2025-12-16 19:24:29 +00:00
Code restyling.
This commit is contained in:
@@ -46,11 +46,10 @@ namespace Aaru.Checksums
|
||||
{
|
||||
public class Register : IPluginRegister
|
||||
{
|
||||
public List<Type> GetAllChecksumPlugins()
|
||||
{
|
||||
return 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();
|
||||
|
||||
public List<Type> GetAllFilesystemPlugins() => null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user