예제 #1
0
 public override bool Equals(SkylineInputRow other)
 {
     if (other == null)
     {
         return(false);
     }
     if (!(other is PeptideDocNodeWrapper pepDocNode))
     {
         return(false);
     }
     return(ReferenceEquals(Node, pepDocNode.Node));
 }
예제 #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);
 }