public Ditador(int qtdNumeros, decimal intervalo) { _cw = CurrencyWriterFactory.GetInstance().GetCurrencyWriter(new System.Globalization.CultureInfo("pt-BR")); _qtdNumeros = qtdNumeros; _intervalo = (int)(intervalo * 1000); }
public CurrencySynchronizer(IExchangeRatesApiSettings settings, ICurrencyReader currencyReader, ICurrencyWriter currencyWriter) { Settings = settings; CurrencyReader = currencyReader; CurrencyWriter = currencyWriter; }