public bool Equivalent(TransitionLossKey other) { return(Equals(CustomIonEquivalenceTestValue, other.CustomIonEquivalenceTestValue) && other.Transition.Equivalent(Transition) && Equals(other.Losses, Losses) && Equals(other.ComplexFragmentIonName, ComplexFragmentIonName)); }
public bool Equals(TransitionLossKey other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.Transition, Transition) && Equals(other.Losses, Losses)); }
public bool Equals(TransitionLossKey other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.Transition, Transition) && Equals(other.Losses, Losses) && Equals(other.ComplexFragmentIonName, ComplexFragmentIonName)); }
public bool Equivalent(TransitionLossKey other) { return Equals(CustomIonEquivalenceTestValue, other.CustomIonEquivalenceTestValue) && other.Transition.Equivalent(Transition) && Equals(other.Losses, Losses); }
public bool Equals(TransitionLossKey other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other.Transition, Transition) && Equals(other.Losses, Losses); }
public TransitionEquivalentKey(TransitionGroupDocNode parent, TransitionDocNode nodeTran) { _nodeTran = nodeTran.Transition; _customIonEquivalenceTestText = new TransitionLossKey(parent, nodeTran, null).CustomIonEquivalenceTestValue; }
public TransitionKey(TransitionGroupDocNode nodeGroup, TransitionLossKey tranLossKey, IsotopeLabelType labelType) { var transition = tranLossKey.Transition; _ionType = transition.IonType; _customIonEquivalenceTestValue = tranLossKey.CustomIonEquivalenceTestValue; _ionOrdinal = transition.Ordinal; _massIndex = transition.MassIndex; _decoyMassShift = transition.DecoyMassShift; _charge = transition.Charge; _precursorCharge = nodeGroup.TransitionGroup.PrecursorCharge; _losses = tranLossKey.Losses; _labelType = labelType; }