Class Module
Describes a Module Instance which will be shown on a page. This is different from a ModuleDefinition which describes a Module.
public class Module : ModelBase, IAuditable
- Inheritance
-
Module
- Implements
- Inherited Members
Properties
Actions
Optional mapping of Url actions to a component
[NotMapped]
public string Actions { get; set; }
Property Value
AllPages
Determines if this module should be shown on all pages of the current Site
public bool AllPages { get; set; }
Property Value
ContainerType
The container for the pagemodule instance
[NotMapped]
public string ContainerType { get; set; }
Property Value
ControlTitle
An optional title for the component
[NotMapped]
public string ControlTitle { get; set; }
Property Value
DeletedBy
[NotMapped]
public string DeletedBy { get; set; }
Property Value
DeletedOn
[NotMapped]
public DateTime? DeletedOn { get; set; }
Property Value
EffectiveDate
Start of when this module is visible. See also ExpiryDate
[NotMapped]
public DateTime? EffectiveDate { get; set; }
Property Value
ExpiryDate
End of when this module is visible. See also EffectiveDate
[NotMapped]
public DateTime? ExpiryDate { get; set; }
Property Value
IsDeleted
[NotMapped]
public bool IsDeleted { get; set; }
Property Value
ModuleDefinition
Reference to the ModuleDefinition used for this module.
[NotMapped]
public ModuleDefinition ModuleDefinition { get; set; }
Property Value
ModuleDefinitionName
Reference to the ModuleDefinition
public string ModuleDefinitionName { get; set; }
Property Value
ModuleId
The ID of this instance
public int ModuleId { get; set; }
Property Value
ModuleType
Stores the type name for the module component being rendered
[NotMapped]
public string ModuleType { get; set; }
Property Value
Order
The order of the pagemodule instance within the Pane
[NotMapped]
public int Order { get; set; }
Property Value
PageId
Reference to the Page this module is on.
[NotMapped]
public int PageId { get; set; }
Property Value
PageModuleId
The id of the PageModule instance
[NotMapped]
public int PageModuleId { get; set; }
Property Value
Pane
The pane where this pagemodule instance will be injected on the page
[NotMapped]
public string Pane { get; set; }
Property Value
PaneModuleCount
The number of modules in a pane
[NotMapped]
public int PaneModuleCount { get; set; }
Property Value
PaneModuleIndex
The position of the module instance in a pane
[NotMapped]
public int PaneModuleIndex { get; set; }
Property Value
PermissionList
list of permissions for this module
[NotMapped]
public List<Permission> PermissionList { get; set; }
Property Value
Permissions
[Obsolete("The Permissions property is deprecated. Use PermissionList instead", false)]
[NotMapped]
[JsonIgnore]
public string Permissions { get; set; }
Property Value
Prerender
Optionally specify id the component should be prerendered (overrides the Site setting)
[NotMapped]
public bool? Prerender { get; set; }
Property Value
- bool?
RenderId
A unique id to help determine if a component should be rendered
[NotMapped]
public Guid RenderId { get; set; }
Property Value
RenderMode
Optionally specify the render mode for the component (overrides the Site setting)
[NotMapped]
public string RenderMode { get; set; }
Property Value
SecurityAccessLevel
The minimum access level to view the component being rendered
[NotMapped]
public SecurityAccessLevel SecurityAccessLevel { get; set; }
Property Value
Settings
List of settings for this module
[NotMapped]
public Dictionary<string, string> Settings { get; set; }
Property Value
SiteId
Reference to the Site
public int SiteId { get; set; }
Property Value
Title
Title of the pagemodule instance
[NotMapped]
public string Title { get; set; }
Property Value
UseAdminContainer
Optionally indicate if a compoent should not be rendered with the default modal admin container
[NotMapped]
public bool UseAdminContainer { get; set; }
Property Value
Methods
Clone()
public Module Clone()