Class JsonConfigurationProvider
- Namespace
- Acuit.Pinpoint.Configuration.Json
- Assembly
- Acuit.Pinpoint.Configuration.dll
A JSON file based FileConfigurationProvider.
public class JsonConfigurationProvider : FileConfigurationProvider, IConfigurationProvider
- Inheritance
-
JsonConfigurationProvider
- Implements
- Inherited Members
Constructors
JsonConfigurationProvider(JsonConfigurationSource)
Initializes a new instance with the specified source.
public JsonConfigurationProvider(JsonConfigurationSource source)
Parameters
source
JsonConfigurationSourceThe source settings.
Methods
Load(Stream)
Loads the JSON data from a stream.
public override void Load(Stream stream)
Parameters
stream
StreamThe stream to read.
Exceptions
- ArgumentNullException
stream
is null.