Exemplo n.º 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));
 }
Exemplo n.º 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);
 }