FileSettingsStoreCreate Method

Synchronous factory method to create an ISettingsStore object from a File System configuration file.

Definition

Namespace: Configuration.Helper
Assembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
C#
public static ISettingsStore Create(
	string configFile = ""
)

Parameters

configFile  String  (Optional)
Full path and file name of the configuration file. When no value is passed a new object will be created without a location.

Return Value

ISettingsStore
FileSettingsStore object implementing the ISettingStore interface.

Exceptions

ArgumentNullExceptionThrown if the parameter is .

See Also