Fixed configuration to allow merge of new data into existing data

This commit is contained in:
TheXamlGuy
2024-10-03 16:35:34 +01:00
parent 855edf7d6d
commit 8136739372
5 changed files with 78 additions and 8 deletions
+8 -1
View File
@@ -2,6 +2,13 @@
public interface IComponent
{
IComponentBuilder Configure(string? name = null,
IComponentBuilder Configure(string name,
Action<IComponentBuilder>? builderDelegate = null);
IComponentBuilder Configure(Action<IComponentBuilder>? builderDelegate = null);
IComponentBuilder Configure<TConfiguration>(string name,
TConfiguration? configuration = null,
Action<IComponentBuilder>? builderDelegate = null)
where TConfiguration : class, new();
}