Method SetEncoding
| Improve this Doc View SourceSetEncoding(Encoding)
Sets the encoding of the .env files.
Declaration
IEnvLoader SetEncoding(Encoding encoding)
Parameters
Type | Name | Description |
---|---|---|
Encoding | encoding | The type of encoding to set. |
Returns
Type | Description |
---|---|
IEnvLoader | An instance implementing the fluent interface. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
SetEncoding(String)
Sets the encoding name of the .env files.
Declaration
IEnvLoader SetEncoding(string encodingName)
Parameters
Type | Name | Description |
---|---|---|
String | encodingName | The name of encoding to set. |
Returns
Type | Description |
---|---|
IEnvLoader | An instance implementing the fluent interface. |
Exceptions
Type | Condition |
---|---|
ArgumentException |
|