simplify PluginManager a bit more
This commit is contained in:
10
Pilz.Plugins/PluginRuntimeInfo{T}.cs
Normal file
10
Pilz.Plugins/PluginRuntimeInfo{T}.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user