public override bool Equals(SkylineInputRow other)
 {
     if (other == null)
     {
         return(false);
     }
     if (!(other is PeptideDocNodeWrapper pepDocNode))
     {
         return(false);
     }
     return(ReferenceEquals(Node, pepDocNode.Node));
 }
Exemple #2
0
 public override bool Equals(SkylineInputRow other)
 {
     if (other == null)
     {
         return(false);
     }
     if (!(other is PeptidePrecursorNCE peptidePrecursorPair))
     {
         return(false);
     }
     return(ReferenceEquals(NodePep, peptidePrecursorPair.NodePep) &&
            ReferenceEquals(NodeGroup, peptidePrecursorPair.NodeGroup) &&
            NCE == peptidePrecursorPair.NCE);
 }