SaaS CMS has officially launched! Learn more now.

Class InitializableModuleAttribute

Used to decorate a class that should be called as part of the initialization process

Inheritance
System.Object
InitializableModuleAttribute
Namespace: EPiServer.Framework
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public sealed class InitializableModuleAttribute : Attribute
Remarks

The class also has to implement the interface IInitializableModule

Constructors

InitializableModuleAttribute()

Initializes a new instance of the InitializableModuleAttribute class.

Declaration
public InitializableModuleAttribute()

Properties

UninitializeOnShutdown

Indicates if Uninitialize should be called when application is shutdown, e.g. called from System.Web.Hosting.IRegisteredObject.Stop

Declaration
public bool UninitializeOnShutdown { get; set; }
Property Value
Type Description
System.Boolean
Remarks

If a shutdown is requested then there is no guaranteed order in which Uninitialize on the modules are called, they might be called in parallel

Extension Methods