示例#1
0
 public ExchangeRate(string fromCurrency, string toCurrency, decimal exchangeRateValue)
 {
     CurrencyPair = new CurrencyPair(fromCurrency, toCurrency);
     Rate         = exchangeRateValue;
 }
示例#2
0
 public ExchangeRate(CurrencyPair currencyPair, decimal exchangeRateValue)
 {
     CurrencyPair = currencyPair;
     Rate         = exchangeRateValue;
 }