21 lines
621 B
C#
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);
|
|
}
|