Ejemplo n.º 1
0
 public CrossChainDataProvider(ICrossChainContractReader crossChainContractReader,
                               ICrossChainDataConsumer crossChainDataConsumer, ICrossChainMemoryCacheService crossChainMemoryCacheService)
 {
     _crossChainContractReader     = crossChainContractReader;
     _crossChainDataConsumer       = crossChainDataConsumer;
     _crossChainMemoryCacheService = crossChainMemoryCacheService;
 }
Ejemplo n.º 2
0
 public CrossChainMemCacheServiceTest()
 {
     _crossChainMemoryCacheService = GetRequiredService <ICrossChainMemoryCacheService>();
 }
Ejemplo n.º 3
0
 protected CrossChainWithChainTestBase()
 {
     _crossChainDataProducer       = Application.ServiceProvider.GetRequiredService <ICrossChainDataProducer>();
     _crossChainMemoryCacheService = Application.ServiceProvider.GetRequiredService <ICrossChainMemoryCacheService>();
 }
Ejemplo n.º 4
0
 public CrossChainTestBase()
 {
     MultiChainBlockInfoCacheProvider = GetRequiredService <IMultiChainBlockInfoCacheProvider>();
     CrossChainDataProducer           = GetRequiredService <ICrossChainDataProducer>();
     CrossChainMemoryCacheService     = GetRequiredService <ICrossChainMemoryCacheService>();
 }
Ejemplo n.º 5
0
 public CrossChainGrpcClientController(ICrossChainDataProducer crossChainDataProducer,
                                       ICrossChainMemoryCacheService crossChainMemoryCacheService)
 {
     _crossChainDataProducer       = crossChainDataProducer;
     _crossChainMemoryCacheService = crossChainMemoryCacheService;
 }
Ejemplo n.º 6
0
 public CrossChainDataConsumerTest()
 {
     _crossChainDataConsumer       = GetRequiredService <ICrossChainDataConsumer>();
     _crossChainMemoryCacheService = GetRequiredService <ICrossChainMemoryCacheService>();
 }