IConfigurationSection class abstract

Represents a section of application configuration values.

Adapted from Microsoft.Extensions.Configuration.Abstractions

Implemented types
Implementers
Available extensions

Constructors

IConfigurationSection()

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
Gets the key this section occupies in its parent.
no setter
path String
Gets the full path to this section within the IConfiguration.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
Gets or sets the section value.
getter/setter pair

Methods

asIterable({bool makePathsRelative = false}) Iterable<MapEntry<String, String>>

Available on Configuration, provided by the ConfigurationExtensions extension

Get the enumeration of key value pairs within the Configuration
getChildren() Iterable<IConfigurationSection>
Returns the configuration sub-sections.
inherited
getConnectionString(String name) String?

Available on Configuration, provided by the ConfigurationExtensions extension

Gets the connection string
getReloadToken() IChangeToken
Returns a IChangeToken that can be used to observe when this configuration is reloaded.
inherited
getRequiredSection(String key) IConfigurationSection

Available on Configuration, provided by the ConfigurationExtensions extension

Gets a configuration sub-section with the specified key.
getSection(String key) IConfigurationSection
Gets a configuration sub-section with the specified key.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) String?
Gets a configuration value.
inherited
operator []=(String key, String? value) → void
Sets a configuration value;
inherited