Class UmbracoConfigurationSection
Represents an Umbraco section within the configuration file.
Inheritance
System.Object
System.Configuration.ConfigurationElement
System.Configuration.ConfigurationSection
Namespace: Umbraco.Core.Configuration
Assembly: Umbraco.Core.dll
Syntax
public abstract class UmbracoConfigurationSection : ConfigurationSection, IUmbracoConfigurationSection
Remarks
The requirement for these sections is to be read-only.
However for unit tests purposes it is internally possible to override some values, and
then calling >ResetSection
should cancel these changes and bring the section back to
what it was originally.
The UmbracoSettings.For{T}
method will return a section, either one that
is in the configuration file, or a section that was created with default values.
Properties
View SourceIsPresent
Gets a value indicating whether the section actually is in the configuration file.
Declaration
protected bool IsPresent { get; }
Property Value
Type | Description |
---|---|
System.Boolean |