public bool IsEquivelent(MemberDetails other) { var mySyntax = _details.ToList(); var otherSyntax = other._details.ToList(); if (mySyntax.Count != otherSyntax.Count) { return(false); } for (int i = 0; i < mySyntax.Count; i++) { if (!mySyntax[i].IsEquivelent(otherSyntax[i])) { return(false); } } return(true); }
public int CompareTo(MemberDetails other) { return(ToString().CompareTo(other.ToString())); }