Class EPiServerSection
Inheritance
System.Object
EPiServerSection
Assembly: EPiServer.Configuration.dll
Version: 10.10.4
Syntax
[ServiceConfiguration(FactoryMember = "Instance")]
public class EPiServerSection : ConfigurationSection
Constructors
EPiServerSection()
Declaration
public EPiServerSection()
Properties
ApplicationSettings
Gets the application settings.
Declaration
public Settings ApplicationSettings { get; }
Property Value
Type |
Description |
Settings |
The application settings.
|
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 |
|
ContentProvider
Declaration
public ContentProviderElement ContentProvider { get; }
Property Value
DynamicContentSettings
Holds settings related to Dynamic content.
Declaration
public DynamicContentElement DynamicContentSettings { get; }
Property Value
ImageEditorSettings
Gets the settings for the EPiServer Image Editor.
Declaration
public ImageEditorElement ImageEditorSettings { get; }
Property Value
Instance
Declaration
public static EPiServerSection Instance { get; }
Property Value
LinkValidator
Gets the settings for the link validator.
Declaration
public LinkValidatorElement LinkValidator { get; }
Property Value
TinyMCESettings
Declaration
public TinyMCEElement TinyMCESettings { get; }
Property Value
UrlRewriteSettings
Declaration
[Obsolete("URL Rewrite providers have been replaced with ASP.NET Routing")]
public UrlRewriteElement UrlRewriteSettings { get; }
Property Value
VirtualPathMappings
Declaration
[Obsolete("Virtual path mappings configuration has been moved to EPiServer.Framework.Configuration.EPiServerFrameworkSection", true)]
public UrlMappingCollection VirtualPathMappings { get; }
Property Value
Type |
Description |
System.Web.Configuration.UrlMappingCollection |
|
VirtualPathSettings
Declaration
[Obsolete("Virtual path settings has been moved to EPiServer.Framework.Configuration.EPiServerFrameworkSection", true)]
public VirtualPathElement VirtualPathSettings { get; }
Property Value
VisitorGroup
Gets the settings for the visitor group.
Declaration
public VisitorGroupElement VisitorGroup { get; }
Property Value
XmlNamespace
XmlNamespace property is required to allow the xmlns declaration on the EPiServer configuration element.
xmlns value is not used by the configuration but is needed since the configuration can contain the namespace information
in order for VS intellisense to work.
Declaration
public string XmlNamespace { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
GetAndValidateSection(Configuration)
Declaration
public static EPiServerSection GetAndValidateSection(Configuration config)
Parameters
Type |
Name |
Description |
System.Configuration.Configuration |
config |
|
Returns
InitializeDefault()
Declaration
protected override void InitializeDefault()
TryGetInstance(out EPiServerSection)
Declaration
public static bool TryGetInstance(out EPiServerSection instance)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Extension Methods