Class Module
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Represents the standard module.
public abstract class Module : ModuleEntry
- Inheritance
-
objectModule
- Derived
- Inherited Members
- Extension Methods
Constructors
Module(string)
Constructor
protected Module(string moduleName)
Parameters
moduleNamestringModule name
Methods
ClearHashtables(bool)
Clears the module hash tables.
protected virtual void ClearHashtables(bool logTasks)
Parameters
logTasksboolIf true, web farm tasks are logged
GetObject(string)
Gets the object created from the given DataRow.
public virtual BaseInfo GetObject(string objectType)
Parameters
objectTypestringObject type
Returns
Remarks
objectType won't be null.
RegisterContext<ContextType>(string)
Registers the module context.
protected static void RegisterContext<ContextType>(string name = null) where ContextType : IContext, new()
Parameters
namestringContext name.
Type Parameters
ContextType
RegisterReservedNamespace(string)
Registers data class codename namespace reserved by the system.
protected static void RegisterReservedNamespace(string prefix)
Parameters
prefixstringReserved namespace. It should end with a dot.