12 lines
481 B
C#
12 lines
481 B
C#
using System.Reflection;
|
|
|
|
namespace Pilz.Plugins;
|
|
|
|
public class PluginLoadInfo<TPluginInterface, TPluginRuntimeInfo> where TPluginInterface : class where TPluginRuntimeInfo : PluginRuntimeInfo<TPluginInterface>
|
|
{
|
|
internal List<TPluginRuntimeInfo> PluginsInternal { get; } = [];
|
|
public Assembly Assembly { get; internal set; }
|
|
public PluginLoadStatus Status { get; internal set; }
|
|
public IEnumerable<TPluginRuntimeInfo> Plugins => PluginsInternal.AsReadOnly();
|
|
}
|