Skip to main content
.NET 8.0+

ModuleBase Methods

The base class for XAF modules.
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) static 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.
Dispose() Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) static Determines 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) static Returns the type of an XAF Module.
GetService(Type) protected Returns 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() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines 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.
See Also