Пример #1
0
 public static RC Initialize()
 {
     if (_pcache == null)
     {
         _pcache = new PCache1();
     }
     return(_pcache.Init());
 }
Пример #2
0
 public AccessController(AppDbContext db, AppDbCache dbCache,
                         IPCache ipCache, IConfiguration configuration,
                         ILogger <Startup> logger)
 {
     Db            = db;
     DbCache       = dbCache;
     IPCache       = ipCache;
     Configuration = configuration;
     Logger        = logger;
 }
Пример #3
0
 public static RC Initialize()
 {
     if (_pcache == null)
         _pcache = new PCache1();
     return _pcache.Init();
 }