simplify PluginManager a bit more

This commit is contained in:
Pilzinsel64
2024-11-11 08:46:24 +01:00
parent 9b7c38ea85
commit eca1a4c7ca
7 changed files with 28 additions and 19 deletions

View File

@@ -0,0 +1,10 @@
namespace Pilz.Plugins;
public class PluginRuntimeInfo<T> : PluginRuntimeInfo where T : class
{
public new T? Plugin
{
get => base.Plugin as T;
set => base.Plugin = value;
}
}