Added ConfigurationBuilder
This commit is contained in:
@@ -4,9 +4,9 @@ namespace Toolkit.Foundation;
|
||||
|
||||
public interface IComponentFactory
|
||||
{
|
||||
IComponentHost? Create<TComponent, TConfiguration>(string name,
|
||||
TConfiguration? configuration = null,
|
||||
Action<IComponentBuilder>? builderDelegate = null,
|
||||
IComponentHost? Create<TComponent, TConfiguration>(string key,
|
||||
Action<IConfigurationBuilder<TConfiguration>>? configurationDelegate = null,
|
||||
Action<IComponentBuilder>? componentDelegate = null,
|
||||
Action<IServiceCollection>? servicesDelegate = null)
|
||||
where TComponent : IComponent
|
||||
where TConfiguration : class, new();
|
||||
|
||||
Reference in New Issue
Block a user