コード例 #1
0
ファイル: CacheService.cs プロジェクト: rjumawan/tzkt
 public CacheService(TzktContext db)
 {
     AppState     = new AppStateCache(db);
     BakerCycles  = new BakerCyclesCache(db);
     BakingRights = new BakingRightsCache(db);
     Accounts     = new AccountsCache(this, db);
     Blocks       = new BlocksCache(this, db);
     Periods      = new PeriodsCache(db);
     Proposals    = new ProposalsCache(db);
     Protocols    = new ProtocolsCache(db);
 }
コード例 #2
0
ファイル: CacheService.cs プロジェクト: yepeek/tzkt
 public CacheService(TzktContext db)
 {
     AppState     = new AppStateCache(db);
     BakerCycles  = new BakerCyclesCache(db);
     BakingRights = new BakingRightsCache(db);
     Accounts     = new AccountsCache(this, db);
     Blocks       = new BlocksCache(this, db);
     Periods      = new PeriodsCache(db);
     Proposals    = new ProposalsCache(db);
     Protocols    = new ProtocolsCache(db);
     Statistics   = new StatisticsCache(db);
     Software     = new SoftwareCache(db);
     Schemas      = new SchemasCache(db);
     Storages     = new StoragesCache(db);
 }