예제 #1
0
 public InfoController(IOptions <MyConfig> config, IGethClient gethClient, BlockchainService blockchainService)
 {
     _config            = config;
     _gethClient        = gethClient;
     _blockchainService = blockchainService;
 }
예제 #2
0
 public BlockchainService(IGethClient gethClient, IOptions <MyConfig> config)
 {
     _gethClient = gethClient;
     _config     = config;
 }
예제 #3
0
 public HomeController(IOptions <MyConfig> config, IGethClient gethClient)
 {
     _config     = config;
     _gethClient = gethClient;
 }