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

Afficher le fichier Open project: JamesRandall/AccidentalFish.ApplicationSupport Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
ApplicationConfigurationSettings ( ) : System

Constructor

ApplicationConfigurationSettings ( IEnumerable values ) : System

Constructor

Method Details

ApplicationConfigurationSettings() protected méthode

Constructor
protected ApplicationConfigurationSettings ( ) : System
Résultat System

ApplicationConfigurationSettings() protected méthode

Constructor
protected ApplicationConfigurationSettings ( IEnumerable values ) : System
values IEnumerable
Résultat System

FromCollection() public static méthode

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

FromFile() public static méthode

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

FromFiles() public static méthode

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

Merge() public méthode

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