FileSettingsStoreCreateAsync Method

Asynchronous 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 Task<ISettingsStore> CreateAsync(
	FileInfo configFile
)

Parameters

configFile  FileInfo
Configuration file containing the settings.

Return Value

TaskISettingsStore
FileSettingsStore object implementing the ISettingStore interface.

Exceptions

ArgumentNullExceptionThrown if the parameter is .

See Also