Show / Hide Table of Contents

    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 Source

    Add(ChildComponentConfiguration)

    Adds a ChildComponentConfiguration to the IChildComponentConfigurationCollection.

    Declaration
    void Add(ChildComponentConfiguration componentConfiguration)
    Parameters
    Type Name Description
    ChildComponentConfiguration componentConfiguration

    The ChildComponentConfiguration to add to the IChildComponentConfigurationCollection.

    View Source

    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.

    • View Source
    Back to top Generated by DocFX