#region ========================================================================= USING =====================================================================================
using Lumina.Plugins.Contracts.Core.Plugins;
using System;
using System.Collections.Generic;
#endregion
namespace Lumina.Application.Common.Infrastructure.Plugins;
///
/// Manager of the plugins loaded by the host application.
///
public interface IPluginManager
{
///
/// Gets the plugins that were loaded successfully.
///
/// The collection of loaded plugins.
IReadOnlyList GetPlugins();
///
/// Gets the plugin identified by .
///
/// The unique identifier of the plugin.
/// The plugin, or when no plugin with the provided Id was loaded.
IPlugin? GetPlugin(Guid pluginId);
}