Table of Contents

Class MemoryConfigurationProvider

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

In-memory implementation of IConfigurationProvider

public class MemoryConfigurationProvider : ConfigurationProvider, IConfigurationProvider, IEnumerable<KeyValuePair<string, string>>, IEnumerable
Inheritance
MemoryConfigurationProvider
Implements
Inherited Members

Constructors

MemoryConfigurationProvider(MemoryConfigurationSource)

Initialize a new instance from the source.

public MemoryConfigurationProvider(MemoryConfigurationSource source)

Parameters

source MemoryConfigurationSource

The source settings.

Methods

Add(string, string)

Add a new key and value pair.

public void Add(string key, string value)

Parameters

key string

The configuration key.

value string

The configuration value.

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<KeyValuePair<string, string>> GetEnumerator()

Returns

IEnumerator<KeyValuePair<string, string>>

An enumerator that can be used to iterate through the collection.