protected ChromInfoData(MeasuredResults measuredResults, int replicateIndex, ChromFileInfo chromFileInfo, ChromInfo chromInfo)
 {
     MeasuredResults = measuredResults;
     ReplicateIndex  = replicateIndex;
     ChromFileInfo   = chromFileInfo;
     ChromInfo       = chromInfo;
 }
Beispiel #2
0
 protected ChromInfoData(MeasuredResults measuredResults, int replicateIndex, ChromFileInfo chromFileInfo, ChromInfo chromInfo, PeptideDocNode peptideDocNode, TransitionGroupDocNode transitionGroupDocNode)
 {
     MeasuredResults        = measuredResults;
     ReplicateIndex         = replicateIndex;
     ChromFileInfo          = chromFileInfo;
     ChromInfo              = chromInfo;
     PeptideDocNode         = peptideDocNode;
     TransitionGroupDocNode = transitionGroupDocNode;
 }
Beispiel #3
0
 public bool Equals(ChromInfo other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     // TODO: This is not very strong equality, since all FileIds are equal
     //       It would be better to check reference equality, but this would
     //       break document equality tests across serialization/deserialization
     //       At the momement, we rely on it being very unlikely that two
     //       peaks from different files are exactly equal.
     return(Equals(other.FileId, FileId));
 }