C# Класс AccidentalFish.ApplicationSupport.Core.Configuration.ApplicationConfigurationSettings

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
ApplicationConfigurationSettings ( ) : System

Constructor

ApplicationConfigurationSettings ( IEnumerable values ) : System

Constructor

Описание методов

ApplicationConfigurationSettings() защищенный Метод

Constructor
protected ApplicationConfigurationSettings ( ) : System
Результат System

ApplicationConfigurationSettings() защищенный Метод

Constructor
protected ApplicationConfigurationSettings ( IEnumerable values ) : System
values IEnumerable
Результат System

FromCollection() публичный статический Метод

Create from the given set of setting values
public static FromCollection ( IEnumerable values ) : ApplicationConfigurationSettings
values IEnumerable Collection of values
Результат ApplicationConfigurationSettings

FromFile() публичный статический Метод

Create from the given file
public static FromFile ( string filename ) : ApplicationConfigurationSettings
filename string Filename of the settings
Результат ApplicationConfigurationSettings

FromFiles() публичный статический Метод

Create and aggregate from the set of files supplied
public static FromFiles ( string filenames ) : ApplicationConfigurationSettings
filenames string Filenames
Результат ApplicationConfigurationSettings

Merge() публичный Метод

Replace tokenised settings in a configuration file with actual settings from this representation
public Merge ( StreamReader reader ) : string
reader System.IO.StreamReader Stream reader
Результат string