Click or drag to resize

IConfigurationStorageLoadT Method (Vault, String, String)

Generic method to load the configuration from the specified vault.

Namespace:  MFiles.VAF.Configuration
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
T Load<T>(
	Vault vault,
	string configNamespace,
	string configKey = "configuration"
)
where T : class, new()

Parameters

vault
Type: Vault
The vault.
configNamespace
Type: SystemString
The configuration namespace that shall be used when loading the configuration.
configKey (Optional)
Type: SystemString
The configuration key that identifies the value that should be loaded.

Type Parameters

T
The configuration object's type.

Return Value

Type: T
The loaded configuration object.
See Also