Esempio n. 1
0
 internal void AllItemsCacheRemove(T item)
 {
     // Lock in case 2 remove will happen from seperate threads
     lock (mAllItemsCacheLock)
     {
         AllItemsCache.Remove(item);
     }
 }
Esempio n. 2
0
 internal bool AllItemsContains(T item)
 {
     if (AllItemsCache.Contains(item))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }