mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 16:11:10 +00:00
Integrates the plugin system into the host and the media library scan pipeline
This commit is contained in:
1 parent
f71e72a948
commit
6f501a51f3
45 files changed
+1268
-370
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Plugins.Contracts.Core.Plugins;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Application.Common.Infrastructure.Plugins;
|
||||
|
||||
/// <summary>
|
||||
/// Manager of the plugins loaded by the host application.
|
||||
/// </summary>
|
||||
public interface IPluginManager
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the plugins that were loaded successfully.
|
||||
/// </summary>
|
||||
/// <returns>The collection of loaded plugins.</returns>
|
||||
IReadOnlyList<IPlugin> GetPlugins();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the plugin identified by <paramref name="pluginId"/>.
|
||||
/// </summary>
|
||||
/// <param name="pluginId">The unique identifier of the plugin.</param>
|
||||
/// <returns>The plugin, or <see langword="null"/> when no plugin with the provided Id was loaded.</returns>
|
||||
IPlugin? GetPlugin(Guid pluginId);
|
||||
}
|
||||
Reference in new issue
Block a user