Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IComponent

    Represents a component.

    Namespace: Umbraco.Cms.Core.Composing
    Assembly: Umbraco.Core.dll
    Syntax
    [Obsolete("Use IAsyncComponent instead. This interface will be removed in a future version.")]
    public interface IComponent : IAsyncComponent
    Remarks

    Components are created by DI and therefore must have a public constructor.

    All components are terminated in reverse order when Umbraco terminates, and disposable components are disposed.

    Methods

    View Source

    Initialize()

    Initializes the component.

    Declaration
    void Initialize()
    View Source

    Terminate()

    Terminates the component.

    Declaration
    void Terminate()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX