예제 #1
0
 public override int GetHashCode()
 {
     return
         (MaxMissedCleavages.GetHashCode()
          ^ InitiatorMethionineBehavior.GetHashCode()
          ^ MaxModificationIsoforms.GetHashCode()
          ^ MaxModsForPeptide.GetHashCode());
 }
예제 #2
0
        }                                                                    //used to look for unlabeled proteins (in addition to labeled proteins) for SILAC experiments

        public override bool Equals(object obj)
        {
            return(obj is DigestionParams a &&
                   MaxMissedCleavages.Equals(a.MaxMissedCleavages) &&
                   MinPeptideLength.Equals(a.MinPeptideLength) &&
                   MaxPeptideLength.Equals(a.MaxPeptideLength) &&
                   InitiatorMethionineBehavior.Equals(a.InitiatorMethionineBehavior) &&
                   MaxModificationIsoforms.Equals(a.MaxModificationIsoforms) &&
                   MaxModsForPeptide.Equals(a.MaxModsForPeptide) &&
                   Protease.Equals(a.Protease) &&
                   SearchModeType.Equals(a.SearchModeType) &&
                   FragmentationTerminus.Equals(a.FragmentationTerminus) &&
                   GeneratehUnlabeledProteinsForSilac.Equals(a.GeneratehUnlabeledProteinsForSilac));
        }
예제 #3
0
        public override bool Equals(object obj)
        {
            var a = obj as IDigestionParams;

            return(a != null &&
                   MaxMissedCleavages.Equals(a.MaxMissedCleavages) &&
                   MinPeptideLength.Equals(a.MinPeptideLength) &&
                   MaxPeptideLength.Equals(a.MaxPeptideLength) &&
                   InitiatorMethionineBehavior.Equals(a.InitiatorMethionineBehavior) &&
                   MaxModificationIsoforms.Equals(a.MaxModificationIsoforms) &&
                   MaxModsForPeptide.Equals(a.MaxModsForPeptide) &&
                   Protease.Equals(a.Protease) &&
                   SemiProteaseDigestion.Equals(a.SemiProteaseDigestion) &&
                   TerminusTypeSemiProtease.Equals(a.TerminusTypeSemiProtease));
        }