Interface IChildComponentConfigurationCollection
Specifies the contract for a collection of component configurations.
Namespace: Copper.Common.Interface
Assembly: Copper.Common.dll
Syntax
public interface IChildComponentConfigurationCollection : IReadOnlyCollection<ChildComponentConfiguration>, IEnumerable<ChildComponentConfiguration>, IEnumerable
Methods
View SourceAdd(ChildComponentConfiguration)
Declaration
void Add(ChildComponentConfiguration componentConfiguration)
Parameters
Type | Name | Description |
---|---|---|
ChildComponentConfiguration | componentConfiguration | The ChildComponentConfiguration to add to the IChildComponentConfigurationCollection. |
Add<TChildComponentBuilder>(Func<IServiceProvider, TChildComponentBuilder>)
Adds a ChildComponentConfiguration to the IChildComponentConfigurationCollection by providing a component builder factory.
Declaration
void Add<TChildComponentBuilder>(Func<IServiceProvider, TChildComponentBuilder> childComponentBuilderFactory)
where TChildComponentBuilder : ComponentBuilder
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.IServiceProvider, TChildComponentBuilder> | childComponentBuilderFactory | The component builder factory that will be used to add a ChildComponentConfiguration to the IChildComponentConfigurationCollection. |
Type Parameters
Name | Description |
---|---|
TChildComponentBuilder | The ComponentBuilder type. |