/// <inheritdoc/> public ExchangeRate TryGet(Currency source, Currency target) { var key = Tuple.Create(source, target); return(_rates.GetOrAdd(key, key => _provider.TryGet(key.Item1, key.Item2))); }