mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Register byte addressable plugins.
This commit is contained in:
@@ -44,43 +44,43 @@ using System.Linq;
|
||||
using System.Reflection;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
|
||||
namespace Aaru.Archives
|
||||
namespace Aaru.Archives;
|
||||
|
||||
/// <inheritdoc />
|
||||
public sealed class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public sealed class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllChecksumPlugins() => null;
|
||||
public List<Type> GetAllChecksumPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilterPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilterPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFloppyImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFloppyImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllMediaImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllMediaImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllPartitionPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllPartitionPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllReadOnlyFilesystemPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllReadOnlyFilesystemPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableFloppyImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableFloppyImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(IArchive
|
||||
))).Where(t => t.IsClass).
|
||||
ToList();
|
||||
}
|
||||
}
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().Contains(typeof(IArchive))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllByteAddressablePlugins() => null;
|
||||
}
|
||||
Submodule Aaru.Checksums updated: 3145e0a2f9...b35290674d
Submodule Aaru.CommonTypes updated: b42c75b261...533131a8fb
@@ -42,46 +42,46 @@ using System.Linq;
|
||||
using System.Reflection;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
|
||||
namespace Aaru.Filesystems
|
||||
namespace Aaru.Filesystems;
|
||||
|
||||
/// <inheritdoc />
|
||||
public sealed class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public sealed class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllChecksumPlugins() => null;
|
||||
public List<Type> GetAllChecksumPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(IFilesystem))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().Contains(typeof(IFilesystem))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilterPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilterPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFloppyImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFloppyImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllMediaImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllMediaImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllPartitionPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllPartitionPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllReadOnlyFilesystemPlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(
|
||||
IReadOnlyFilesystem))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllReadOnlyFilesystemPlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(IReadOnlyFilesystem))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableFloppyImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableFloppyImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => null;
|
||||
}
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllByteAddressablePlugins() => null;
|
||||
}
|
||||
@@ -42,41 +42,43 @@ using System.Linq;
|
||||
using System.Reflection;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
|
||||
namespace Aaru.Filters
|
||||
namespace Aaru.Filters;
|
||||
|
||||
/// <inheritdoc />
|
||||
public class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllChecksumPlugins() => null;
|
||||
public List<Type> GetAllChecksumPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilterPlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().Contains(typeof(IFilter))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilterPlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().Contains(typeof(IFilter))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFloppyImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFloppyImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllMediaImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllMediaImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllPartitionPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllPartitionPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllReadOnlyFilesystemPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllReadOnlyFilesystemPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableFloppyImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableFloppyImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => null;
|
||||
}
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllByteAddressablePlugins() => null;
|
||||
}
|
||||
@@ -42,52 +42,55 @@ using System.Linq;
|
||||
using System.Reflection;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
|
||||
namespace Aaru.DiscImages
|
||||
namespace Aaru.DiscImages;
|
||||
|
||||
/// <inheritdoc />
|
||||
public sealed class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public sealed class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllChecksumPlugins() => null;
|
||||
public List<Type> GetAllChecksumPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilterPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilterPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFloppyImagePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFloppyImagePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(IFloppyImage))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllMediaImagePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().Contains(typeof(IMediaImage))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllPartitionPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllReadOnlyFilesystemPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableFloppyImagePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(IWritableFloppyImage))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableImagePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(IWritableImage))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllByteAddressablePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(IFloppyImage))).
|
||||
Contains(typeof(IByteAddressableImage))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllMediaImagePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(IMediaImage))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllPartitionPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllReadOnlyFilesystemPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableFloppyImagePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(
|
||||
IWritableFloppyImage))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableImagePlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(IWritableImage))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => null;
|
||||
}
|
||||
}
|
||||
@@ -42,42 +42,43 @@ using System.Linq;
|
||||
using System.Reflection;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
|
||||
namespace Aaru.Partitions
|
||||
namespace Aaru.Partitions;
|
||||
|
||||
/// <inheritdoc />
|
||||
public sealed class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public sealed class Register : IPluginRegister
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllChecksumPlugins() => null;
|
||||
public List<Type> GetAllChecksumPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilesystemPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilterPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFilterPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFloppyImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllFloppyImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllMediaImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllMediaImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllPartitionPlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().
|
||||
Contains(typeof(IPartition))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllPartitionPlugins() => Assembly.GetExecutingAssembly().GetTypes().
|
||||
Where(t => t.GetInterfaces().Contains(typeof(IPartition))).
|
||||
Where(t => t.IsClass).ToList();
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllReadOnlyFilesystemPlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllReadOnlyFilesystemPlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableFloppyImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableFloppyImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableImagePlugins() => null;
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllWritableImagePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => null;
|
||||
}
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllArchivePlugins() => null;
|
||||
|
||||
/// <inheritdoc />
|
||||
public List<Type> GetAllByteAddressablePlugins() => null;
|
||||
}
|
||||
Reference in New Issue
Block a user