C# Class Frapid.Configuration.ConfigurationManager

ファイルを表示 Open project: frapid/frapid

Public Methods

Method Description
GetConfigurationValue ( string configFileName, string key ) : string

Gets the configuration value of the requested key.

ReadConfigurationValue ( string path, string key ) : string

Opens a configuration files and gets the configuration value of the requested key.

SetConfigurationValue ( string path, string key, string value ) : void

Saves appSettings key configuration on the requested file.

Method Details

GetConfigurationValue() public static method

Gets the configuration value of the requested key.
public static GetConfigurationValue ( string configFileName, string key ) : string
configFileName string The name of the configuration file.
key string The configuration key to find.
return string

ReadConfigurationValue() public static method

Opens a configuration files and gets the configuration value of the requested key.
public static ReadConfigurationValue ( string path, string key ) : string
path string The physical path to the configuration file.
key string The configuration key to find.
return string

SetConfigurationValue() public static method

Saves appSettings key configuration on the requested file.
public static SetConfigurationValue ( string path, string key, string value ) : void
path string Path to configuration file.
key string The key to edit.
value string The value to edit the key with.
return void