コード例 #1
0
 public InitalJobAssigner(
     IBlockIndexingJobFactory blockIndexingFactory,
     IBlockRepository blockRepository,
     IErc20BalanceIndexingJobFactory erc20BalanceIndexingJobFactory,
     IErc20ContractIndexingJobFactory erc20ContractIndexingJobFactory,
     IIndexerInstanceSettings indexerInstanceSettings,
     ILog logger,
     IRpcBlockReader rpcBlockReader)
 {
     _blockIndexingFactory            = blockIndexingFactory;
     _blockRepository                 = blockRepository;
     _erc20BalanceIndexingJobFactory  = erc20BalanceIndexingJobFactory;
     _erc20ContractIndexingJobFactory = erc20ContractIndexingJobFactory;
     _indexerInstanceSettings         = indexerInstanceSettings;
     _logger         = logger;
     _rpcBlockReader = rpcBlockReader;
 }
コード例 #2
0
 public void TestInit()
 {
     TestConfig.ReconfigureServices();
     _blockIndexingJobFactory = TestConfig.ServiceProvider.GetService <IBlockIndexingJobFactory>();
 }