Class FileBasedConfigurationManager
Inheritance
FileBasedConfigurationManager
Assembly: Benday.CommandsFramework.dll
Syntax
public class FileBasedConfigurationManager : ICommandConfigurationManager
Constructors
|
Edit this page
View Source
FileBasedConfigurationManager(string)
Declaration
public FileBasedConfigurationManager(string applicationName)
Parameters
Type |
Name |
Description |
string |
applicationName |
|
Properties
|
Edit this page
View Source
ApplicationName
Declaration
public string ApplicationName { get; }
Property Value
Methods
|
Edit this page
View Source
ConfigFileExists()
Declaration
public bool ConfigFileExists()
Returns
|
Edit this page
View Source
GetConfigurationDirectoryPath(string)
Declaration
public static string GetConfigurationDirectoryPath(string applicationName)
Parameters
Type |
Name |
Description |
string |
applicationName |
|
Returns
|
Edit this page
View Source
GetConfigurationFilePath(string)
Declaration
public static string GetConfigurationFilePath(string applicationName)
Parameters
Type |
Name |
Description |
string |
applicationName |
|
Returns
|
Edit this page
View Source
GetValue(string)
Declaration
public string GetValue(string expectedKey)
Parameters
Type |
Name |
Description |
string |
expectedKey |
|
Returns
|
Edit this page
View Source
GetValues()
Declaration
public IDictionary<string, string> GetValues()
Returns
|
Edit this page
View Source
HasValue(string)
Declaration
public bool HasValue(string expectedKey)
Parameters
Type |
Name |
Description |
string |
expectedKey |
|
Returns
|
Edit this page
View Source
RemoveValue(string)
Declaration
public void RemoveValue(string expectedKey)
Parameters
Type |
Name |
Description |
string |
expectedKey |
|
|
Edit this page
View Source
SetValue(string, string)
Declaration
public void SetValue(string key, string val)
Parameters
Implements