/// <inheritdoc /> public override int GetHashCode() { unchecked { var hashCode = Satellite.GetHashCode(); hashCode = (hashCode * 397) ^ Start.GetHashCode(); hashCode = (hashCode * 397) ^ End.GetHashCode(); hashCode = (hashCode * 397) ^ MaxElevation.GetHashCode(); hashCode = (hashCode * 397) ^ StartAzimuth.GetHashCode(); hashCode = (hashCode * 397) ^ EndAzimuth.GetHashCode(); return(hashCode); } }
/// <inheritdoc /> protected bool Equals(SatelliteVisibilityPeriod other) { return(Satellite.Equals(other.Satellite) && Start.Equals(other.Start) && End.Equals(other.End) && MaxElevation.Equals(other.MaxElevation) && StartAzimuth.Equals(other.StartAzimuth) && EndAzimuth.Equals(other.EndAzimuth)); }