public override bool Contains(string key)
        {
            _statistics.ContainsCalled();
            bool found = base.Contains(key);

            if (found)
            {
                _statistics.ItemHit(key);
            }
            else
            {
                _statistics.ItemMiss(key);
            }
            return(found);
        }
Esempio n. 2
0
 public override bool Contains(string key)
 {
     _statistics.ContainsCalled();
     return(base.Contains(key));
 }