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
Methods
ClearHashtables(bool)
Clears all the module hashtables.
public static void ClearHashtables(bool logTasks = true)
Parameters
logTasks
boolIf true, web farm tasks are logged
ClearReadOnlyObjects(bool)
Clears object structures.
public static void ClearReadOnlyObjects(bool logTask)
Parameters
logTask
boolIf true, web farm tasks are logged
GetContextProperty(string, string)
Gets the value of context property.
public static object GetContextProperty(string name, string propertyName)
Parameters
name
stringContext name
propertyName
stringProperty 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
settings
LoadDataSettingsObject 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
objectRow
DataRowObject DataRow
objectType
stringObject type
throwIfNotFound
boolIf 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
objectType
stringObject type
throwIfNotFound
boolIf 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
objectType
stringObject type
Returns
GetReadOnlyObject(string, bool)
Gets the cached object instance of given type.
public static BaseInfo GetReadOnlyObject(string objectType, bool exceptionIfNotFound)
Parameters
objectType
stringObject type
exceptionIfNotFound
boolIf 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.")]
[ObsoleteSince(27, 0)]
public static BaseInfo GetReadOnlyObjectByClassName(string className)
Parameters
className
stringClass name
Returns
RemoveReadOnlyObject(string, bool)
Removes object structures.
public static void RemoveReadOnlyObject(string objectType, bool logTask)
Parameters
objectType
stringObject type
logTask
boolIf true, web farm tasks are logged