Files
Pilz/Pilz.Plugins.Advanced.UI/ControlFeature.cs
2024-11-15 11:03:58 +01:00

21 lines
621 B
C#

namespace Pilz.Plugins.Advanced.UI;
public abstract class ControlFeature : PluginFeature
{
public bool ControlNameRegEx { get; }
public string? ControlName { get; }
public ControlFeature(string? controlName, string type, string identifier) : base(type, identifier)
{
ControlName = controlName;
}
public ControlFeature(string? controlName, string type, string identifier, string? name) : base(type, identifier, name)
{
ControlName = controlName;
}
public abstract void Execute(Control control, ControlExecuteReason reason, PluginFunctionParameter? parameter);
}