IConfigurationStorageLoadT(Vault, String, String) Method

Generic method to load the configuration from the specified vault.

Definition

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

Parameters

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

Type Parameters

T
The configuration object's type.

Return Value

T
The loaded configuration object.

See Also