ModuleState Enumeration

Defines the states a ModuleInfo can be in, with regards to the module loading and initialization process.

Namespace:  Microsoft.Practices.Prism.Modularity
Assembly:  Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)

Syntax

public enum ModuleState
'Declaration
Public Enumeration ModuleState

Members

Member name Value Description
NotStarted 0 Initial state for ModuleInfos. The ModuleInfo is defined, but it has not been loaded, retrieved or initialized yet.
LoadingTypes 1 The assembly that contains the type of the module is currently being loaded by an instance of a IModuleTypeLoader.
ReadyForInitialization 2 The assembly that holds the Module is present. This means the type of the IModule can be instantiated and initialized.
Initializing 3 The module is currently Initializing, by the IModuleInitializer
Initialized 4 The module is initialized and ready to be used.

See Also

Microsoft.Practices.Prism.Modularity Namespace