Exemplo n.º 1
0
        public IBlockchainApiClient Get(BlockchainType blockchainType)
        {
            if (!_blockchainClients.TryGetValue(blockchainType, out var client))
            {
                throw new InvalidOperationException($"Blockchain client of type [{blockchainType.ToString()}] not found");
            }

            return(client);
        }