ConfigurationStorageInVaultLoadT Method (Vault, String, String) |
Generic ethod to load the configuration from the specified vault.
Namespace:
MFiles.VAF.Configuration
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
Syntaxpublic virtual T Load<T>(
Vault vault,
string configNamespace,
string configKey = "configuration"
)
where T : class, new()
Public Overridable Function Load(Of T As {Class, New}) (
vault As Vault,
configNamespace As String,
Optional configKey As String = "configuration"
) As T
public:
generic<typename T>
where T : ref class, gcnew()
virtual T Load(
Vault^ vault,
String^ configNamespace,
String^ configKey = L"configuration"
)
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
Return Value
Type:
TThe loaded configuration object.
Implements
IConfigurationStorageLoadT(Vault, String, String)
See Also