correct constructor parameter names for plugin features
This commit is contained in:
@@ -5,12 +5,12 @@ namespace Pilz.Plugins.Advanced.UI;
|
||||
|
||||
public abstract class PluginModule : PluginModule<PluginModuleUI>
|
||||
{
|
||||
protected PluginModule(string moduleType, string moduleIdentifier) : base(moduleType, moduleIdentifier)
|
||||
protected PluginModule(string type, string identifier) : base(type, identifier)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected PluginModule(string moduleType, string moduleIdentifier, string moduleName) : base(moduleType, moduleIdentifier, moduleName)
|
||||
protected PluginModule(string type, string identifier, string? name) : base(type, identifier, name)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ public abstract class PluginModule : PluginModule<PluginModuleUI>
|
||||
if (CreateNewUI(@params) is PluginModuleUI ui)
|
||||
{
|
||||
ui.BackColor = Color.Transparent;
|
||||
DialogBase.Show(ui, Name!, Image!.ToIcon());
|
||||
DialogBase.Show(ui, Name!, Image!.ToIcon()!);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user