Search Results for

    Show / Hide Table of Contents
    View Source

    Class ComponentCollection

    Represents the collection of IAsyncComponent implementations.

    Inheritance
    System.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(Boolean, CancellationToken)

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

    TerminateAsync(Boolean, CancellationToken)

    Declaration
    public async Task TerminateAsync(bool isRestarting, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Boolean isRestarting
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ComponentCollection(Func<IEnumerable<IAsyncComponent>>, IProfilingLogger, ILogger<ComponentCollection>)
    • Methods
      • InitializeAsync(Boolean, CancellationToken)
      • TerminateAsync(Boolean, CancellationToken)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX