Class ModuleDefinitionInfo
ModuleDefinitionInfo provides the Entity Layer for Module Definitions.
Inheritance
Implements
Namespace: DotNetNuke.Entities.Modules.Definitions
Assembly: DotNetNuke.dll
Syntax
public class ModuleDefinitionInfo : IXmlSerializable, IHydratable
Constructors
| Improve this Doc View SourceModuleDefinitionInfo()
Initializes a new instance of the ModuleDefinitionInfo class.
Declaration
public ModuleDefinitionInfo()
Properties
| Improve this Doc View SourceDefaultCacheTime
Gets or sets the Default Cache Time.
Declaration
public int DefaultCacheTime { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DefinitionName
Gets or sets the DefinitionName.
Declaration
public string DefinitionName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DesktopModuleID
Gets or sets the associated Desktop Module ID.
Declaration
public int DesktopModuleID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FriendlyName
Gets or sets the Friendly Name.
Declaration
public string FriendlyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
KeyID
ModuleDefinitionInfo provides the Entity Layer for Module Definitions.
Declaration
public int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ModuleControls
Gets the Dictionary of ModuleControls that are part of this definition.
Declaration
public Dictionary<string, ModuleControlInfo> ModuleControls { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, ModuleControlInfo> |
ModuleDefID
Gets or sets the Module Definition ID.
Declaration
public int ModuleDefID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Permissions
Gets the Dictionary of Permissions that are part of this definition.
Declaration
public Dictionary<string, PermissionInfo> Permissions { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, PermissionInfo> |
Methods
| Improve this Doc View SourceFill(IDataReader)
ModuleDefinitionInfo provides the Entity Layer for Module Definitions.
Declaration
public void Fill(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr |
GetSchema()
ModuleDefinitionInfo provides the Entity Layer for Module Definitions.
Declaration
public XmlSchema GetSchema()
Returns
Type | Description |
---|---|
XmlSchema |
LoadControls()
ModuleDefinitionInfo provides the Entity Layer for Module Definitions.
Declaration
public void LoadControls()
ReadXml(XmlReader)
Reads a ModuleDefinitionInfo from an XmlReader.
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
XmlReader | reader | The XmlReader to use. |
WriteXml(XmlWriter)
Writes a ModuleDefinitionInfo to an XmlWriter.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer | The XmlWriter to use. |