mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 15:44:25 +08:00
14 lines
414 B
C#
14 lines
414 B
C#
namespace LanMountainDesktop.PluginSdk;
|
|
|
|
public interface IPluginExportRegistry
|
|
{
|
|
IReadOnlyList<PluginServiceExportDescriptor> GetExports();
|
|
|
|
IReadOnlyList<PluginServiceExportDescriptor> GetExports(Type contractType);
|
|
|
|
PluginServiceExportDescriptor? GetExport(Type contractType, string providerPluginId);
|
|
|
|
TContract? GetExport<TContract>(string providerPluginId)
|
|
where TContract : class;
|
|
}
|