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 SourceInitialize()
Initializes the component.
Declaration
void Initialize()
Terminate()
Terminates the component.
Declaration
void Terminate()