public static void ClearSessionCache()
 {
     lock (DBLock)
     {
         SessionsCache.Clear();
     }
 }
Esempio n. 2
0
 private static void OnThemeChange(object sender, EventArgs e)
 {
     OnlineResources.Reset();
     ResetResources();
     ResetIcons();
     CarsCache.Clear();
     SessionsCache.Clear();
 }
Esempio n. 3
0
 public CachedRepository(MongoRepository repository)
 {
     _repository   = repository;
     sessionsCache = new SessionsCache(repository);
     actionsCache  = new ActionsCache(repository);
 }