Method SetEnvironmentVariablesProvider
| Improve this Doc View SourceSetEnvironmentVariablesProvider(IEnvironmentVariablesProvider)
Sets the environment variables provider. When this method is used, the environment variables are obtained from the custom provider.
Declaration
IEnvLoader SetEnvironmentVariablesProvider(IEnvironmentVariablesProvider provider)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnvironmentVariablesProvider | provider | The custom environment variables provider. |
Returns
| Type | Description |
|---|---|
| IEnvLoader | An instance implementing the fluent interface. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|