Exemple #1
0
        public override bool Equals(object obj)
        {
            var user = obj as AgentCacheItem;

            if (user == null)
            {
                return(false);
            }
            return(Id.Equals(user.Id) && SiteId.Equals(user.SiteId));
        }
Exemple #2
0
        public override bool Equals(object obj)
        {
            FilterCacheItem objFilter = obj as FilterCacheItem;

            if (objFilter == null)
            {
                return(false);
            }

            return(Id.Equals(objFilter.Id) && SiteId.Equals(objFilter.SiteId));
        }