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
moduleName
stringModule name
Methods
ClearHashtables(bool)
Clears the module hash tables.
protected virtual void ClearHashtables(bool logTasks)
Parameters
logTasks
boolIf true, web farm tasks are logged
GetObject(string)
Gets the object created from the given DataRow.
public virtual BaseInfo GetObject(string objectType)
Parameters
objectType
stringObject 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
name
stringContext name.
Type Parameters
ContextType
RegisterReservedNamespace(string)
Registers data class codename namespace reserved by the system.
protected static void RegisterReservedNamespace(string prefix)
Parameters
prefix
stringReserved namespace. It should end with a dot.