示例#1
0
        public override bool Equals(object obj)
        {
            if (object.ReferenceEquals(this, obj))
            {
                return(true);
            }
            SpectrumReference other = obj as SpectrumReference;

            if (other == null)
            {
                return(false);
            }
            if (IsExternal)
            {
                return(spectrumID.Equals(other.spectrumID) && sourceFileID.Equals(other.sourceFileID));
            }
            else
            {
                return(spectrumID.Equals(other.spectrumID));
            }
        }
示例#2
0
 public Scan(SpectrumReference spectrumReference)
 {
     this.spectrumReference = spectrumReference;
 }
示例#3
0
 public Precursor(SpectrumReference spectrumReference)
 {
     this.spectrumReference = spectrumReference;
 }