Exemple #1
0
 protected bool Equals(AreaCVGraphDataStatistics other)
 {
     return(DataCount == other.DataCount &&
            Items == other.Items &&
            MinMeanArea.Equals(other.MinMeanArea) &&
            MaxMeanArea.Equals(other.MaxMeanArea) &&
            Total == other.Total &&
            MaxCV.Equals(other.MaxCV) &&
            MinCV.Equals(other.MinCV) &&
            MaxFrequency == other.MaxFrequency &&
            MedianCV.Equals(other.MedianCV) &&
            MeanCV.Equals(other.MeanCV) &&
            BelowCVCutoff.Equals(other.BelowCVCutoff));
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = DataCount;
         hashCode = (hashCode * 397) ^ Items.GetHashCode();
         hashCode = (hashCode * 397) ^ MinMeanArea.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxMeanArea.GetHashCode();
         hashCode = (hashCode * 397) ^ Total;
         hashCode = (hashCode * 397) ^ MaxCV.GetHashCode();
         hashCode = (hashCode * 397) ^ MinCV.GetHashCode();
         hashCode = (hashCode * 397) ^ MaxFrequency;
         hashCode = (hashCode * 397) ^ MedianCV.GetHashCode();
         hashCode = (hashCode * 397) ^ MeanCV.GetHashCode();
         hashCode = (hashCode * 397) ^ BelowCVCutoff.GetHashCode();
         return(hashCode);
     }
 }