Пример #1
0
        public bool Equals(OeCacheContext x, OeCacheContext y)
        {
            var comparer = new OeCacheComparer(x.ConstantToParameterMapper, x.NavigationNextLink);

            if (comparer.Compare(x, y))
            {
                y.ParameterValues = comparer.ParameterValues;
                return(true);
            }

            y.ParameterValues = null;
            return(false);
        }
Пример #2
0
 public int GetHashCode(OeCacheContext obj)
 {
     return(OeCacheComparer.GetCacheCode(obj));
 }