Exemplo n.º 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));
            }
        }
Exemplo n.º 2
0
 public Scan(SpectrumReference spectrumReference)
 {
     this.spectrumReference = spectrumReference;
 }
Exemplo n.º 3
0
 public Precursor(SpectrumReference spectrumReference)
 {
     this.spectrumReference = spectrumReference;
 }