mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Plugin system] Move byte addressable media images to dependency injection.
This commit is contained in:
@@ -36,8 +36,6 @@
|
||||
// Copyright © 2011-2023 Natalia Portillo
|
||||
// ****************************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
@@ -107,7 +105,9 @@ public interface IPluginRegister
|
||||
/// <param name="services">Service collection</param>
|
||||
void RegisterArchivePlugins(IServiceCollection services);
|
||||
|
||||
/// <summary>Gets all byte addressable plugins</summary>
|
||||
/// <returns>List of byte addressable plugins</returns>
|
||||
List<Type> GetAllByteAddressablePlugins();
|
||||
/// <summary>
|
||||
/// Registers all byte addressable media image plugins in the provided service collection
|
||||
/// </summary>
|
||||
/// <param name="services">Service collection</param>
|
||||
void RegisterByteAddressablePlugins(IServiceCollection services);
|
||||
}
|
||||
Reference in New Issue
Block a user