ConfigFileHelper Class

Base helper class to access configuration file information.

Definition

Namespace: Configuration.Helper
Assembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
C#
public abstract class ConfigFileHelper
Inheritance
Object    ConfigFileHelper

Constructors

ConfigFileHelperInitializes a new instance of the class using a configuration file name.

Properties

ArgumentsGets the collection of program arguments.
ConfigFileGets or sets the configuration file name.
SettingsGets the current settings.

Methods

ConvertToSecureStringConverts a string to a secure string.
GetArgumentReturns the argument value in the configuration file for a given key.
GetConfigurationGets a Setting Store object.
GetSecureSettingGets a secure string value of a configuration file key.
GetSetting(String)Returns the setting value in the configuration file for a given key.
GetSetting(String, String)Returns the setting value in the configuration file for a given key and prefix.
InitializeInitializes the configuration file settings.

Fields

cExtensionConfiguration file extension (suffix) including the period.
cJsonExtensionJSON configuration file extension (suffix) including the period.

See Also