ModuleState Enumeration

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

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

Syntax

'Declaration
Public Enumeration ModuleState
public enum ModuleState
public enum class ModuleState
Microsoft.Practices.Composite.Modularity.ModuleState = function();
Microsoft.Practices.Composite.Modularity.ModuleState.createEnum('Microsoft.Practices.Composite.Modularity.ModuleState', false);

Members

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

See Also

Microsoft.Practices.Composite.Modularity Namespace