Esempio n. 1
0
        public static AzureIndexer CreateIndexer(IConfiguration config, ILoggerFactory loggerFactory)
        {
            var indexerConfig = new IndexerConfiguration(config, loggerFactory);

            return(indexerConfig.CreateIndexer());
        }
Esempio n. 2
0
        public static AzureIndexer CreateIndexer(IConfiguration config)
        {
            var indexerConfig = new IndexerConfiguration(config);

            return(indexerConfig.CreateIndexer());
        }
 public Task PutAsync(uint256 txId, Transaction tx)
 {
     _Configuration.CreateIndexer().Index(new TransactionEntry.Entity(txId, tx, null));
     return(Task.FromResult(false));
 }
 public Task PutAsync(uint256 txId, ColoredTransaction colored)
 {
     _Configuration.CreateIndexer().Index(new TransactionEntry.Entity(txId, colored));
     return(Task.FromResult(false));
 }