November Happy Hour will be moved to Thursday December 5th.

Interface IInitializationEngine

Used internally by EPiServer to initialize a set of modules

Namespace: EPiServer.Framework.Initialization
Assembly: EPiServer.Framework.dll
Version: 10.10.4
Syntax
public interface IInitializationEngine

Properties

HostType

The HostType of the current application

Declaration
HostType HostType { get; }
Property Value
Type Description
HostType

InitializationState

Gets or sets the state of the initialization.

Declaration
InitializationState InitializationState { get; }
Property Value
Type Description
InitializationState

The state of the initialization.

Modules

The list of modules that should be initialized

Declaration
IEnumerable<IInitializableModule> Modules { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IInitializableModule>

Methods

Configure()

Calls all IConfigurableModule instances.

Declaration
void Configure()
Remarks

Calling this method is optional, it must be called before Initialize()

Initialize()

Initializes all initializable modules.

Declaration
void Initialize()

Uninitialize()

Un-initialize all initializable modules.

Declaration
void Uninitialize()

Events

InitComplete

InitComplete is raised when initialization is complete.

Declaration
event EventHandler InitComplete
Event Type
Type Description
System.EventHandler
Remarks

Initialization is complete when all intializable modules have executed successfully (without throwing any exception).

Extension Methods