Class ShellInitialization
Shell Initialization module
Inheritance
Inherited Members
Namespace: EPiServer.Shell
Assembly: EPiServer.Shell.dll
Version: 8.11.0Syntax
[ModuleDependency(typeof(FrameworkInitialization))]
[InitializableModule]
public class ShellInitialization : IConfigurableModule, IInitializableHttpModule, IInitializableModule, IDisposable
Constructors
ShellInitialization()
Declaration
public ShellInitialization()
Methods
ConfigureContainer(ServiceConfigurationContext)
Configures EPiServer Shell on the IoC container
Declaration
public void ConfigureContainer(ServiceConfigurationContext context)
Parameters
Type | Name | Description |
---|---|---|
ServiceConfigurationContext | context | The context which is configured. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
|
Initialize(InitializationEngine)
Initializes this instance.
Declaration
public void Initialize(InitializationEngine context)
Parameters
Type | Name | Description |
---|---|---|
InitializationEngine | context | The context. |
InitializeHttpEvents(HttpApplication)
Initialize any events on
Declaration
public void InitializeHttpEvents(HttpApplication application)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpApplication | application | The instance to initialize |
Remarks
This method may be called either after or before the Initialize-method so make sure you do not have any dependencies between these methods. The beaviour that is guaranteed is that your event handlers will not be called before the Initialize-method. If EPiServer is being initialized outside ASP.NET this method will never get called.
When the ASP.NET runtime initializes it will create many instances of the
Since a
Uninitialize(InitializationEngine)
Resets the module into an uninitialized state.
Declaration
public void Uninitialize(InitializationEngine context)
Parameters
Type | Name | Description |
---|---|---|
InitializationEngine | context | The context. |