simplify PluginManager a bit more
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Pilz.Plugins;
|
||||
|
||||
public class PluginLoadInfo<TPluginInterface, TPluginRuntimeInfo> where TPluginInterface : class where TPluginRuntimeInfo : PluginRuntimeInfo<TPluginInterface>
|
||||
public class PluginLoadInfo<TPluginInterface, TPluginRuntimeInfo> where TPluginInterface : class where TPluginRuntimeInfo : PluginRuntimeInfo
|
||||
{
|
||||
internal List<TPluginRuntimeInfo> PluginsInternal { get; } = [];
|
||||
public Assembly Assembly { get; internal set; }
|
||||
public Assembly? Assembly { get; internal set; }
|
||||
public PluginLoadStatus Status { get; internal set; }
|
||||
public IEnumerable<TPluginRuntimeInfo> Plugins => PluginsInternal.AsReadOnly();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user