Search Results for

    Show / Hide Table of Contents
    View Source

    Class ComponentCollection

    Represents the collection of IAsyncComponent implementations.

    Inheritance
    object
    BuilderCollectionBase<IAsyncComponent>
    Namespace: Umbraco.Cms.Core.Composing
    Assembly: Umbraco.Core.dll
    Syntax
    public class ComponentCollection : BuilderCollectionBase<IAsyncComponent>, IBuilderCollection<IAsyncComponent>

    Constructors

    View Source

    ComponentCollection(Func<IEnumerable<IAsyncComponent>>, IProfilingLogger, ILogger<ComponentCollection>)

    Declaration
    public ComponentCollection(Func<IEnumerable<IAsyncComponent>> items, IProfilingLogger profilingLogger, ILogger<ComponentCollection> logger)
    Parameters
    Type Name Description
    Func<IEnumerable<IAsyncComponent>> items
    IProfilingLogger profilingLogger
    ILogger<ComponentCollection> logger

    Methods

    View Source

    InitializeAsync(bool, CancellationToken)

    Declaration
    public Task InitializeAsync(bool isRestarting, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    bool isRestarting
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    View Source

    TerminateAsync(bool, CancellationToken)

    Declaration
    public Task TerminateAsync(bool isRestarting, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    bool isRestarting
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX