C# Class Paralect.Config.Settings.SettingsBrowser

Use this class to read settings respecting hierarchical file system configuration (i.e. .core.settings files)
Datei anzeigen Open project: paralect/Paralect.Config Class Usage Examples

Public Methods

Method Description
GetSettings ( String contextFolder, String settingsFolder = "" ) : KeyValueConfigurationCollection

Get settings for specified folder.

SettingsBrowser ( ) : System

Initializes a new instance of the T:System.Object class.

Private Methods

Method Description
FindPathToConfigFile ( string directoryPath ) : String

By given directory find path to ConfigFile

ReadSettingsFolderFromConfig ( String filePath ) : String

Read path to Settings Folder from config (i.e. .core.settings)

Method Details

GetSettings() public method

Get settings for specified folder.
public GetSettings ( String contextFolder, String settingsFolder = "" ) : KeyValueConfigurationCollection
contextFolder String /// This is not a settings folder! This is a context for what you want to get settings ///
settingsFolder String /// Specify exact path to settings folder, if needed. By default it will browse file system to /// find .core.settings config file. ///
return System.Configuration.KeyValueConfigurationCollection

SettingsBrowser() public method

Initializes a new instance of the T:System.Object class.
public SettingsBrowser ( ) : System
return System