Пример #1
0
        public override int GetHashCode()
        {
            var result = Name?.GetHashCode() ?? 0;

            result = 31 * result + (BeanName?.GetHashCode() ?? 0);
            result = 31 * result + (AccessType?.GetHashCode() ?? 0);
            result = 31 * result + (UsingModifiedFlag ? 1 : 0);
            return(result);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int result = Name != null?Name.GetHashCode() : 0;

            result = 31 * result + (BeanName != null ? BeanName.GetHashCode() : 0);
            result = 31 * result + (AccessType != null ? AccessType.GetHashCode() : 0);
            result = 31 * result + (Store != null ? Store.GetHashCode() : 0);
            return(result);
        }