Beispiel #1
0
        public decimal?RetrieveExchangeRate()
        {
            YahooData y    = new YahooData(baseCurrency, convertToCurrency);
            decimal?  rate = y.GetExchangeRate();

            exchangeRate = rate;
            return(exchangeRate);
        }
Beispiel #2
0
        public IExchangeRate GetExchangeRate()
        {
            YahooData y    = new YahooData(baseCurrency, convertToCurrency);
            decimal?  rate = y.GetExchangeRate();

            exchangeRate = rate;
            return(this);
        }