Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ICollectionBuilder<TCollection, TItem>

    Represents a collection builder.

    Namespace: Umbraco.Cms.Core.Composing
    Assembly: Umbraco.Core.dll
    Syntax
    public interface ICollectionBuilder<out TCollection, TItem> : ICollectionBuilder where TCollection : IBuilderCollection<TItem>
    Type Parameters
    Name Description
    TCollection

    The type of the collection.

    TItem

    The type of the items.

    Methods

    View Source

    CreateCollection(IServiceProvider)

    Creates a collection.

    Declaration
    TCollection CreateCollection(IServiceProvider factory)
    Parameters
    Type Name Description
    IServiceProvider factory
    Returns
    Type Description
    TCollection

    A collection.

    Remarks

    Creates a new collection each time it is invoked.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • CreateCollection(IServiceProvider)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX