コード例 #1
0
ファイル: TracerDefData.cs プロジェクト: zrolfs/pwiz
 public bool EqualMasses(TracerDefData other)
 {
     return(TracerSymbol.Equals(other.TracerSymbol) &&
            DeltaMass.Equals(other.DeltaMass) &&
            AtomCount.Equals(other.AtomCount) &&
            AtomPercentEnrichment.Equals(other.AtomPercentEnrichment));
 }
コード例 #2
0
ファイル: TracerDefData.cs プロジェクト: zrolfs/pwiz
 protected bool Equals(TracerDefData other)
 {
     return(string.Equals(TracerSymbol, other.TracerSymbol) &&
            string.Equals(Name, other.Name) &&
            DeltaMass.Equals(other.DeltaMass) &&
            AtomCount == other.AtomCount &&
            AtomPercentEnrichment.Equals(other.AtomPercentEnrichment) &&
            InitialEnrichment.Equals(other.InitialEnrichment) &&
            FinalEnrichment.Equals(other.FinalEnrichment) &&
            IsotopesEluteEarlier.Equals(other.IsotopesEluteEarlier) &&
            IsotopesEluteLater.Equals(other.IsotopesEluteLater));
 }