Interface IInitializationEngine
Used internally by EPiServer to initialize a set of modules
Namespace: EPiServer.Framework.Initialization
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public interface IInitializationEngine
Properties
Assemblies
A list of assemblies that should participate in the initialization
Declaration
IEnumerable<Assembly> Assemblies { get; set; }
Property Value
Type | Description |
---|---|
System. |
Remarks
This list will be the base for different scanning operations done within the initialization such
as plug-in systems and services configured using Service
By default when EPiServer initializes this will be set to a list of allowed assemblies configured
in EPi
HostType
The Host
Declaration
HostType HostType { get; }
Property Value
Type | Description |
---|---|
Host |
InitializationState
Gets or sets the state of the initialization.
Declaration
InitializationState InitializationState { get; }
Property Value
Type | Description |
---|---|
Initialization |
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. |
Methods
Configure()
Calls all IConfigurable
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. |
Remarks
Initialization is complete when all intializable modules have executed successfully (without throwing any exception).