Files
Pilz/Pilz.UI/Controls/ConfigurationManager/ConfigurationManager.cs
Pilzinsel64 9dcaa7e507 add support for REST-ful API building
- allow parameters within url
- allow different methods other then just POST
-> still needs to be tested!
2024-11-28 09:03:48 +01:00

21 lines
415 B
C#

namespace Pilz.UI.Controls.ConfigurationManager;
public class ConfigurationManager
{
private readonly List<ConfigurationPanel> panels = [];
public void Register(ConfigurationPanel panel)
{
panels.Add(panel);
}
public IEnumerable<Control> Build()
{
foreach (var panel in panels)
{
panel.Build(this);
yield return panel;
}
}
}