C# Class AccidentalFish.ApplicationSupport.Core.Configuration.ApplicationConfigurationSettings

Datei anzeigen Open project: JamesRandall/AccidentalFish.ApplicationSupport Class Usage Examples

Public Methods

Method Description
FromCollection ( IEnumerable values ) : ApplicationConfigurationSettings

Create from the given set of setting values

FromFile ( string filename ) : ApplicationConfigurationSettings

Create from the given file

FromFiles ( string filenames ) : ApplicationConfigurationSettings

Create and aggregate from the set of files supplied

Merge ( StreamReader reader ) : string

Replace tokenised settings in a configuration file with actual settings from this representation

Protected Methods

Method Description
ApplicationConfigurationSettings ( ) : System

Constructor

ApplicationConfigurationSettings ( IEnumerable values ) : System

Constructor

Method Details

ApplicationConfigurationSettings() protected method

Constructor
protected ApplicationConfigurationSettings ( ) : System
return System

ApplicationConfigurationSettings() protected method

Constructor
protected ApplicationConfigurationSettings ( IEnumerable values ) : System
values IEnumerable
return System

FromCollection() public static method

Create from the given set of setting values
public static FromCollection ( IEnumerable values ) : ApplicationConfigurationSettings
values IEnumerable Collection of values
return ApplicationConfigurationSettings

FromFile() public static method

Create from the given file
public static FromFile ( string filename ) : ApplicationConfigurationSettings
filename string Filename of the settings
return ApplicationConfigurationSettings

FromFiles() public static method

Create and aggregate from the set of files supplied
public static FromFiles ( string filenames ) : ApplicationConfigurationSettings
filenames string Filenames
return ApplicationConfigurationSettings

Merge() public method

Replace tokenised settings in a configuration file with actual settings from this representation
public Merge ( StreamReader reader ) : string
reader System.IO.StreamReader Stream reader
return string