public void SetCryptoCurrencyType(EnumCryptoCurrency.EnumCryptoCurrencyType enumType)
        {
            _logger.LogInformation("Setting the _cryptoCurrentyType - {time}", DateTimeOffset.Now);

            _cryptoCurrentyType = enumType;

            if (enumType == EnumCryptoCurrency.EnumCryptoCurrencyType.BRLBCH)
            {
                __cryptoCurrentyTypeStr = "bitcoin-cash";
            }
            else if (enumType == EnumCryptoCurrency.EnumCryptoCurrencyType.BRLBTC)
            {
                __cryptoCurrentyTypeStr = "bitcoin";
            }
            else if (enumType == EnumCryptoCurrency.EnumCryptoCurrencyType.BRLETH)
            {
                __cryptoCurrentyTypeStr = "ethereum";
            }
            else if (enumType == EnumCryptoCurrency.EnumCryptoCurrencyType.BRLLTC)
            {
                __cryptoCurrentyTypeStr = "litecoin";
            }
            else if (enumType == EnumCryptoCurrency.EnumCryptoCurrencyType.BRLXRP)
            {
                __cryptoCurrentyTypeStr = "ripple";
            }
        }
Exemple #2
0
 public void SetCryptoCurrencyTypeEnum(EnumCryptoCurrency.EnumCryptoCurrencyType enumType)
 {
     _enumCryptoCurrencyType = enumType;
 }