Class EPiServerSection
  
  
  
  
    Inheritance
    System.Object
    EPiServerSection
   
  
  Assembly: EPiServer.Configuration.dll
  Version: 7.19.2
  Syntax
  
    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
  
  
  Declaration
  
    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
  
  
  
  
  PageProvider
  
  
  Declaration
  
    [Obsolete("Use ContentProvider configuration instead", true)]
public PageProvider PageProvider { get; }
   
  Property Value
  
  
  
  
  Sites
  
  
  Declaration
  
    [Obsolete("CMS sites are not setup in configuration anymore. Common settings are set on 'applicationSettings' Use SiteDefinitionRepository to create sites.")]
public SiteElementCollection Sites { get; }
   
  Property Value
  
  
  
  
  TinyMCESettings
  
  
  Declaration
  
    public TinyMCEElement TinyMCESettings { get; }
   
  Property Value
  
  
  
  
  UrlRewriteSettings
  
  
  Declaration
  
    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
  
  
  
  
  VirtualRoles
  
  
  Declaration
  
    [Obsolete("Virtual roles settings has been moved to EPiServerFrameworkSection", true)]
public VirtualRolesElement VirtualRoles { get; }
   
  Property Value
  
  
  
  
  VisitorGroup
  Gets the settings for the visitor group.
Declaration
  
    public VisitorGroupElement VisitorGroup { get; }
   
  Property Value
  
  
  
  
  WorkflowSettings
  
  
  Declaration
  
    public WorkflowSettingsElement WorkflowSettings { 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 |  |