Example #1
0
 public void TestRDListInvalidateCache()
 {
     var list = new CachedList<RedDotObjectHandle>(Objects, Caching.Enabled);
     list.Count();
     list.Count();
     list.InvalidateCache();
     list.Count();
     list.Count();
     Assert.AreEqual(2, _callCount);
 }
        public void TestRDListInvalidateCache()
        {
            var list = new CachedList <RedDotObjectHandle>(Objects, Caching.Enabled);

            list.Count();
            list.Count();
            list.InvalidateCache();
            list.Count();
            list.Count();
            Assert.AreEqual(2, _callCount);
        }