ModuleBase Members

Constructors

Name Description
ModuleBase()

Creates a new instance of the ModuleBase class.

Fields

Name Description
EmptyModules

Represents an empty collection of type ModuleBase.

Properties

Name Description
AdditionalControllerTypes

Contains manually specified Controllers to be loaded to the Application Model.

AdditionalExportedTypes

Contains manually specified business classes to be loaded to the Application Model.

Application

Provides access to an XafApplication object that can be used to manage the current application.

AssemblyName

For internal use only.

Description

Specifies a textual description of a module.

DiffsStore

For internal use.

ModelDifferenceResourceName

This property is intended for internal use.

ModuleManager

Provides access to the ApplicationModulesManager object, which contains information on the modules currenly added to the application.

Name

Gets the full name of a module's type.

RequiredModuleTypes

Provides access to the collection of modules that are added to the current module via the Module Designer.

ResourcesExportedToModel

Provides access to a collection of Resource Localizers used in the current module to extend the Application Model's IModelLocalization node.

Version

Gets the major, minor, revision, and build numbers of a module's assembly.

Methods

Name Description
AddGeneratorUpdaters(ModelNodesGeneratorUpdaters)

Registers the Generator Updaters. These are classes, used to customize the Application Model's zero layer after it has been generated.

AddModelNodeUpdaters(IModelNodeUpdaterRegistrator)

Registers node updaters in the application.

AddModelNodeValidators(IModelNodeValidatorRegistrator)

This method is intended for internal use.

CreateModule(Type, ModelStoreBase)

Creates an XAF module instance of the specified type.

CustomizeLogics(CustomLogics)

Allows you to override domain logic classes registered for Application Model interfaces.

CustomizeTypesInfo(ITypesInfo)

Customizes business class metadata before loading it to the Application Model's BOModel node.

ExtendModelInterfaces(ModelInterfaceExtenders)

Extends the Application Model.

GetControllerTypes()

Returns a collection of Controllers loaded to the Application Model.

GetExportedTypes()

Returns a collection of business classes loaded to the Application Model.

GetModuleUpdaters(IObjectSpace, Version)

Returns the list of ModuleUpdater updaters that handle database updates for the ModuleBase module.

GetRealModuleType(Type)

Returns the type of an XAF Module.

GetStartupActions()

Returns a list of Pop-up Window Show Actions that must be executed before loading the application's main Window.

GetXafResourceLocalizerTypes()

Returns a collection of Resource Localizer types that can be used in an application that uses the current module.

IsExportedType(Type)

Detects whether the specified type is exported to the system class.

Setup(ApplicationModulesManager)

Sets up a module after it has been created.

Setup(XafApplication)

Sets up a module after it has been added to the XafApplication.Modules collection.