public GestoreFondiTests() { convertitore = new TestConvertitore(); valutaFactory = new ValutaFactory(convertitore); gestoreFondi = new GestoreFondi(); exchange = new TestExchange(); blockchain = new TestBlockchain(); }
public MainWindow(string password) { InitializeComponent(); this.password = password; convertitore = new CryptoCompareConvertitore(); valutaFactory = new ValutaFactory(convertitore); gestoreFondi = new GestoreFondi(); //TestInizializza(); CaricaApi(); }
public GestoreFondiTests() { convertitore = new CryptoCompareConvertitore(); valutaFactory = new ValutaFactory(convertitore); gestoreFondi = new GestoreFondi(); bitfinex = new BitfinexExchange("5RMqfG7b2qOBkoPIi97UjCpPxnIhAUsDMelbT5K3pB2", "hnQNJgD80w1WJeZW7zclyJvFkTWNSN0N4r98t7oRrWw", valutaFactory); binance = new BinanceExchange("VhP4edkGMEmL51YSIXSdva0IkcGxC68r8dOIGg6G5PcNMr3srPcm4rXEled5KeMs", "1ET6MkbrkS2U1sIvQDu6gDzYzNuYgPX2ujG2Lt8tL5SFTygMKUeyDRFDJPT8Ry6Y", valutaFactory); btc = new BitcoinBlockexplorer("18cBEMRxXHqzWWCxZNtU91F5sbUNKhL5PX", valutaFactory); eth = new EthereumEtherscan("0x901476A5a3C504398967C745F236124201298016", valutaFactory); }
public BitfinexExchangeTests() { convertitore = new TestConvertitore(); factory = new ValutaFactory(convertitore); }
public EthereumEtherscanTests() { convertitore = new TestConvertitore(); factory = new ValutaFactory(convertitore); }
public ValutaFactory(IConvertitore convertitore) { _convertitore = convertitore ?? throw new ArgumentException("Convertitore non può essere null!"); _valute = new Dictionary <string, Valuta>(); }
public BitcoinBlockExplorerTests() { convertitore = new TestConvertitore(); factory = new ValutaFactory(convertitore); }