Class ModuleManager
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Manages the list of modules within application
public class ModuleManager : ModuleEntryManager
- Inheritance
-
objectModuleManager
- Inherited Members
- Extension Methods
Constructors
ModuleManager()
public ModuleManager()
Methods
ClearHashtables(bool)
Clears all the module hashtables.
public static void ClearHashtables(bool logTasks = true)
Parameters
logTasksboolIf true, web farm tasks are logged
ClearReadOnlyObjects(bool)
Clears object structures.
public static void ClearReadOnlyObjects(bool logTask)
Parameters
logTaskboolIf true, web farm tasks are logged
GetContextProperty(string, string)
Gets the value of context property.
public static object GetContextProperty(string name, string propertyName)
Parameters
namestringContext name
propertyNamestringProperty name
Returns
- object
GetObject(LoadDataSettings)
Gets a new object of the given type created using the given settings.
public static BaseInfo GetObject(LoadDataSettings settings)
Parameters
settingsLoadDataSettingsObject settings
Returns
GetObject(DataRow, string, bool)
Gets a new object of the given type created from the given DataRow.
public static BaseInfo GetObject(DataRow objectRow, string objectType, bool throwIfNotFound = false)
Parameters
objectRowDataRowObject DataRow
objectTypestringObject type
throwIfNotFoundboolIf true, the method throws an exception in case the object type was not found
Returns
GetObject(string, bool)
Gets a new object of the given type.
public static BaseInfo GetObject(string objectType, bool throwIfNotFound = false)
Parameters
objectTypestringObject type
throwIfNotFoundboolIf true, the method throws an exception in case the object type was not found
Returns
GetReadOnlyObject(string)
Gets the cached object instance of given type.
public static BaseInfo GetReadOnlyObject(string objectType)
Parameters
objectTypestringObject type
Returns
GetReadOnlyObject(string, bool)
Gets the cached object instance of given type.
public static BaseInfo GetReadOnlyObject(string objectType, bool exceptionIfNotFound)
Parameters
objectTypestringObject type
exceptionIfNotFoundboolIf true, an exception is fired if the given object type is not found
Returns
GetReadOnlyObjectByClassName(string)
Gets the cached object representation of the given class name.
[Obsolete("Method is deprecated and will be removed in the next version.")]
public static BaseInfo GetReadOnlyObjectByClassName(string className)
Parameters
classNamestringClass name
Returns
RemoveReadOnlyObject(string, bool)
Removes object structures.
public static void RemoveReadOnlyObject(string objectType, bool logTask)
Parameters
objectTypestringObject type
logTaskboolIf true, web farm tasks are logged