Пример #1
0
        public void LoadSubChainsAlways()
        {
            var config = new ConfigurationRoot(new List <IConfigurationProvider>()
            {
                new MemoryConfigurationProvider(new MemoryConfigurationSource()
                {
                    InitialData = new[] { new KeyValuePair <string, string>("chains", "usdt"), }
                })
            });
            var networkProvider = config.ConfigureNetworkProvider();

            Assert.NotNull(networkProvider.GetNetwork("LBTC"));
            Assert.NotNull(networkProvider.GetNetwork("USDT"));
        }