add support for REST-ful API building

- allow parameters within url
- allow different methods other then just POST
-> still needs to be tested!
This commit is contained in:
Pilzinsel64
2024-11-28 09:03:48 +01:00
parent 74ebbbca7b
commit 9dcaa7e507
9 changed files with 239 additions and 53 deletions

View File

@@ -0,0 +1,20 @@
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;
}
}
}