Back to Devexpress

ModuleBase Members

expressappframework-devexpress-dot-expressapp-dot-modulebase-dot-underscore-members.md

latest13.9 KB
Original Source

ModuleBase Members

The base class for XAF modules.

Constructors

NameDescription
ModuleBase()Creates a new instance of the ModuleBase class.

Fields

NameDescription
EmptyModules staticRepresents an empty collection of type ModuleBase.
VersionComponentsCount staticFor internal use.

Properties

NameDescription
AdditionalControllerTypesContains manually specified Controllers to be loaded to the Application Model.
AdditionalExportedTypesContains manually specified business classes to be loaded to the Application Model.
ApplicationProvides access to an XafApplication object that can be used to manage the current application.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ContainerGets the IContainer that contains the Component. Inherited from Component.
DescriptionSpecifies a textual description of a module.
DiffsStoreFor internal use.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
ModelDifferenceResourceNameThis property is intended for internal use.
ModuleManagerProvides access to the ApplicationModulesManager object, which contains information on the modules currenly added to the application.
NameGets the full name of a module’s type.
RequiredModuleTypesProvides access to the collection of modules that are added to the current module.
ResourcesExportedToModelProvides access to a collection of Resource Localizers used in the current module to extend the Application Model’s IModelLocalization node.
SiteGets or sets the ISite of the Component. Inherited from Component.
VersionGets the major, minor, revision, and build numbers of a module’s assembly.

Methods

NameDescription
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) staticCreates 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.
Dispose()Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
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.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetModuleUpdaters(IObjectSpace, Version)Returns the list of ModuleUpdater updaters that handle database updates for the ModuleBase module.
GetRealModuleType(Type) staticReturns the type of an XAF Module.
GetService(Type) protectedReturns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetStartupActions()Returns a list of Pop-up Window Show Actions that must be executed before loading the application’s main Window.
GetType()Gets the Type of the current instance. Inherited from Object.
GetXafResourceLocalizerTypes()Returns a collection of Resource Localizer types that can be used in an application that uses the current module.
InitializeLifetimeService()Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
IsExportedType(Type)Detects whether the specified type is exported to the system class.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
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.
ToString()Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

NameDescription
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.

See Also

ModuleBase Class

DevExpress.ExpressApp Namespace