Search Results for

    Show / Hide Table of Contents

    Interface IEnvReader

    Defines the methods used to read environment variables from a specific provider.

    Inherited Members
    IEnumerable<KeyValuePair<String, String>>.GetEnumerator()
    IEnumerable.GetEnumerator()
    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 string format.

    Methods

    Name Description
    EnvBool(String, Boolean)

    Gets the value of a variable in bool format.

    EnvByte(String, Byte)

    Gets the value of a variable in byte format.

    EnvChar(String, Char)

    Gets the value of a variable in char format.

    EnvDecimal(String, Decimal)

    Gets the value of a variable in decimal format.

    EnvDouble(String, Double)

    Gets the value of a variable in double format.

    EnvFloat(String, Single)

    Gets the value of a variable in float format.

    EnvInt(String, Int32)

    Gets the value of a variable in int format.

    EnvLong(String, Int64)

    Gets the value of a variable in long format.

    EnvSByte(String, SByte)

    Gets the value of a variable in sbyte format.

    EnvShort(String, Int16)

    Gets the value of a variable in short format.

    EnvString(String, String)

    Gets the value of a variable in string format.

    EnvUInt(String, UInt32)

    Gets the value of a variable in uint format.

    EnvULong(String, UInt64)

    Gets the value of a variable in ulong format.

    EnvUShort(String, UInt16)

    Gets the value of a variable in ushort format.

    GetBoolValue(String)

    Gets the value of a variable in bool format.

    GetByteValue(String)

    Gets the value of a variable in byte format.

    GetCharValue(String)

    Gets the value of a variable in char format.

    GetDecimalValue(String)

    Gets the value of a variable in decimal format.

    GetDoubleValue(String)

    Gets the value of a variable in double format.

    GetFloatValue(String)

    Gets the value of a variable in float format.

    GetIntValue(String)

    Gets the value of a variable in int format.

    GetLongValue(String)

    Gets the value of a variable in long format.

    GetSByteValue(String)

    Gets the value of a variable in sbyte format.

    GetShortValue(String)

    Gets the value of a variable in short format.

    GetStringValue(String)

    Gets the value of a variable in string format.

    GetUIntValue(String)

    Gets the value of a variable in uint format.

    GetULongValue(String)

    Gets the value of a variable in ulong format.

    GetUShortValue(String)

    Gets the value of a variable in ushort format.

    HasValue(String)

    Checks if the variable has a value.

    TryGetBoolValue(String, out Boolean)

    Try to retrieve the value of a variable in bool format.

    TryGetByteValue(String, out Byte)

    Try to retrieve the value of a variable in byte format.

    TryGetCharValue(String, out Char)

    Try to retrieve the value of a variable in char format.

    TryGetDecimalValue(String, out Decimal)

    Try to retrieve the value of a variable in decimal format.

    TryGetDoubleValue(String, out Double)

    Try to retrieve the value of a variable in double format.

    TryGetFloatValue(String, out Single)

    Try to retrieve the value of a variable in float format.

    TryGetIntValue(String, out Int32)

    Try to retrieve the value of a variable in int format.

    TryGetLongValue(String, out Int64)

    Try to retrieve the value of a variable in long format.

    TryGetSByteValue(String, out SByte)

    Try to retrieve the value of a variable in sbyte format.

    TryGetShortValue(String, out Int16)

    Try to retrieve the value of a variable in short format.

    TryGetStringValue(String, out String)

    Try to retrieve the value of a variable in string format.

    TryGetUIntValue(String, out UInt32)

    Try to retrieve the value of a variable in uint format.

    TryGetULongValue(String, out UInt64)

    Try to retrieve the value of a variable in ulong format.

    TryGetUShortValue(String, out UInt16)

    Try to retrieve the value of a variable in ushort format.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2021 DotEnv.Core