Interface IComponent
Represents a component.
Namespace: Umbraco.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 SourceInitialize()
Initializes the component.
Declaration
void Initialize()
Terminate()
Terminates the component.
Declaration
void Terminate()