Table of Contents

Class FileConfigurationProvider

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

Base class for file based ConfigurationProvider.

public abstract class FileConfigurationProvider : ConfigurationProvider, IConfigurationProvider
Inheritance
FileConfigurationProvider
Implements
Derived
Inherited Members

Constructors

FileConfigurationProvider(FileConfigurationSource)

Initializes a new instance with the specified source.

public FileConfigurationProvider(FileConfigurationSource source)

Parameters

source FileConfigurationSource

The source settings.

Properties

Source

The source settings for this provider.

public FileConfigurationSource Source { get; }

Property Value

FileConfigurationSource

Methods

Load()

Loads the contents of the file at Path.

public override void Load()

Exceptions

FileNotFoundException

If Optional is false on the source and a file does not exist at specified Path.

Load(Stream)

Loads this provider's data from a stream.

public abstract void Load(Stream stream)

Parameters

stream Stream

The stream to read.