コード例 #1
0
        public override int GetHashCode()
        {
            var hashCode = -189422660;

            hashCode = hashCode * -1521134295 + StationTypeId.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name);

            return(hashCode);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            var hashCode = -1136939070;

            hashCode = hashCode * -1521134295 + StationId.GetHashCode();
            hashCode = hashCode * -1521134295 + StationTypeId.GetHashCode();
            hashCode = hashCode * -1521134295 + AddressId.GetHashCode();
            hashCode = hashCode * -1521134295 + UserId.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name);

            hashCode = hashCode * -1521134295 + Longitude.GetHashCode();
            hashCode = hashCode * -1521134295 + Latitude.GetHashCode();
            return(hashCode);
        }