Table of Contents

Interface IConfiguration

Namespace
Acuit.Pinpoint.Configuration
Assembly
Acuit.Pinpoint.Configuration.dll

Represents a set of key/value application configuration properties.

public interface IConfiguration
Extension Methods

Properties

this[string]

Gets or sets a configuration value.

string this[string key] { get; set; }

Parameters

key string

The configuration key.

Property Value

string

The configuration value.

Methods

GetChildren()

Gets the immediate descendant configuration sub-sections.

IEnumerable<IConfigurationSection> GetChildren()

Returns

IEnumerable<IConfigurationSection>

The configuration sub-sections.

GetReloadToken()

Returns a IChangeToken that can be used to observe when this configuration is reloaded.

IChangeToken GetReloadToken()

Returns

IChangeToken

A IChangeToken.

GetSection(string)

Gets a configuration sub-section with the specified key.

IConfigurationSection GetSection(string key)

Parameters

key string

The key of the configuration section.

Returns

IConfigurationSection

The IConfigurationSection.

Remarks

This method will never return null. If no matching sub-section is found with the specified key, an empty IConfigurationSection will be returned.