10 lines
311 B
C#
10 lines
311 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Toolkit.Foundation;
|
|
|
|
public interface IComponentFactory
|
|
{
|
|
IComponentHost? Create<TComponent>(string name,
|
|
ComponentConfiguration configuration, Action<IServiceCollection>? servicesDelegate = null)
|
|
where TComponent : IComponent;
|
|
} |