Class EPiServerShellSection
Configures shell specific settings.
Inheritance
Namespace: EPiServer.Shell.Configuration
Assembly: EPiServer.Shell.dll
Version: 9.12.2Syntax
public class EPiServerShellSection : ConfigurationSection
Constructors
EPiServerShellSection()
Declaration
public EPiServerShellSection()
Properties
ClientResources
Configures client resoruces such as enabling debug mode
Declaration
[Obsolete("Client resource configuration element is moved to EPiServer.Framework.Configuration.EPiServerFrameworkSection section.")]
public ClientResourcesElement ClientResources { get; set; }
Property Value
Type | Description |
---|---|
ClientResourcesElement |
ConfigurationInstance
Gets and sets the current configuration to use
Declaration
[Obsolete("Use ConfigurationSource.Instance = new FileConfigurationSource(value) to replace global configuration or use GlobalConfigurationManager to Load and Save configuration files")]
public static Configuration ConfigurationInstance { get; set; }
Property Value
Type | Description |
---|---|
System.Configuration.Configuration |
Dashboard
Gets or sets the dashboard configuration.
Declaration
[Obsolete("The EPiServer 6 Dashboard configuration element has been replaced with the ViewManager element.")]
public DashboardElement Dashboard { get; set; }
Property Value
Type | Description |
---|---|
DashboardElement | The dashboard. |
Instance
Gets the instance of the EPiServerShellSection section
Declaration
public static EPiServerShellSection Instance { get; }
Property Value
Type | Description |
---|---|
EPiServerShellSection |
Navigation
A collection of modules. In addition to modules configured in the collection modules will be auto-discovered from the resource root path.
Declaration
public MenuItemCollection Navigation { get; set; }
Property Value
Type | Description |
---|---|
MenuItemCollection |
ProtectedModules
A collection of modules only accessible for authenticated users.
Declaration
public ModulesElementCollection ProtectedModules { get; set; }
Property Value
Type | Description |
---|---|
ModulesElementCollection |
PublicModules
A collection of publicly accessible modules. In addition to modules explicitly configured in this collection modules will also be auto-discovered from the resource root path.
Declaration
public ModulesElementCollection PublicModules { get; set; }
Property Value
Type | Description |
---|---|
ModulesElementCollection |
UserInterface
Gets or sets the dashboard configuration.
Declaration
public UserInterfaceElement UserInterface { get; set; }
Property Value
Type | Description |
---|---|
UserInterfaceElement | The dashboard. |
ViewManager
Gets or sets the dashboard configuration.
Declaration
public ViewManagerElement ViewManager { get; set; }
Property Value
Type | Description |
---|---|
ViewManagerElement | The dashboard. |
Methods
GetSection()
Gets the site center section from the configuration.
Declaration
public static EPiServerShellSection GetSection()
Returns
Type | Description |
---|---|
EPiServerShellSection | The episerver.shell configuration section as configured, or empty configuration class if not configured. |