Interface IEnvReader
Defines the methods used to read environment variables from a specific provider.
Inherited Members
Namespace: DotEnv.Core
Assembly: DotEnv.Core.dll
Syntax
public interface IEnvReader : IEnumerable<KeyValuePair<string, string>>, IEnumerable
Properties
| Name | Description |
|---|---|
| Item[String] | Gets the value of a variable in |
Methods
| Name | Description |
|---|---|
| EnvBool(String, Boolean) | Gets the value of a variable in |
| EnvByte(String, Byte) | Gets the value of a variable in |
| EnvChar(String, Char) | Gets the value of a variable in |
| EnvDecimal(String, Decimal) | Gets the value of a variable in |
| EnvDouble(String, Double) | Gets the value of a variable in |
| EnvFloat(String, Single) | Gets the value of a variable in |
| EnvInt(String, Int32) | Gets the value of a variable in |
| EnvLong(String, Int64) | Gets the value of a variable in |
| EnvSByte(String, SByte) | Gets the value of a variable in |
| EnvShort(String, Int16) | Gets the value of a variable in |
| EnvString(String, String) | Gets the value of a variable in |
| EnvUInt(String, UInt32) | Gets the value of a variable in |
| EnvULong(String, UInt64) | Gets the value of a variable in |
| EnvUShort(String, UInt16) | Gets the value of a variable in |
| GetBoolValue(String) | Gets the value of a variable in |
| GetByteValue(String) | Gets the value of a variable in |
| GetCharValue(String) | Gets the value of a variable in |
| GetDecimalValue(String) | Gets the value of a variable in |
| GetDoubleValue(String) | Gets the value of a variable in |
| GetFloatValue(String) | Gets the value of a variable in |
| GetIntValue(String) | Gets the value of a variable in |
| GetLongValue(String) | Gets the value of a variable in |
| GetSByteValue(String) | Gets the value of a variable in |
| GetShortValue(String) | Gets the value of a variable in |
| GetStringValue(String) | Gets the value of a variable in |
| GetUIntValue(String) | Gets the value of a variable in |
| GetULongValue(String) | Gets the value of a variable in |
| GetUShortValue(String) | Gets the value of a variable in |
| HasValue(String) | Checks if the variable has a value. |
| TryGetBoolValue(String, out Boolean) | Try to retrieve the value of a variable in |
| TryGetByteValue(String, out Byte) | Try to retrieve the value of a variable in |
| TryGetCharValue(String, out Char) | Try to retrieve the value of a variable in |
| TryGetDecimalValue(String, out Decimal) | Try to retrieve the value of a variable in |
| TryGetDoubleValue(String, out Double) | Try to retrieve the value of a variable in |
| TryGetFloatValue(String, out Single) | Try to retrieve the value of a variable in |
| TryGetIntValue(String, out Int32) | Try to retrieve the value of a variable in |
| TryGetLongValue(String, out Int64) | Try to retrieve the value of a variable in |
| TryGetSByteValue(String, out SByte) | Try to retrieve the value of a variable in |
| TryGetShortValue(String, out Int16) | Try to retrieve the value of a variable in |
| TryGetStringValue(String, out String) | Try to retrieve the value of a variable in |
| TryGetUIntValue(String, out UInt32) | Try to retrieve the value of a variable in |
| TryGetULongValue(String, out UInt64) | Try to retrieve the value of a variable in |
| TryGetUShortValue(String, out UInt16) | Try to retrieve the value of a variable in |