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
    public interface IComponent
    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.

    The Dispose method may be invoked more than once, and components should ensure they support this.

    Methods

    View Source

    Initialize()

    Initializes the component.

    Declaration
    void Initialize()
    View Source

    Terminate()

    Terminates the component.

    Declaration
    void Terminate()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX