/// <summary>Serves as the default hash function. </summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { var hashCode = 1887348610; hashCode = hashCode * -1521134295 + ImportType.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Path); hashCode = hashCode * -1521134295 + X.GetHashCode(); hashCode = hashCode * -1521134295 + Y.GetHashCode(); hashCode = hashCode * -1521134295 + LengthRoughness.GetHashCode(); hashCode = hashCode * -1521134295 + VelocityRoughness.GetHashCode(); return(hashCode); }
/// <summary>Serves as the default hash function. </summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { var hashCode = 1887348610; hashCode = hashCode * -1521134295 + ImportType.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Path); hashCode = hashCode * -1521134295 + X.GetHashCode(); hashCode = hashCode * -1521134295 + Y.GetHashCode(); hashCode = hashCode * -1521134295 + LengthRoughness.GetHashCode(); hashCode = hashCode * -1521134295 + VelocityRoughness.GetHashCode(); hashCode = hashCode * -1521134295 + RemoveDuplicates.GetHashCode(); hashCode = hashCode * -1521134295 + DiscriminateVolumes.GetHashCode(); hashCode = hashCode * -1521134295 + DetectDuplicateSamples.GetHashCode(); return(hashCode); }