Пример #1
0
 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
 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);
 }