C# 클래스 Frapid.Configuration.ConfigurationManager

파일 보기 프로젝트 열기: frapid/frapid

공개 메소드들

메소드 설명
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.

메소드 상세

GetConfigurationValue() 공개 정적인 메소드

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.
리턴 string

ReadConfigurationValue() 공개 정적인 메소드

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.
리턴 string

SetConfigurationValue() 공개 정적인 메소드

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.
리턴 void