The requested page is not available for the requested platform. You are viewing the content for Default platform.

ModuleBase Members

The base class for XAF modules.


Name Description

Creates a new instance of the ModuleBase class.


Name Description
EmptyModules static

Represents an empty collection of type ModuleBase.


Name Description

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


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


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


For internal use only.

CanRaiseEvents Gets a value indicating whether the component can raise an event.
(Inherited from Component)
Container Gets the IContainer that contains the Component.
(Inherited from Component)

Specifies a textual description of a module.


For internal use.

Events Gets the list of event handlers that are attached to this Component.
(Inherited from Component)

This property is intended for internal use.


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


Gets the full name of a module's type.


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


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

Site Gets or sets the ISite of the Component.
(Inherited from Component)

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


Name Description

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


Registers node updaters in the application.


This method is intended for internal use.

CreateModule(Type, ModelStoreBase) static

Creates an XAF module instance of the specified type.

CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)

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


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) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)

Extends the Application Model.


Returns a collection of Controllers loaded to the Application Model.


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) Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)

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)

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)

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

MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
MemberwiseClone(Boolean) 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)

Sets up a module after it has been created.


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)


Name Description
Disposed Occurs when the component is disposed by a call to the Dispose() method.
(Inherited from Component)
See Also