diff --git a/Aaru.CommonTypes.csproj b/Aaru.CommonTypes.csproj index 53503c673..e073009c8 100644 --- a/Aaru.CommonTypes.csproj +++ b/Aaru.CommonTypes.csproj @@ -43,6 +43,7 @@ + diff --git a/Interfaces/IPluginRegister.cs b/Interfaces/IPluginRegister.cs index 1c28ce8e1..144d9d8b6 100644 --- a/Interfaces/IPluginRegister.cs +++ b/Interfaces/IPluginRegister.cs @@ -39,6 +39,7 @@ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; +using Microsoft.Extensions.DependencyInjection; namespace Aaru.CommonTypes.Interfaces; @@ -46,9 +47,11 @@ namespace Aaru.CommonTypes.Interfaces; [SuppressMessage("ReSharper", "UnusedMember.Global")] public interface IPluginRegister { - /// Gets all checksum plugins - /// List of checksum plugins - List GetAllChecksumPlugins(); + /// + /// Registers all checksum plugins in the provided service collection + /// + /// Service collection + void RegisterChecksumPlugins(IServiceCollection services); /// Gets all filesystem plugins /// List of filesystem plugins